@ceramicnetwork/blockchain-utils-linking
Version:
Blockchain utils for linking blockchain accounts to DID
17 lines • 779 B
TypeScript
/// <reference types="@zondax__filecoin-signing-tools" />
import { AuthProvider } from './auth-provider.js';
import { AccountId } from 'caip';
import { LinkProof } from './util.js';
import type { MessageParams } from '@zondax/filecoin-signing-tools';
export declare class FilecoinAuthProvider implements AuthProvider {
private readonly provider;
private readonly address;
readonly isAuthProvider = true;
constructor(provider: any, address: string);
accountId(): Promise<AccountId>;
authenticate(message: string): Promise<string>;
createLink(did: string): Promise<LinkProof>;
withAddress(address: string): AuthProvider;
}
export declare function asTransaction(address: string, message: string): MessageParams;
//# sourceMappingURL=filecoin.d.ts.map