UNPKG

@ceramicnetwork/blockchain-utils-linking

Version:

Blockchain utils for linking blockchain accounts to DID

19 lines 731 B
import { AccountId } from 'caip'; import { AuthProvider } from './auth-provider.js'; import { LinkProof } from './util.js'; import type { Signer } from '@taquito/taquito'; export declare const TEZOS_NAMESPACE = "tezos"; export declare const TEZOS_CHAIN_REF = "NetXdQprcVkpaWU"; export interface TezosProvider { signer: Signer; } export declare class TezosAuthProvider implements AuthProvider { private readonly provider; readonly isAuthProvider = true; constructor(provider: TezosProvider); authenticate(message: string): Promise<string>; createLink(did: string): Promise<LinkProof>; accountId(): Promise<AccountId>; withAddress(_address: string): AuthProvider; } //# sourceMappingURL=tezos.d.ts.map