Developer Guide

identity/claims/keybase

Index

Variables

Functions

Variables

Const keybaseFilePathToProof

keybaseFilePathToProof: ".well-known/celo/" = .well-known/celo/

Defined in contractkit/src/identity/claims/keybase.ts:8

Functions

Const createKeybaseClaim

createKeybaseClaim(username: string): KeybaseClaim

Defined in contractkit/src/identity/claims/keybase.ts:61

Parameters:

Name

Type

username

string

Returns: KeybaseClaim

Const proofFileName

proofFileName(address: Address): string

Defined in contractkit/src/identity/claims/keybase.ts:9

Parameters:

Name

Type

address

Address

Returns: string

Const targetURL

targetURL(username: string, address: Address): string

Defined in contractkit/src/identity/claims/keybase.ts:10

Parameters:

Name

Type

username

string

address

Address

Returns: string

verifyKeybaseClaim

verifyKeybaseClaim(kit: ContractKit, claim: KeybaseClaim, signer: Address): Promise‹string | undefined›

Defined in contractkit/src/identity/claims/keybase.ts:15

Parameters:

Name

Type

kit

ContractKit

claim

KeybaseClaim

signer

Address

Returns: Promise‹string | undefined›