UNPKG

@didtools/pkh-ethereum

Version:

Implements support to authenticate, authorize and verify with Ethereum accounts as a did:pkh with SIWE(X) and CACAO. Primarly used with `did-session` and `@didtools/cacao`.

5 lines (4 loc) 284 B
import { AccountId } from 'caip'; export declare function safeSend(provider: any, method: string, params?: Array<any>): Promise<any>; export declare function encodeRpcMessage(method: string, params?: any): any; export declare function normalizeAccountId(input: AccountId): AccountId;