UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

11 lines (10 loc) 474 B
export declare const buf2hex: (buffer: ArrayBufferLike) => string; export declare const base64urlDecode: (s?: string) => Uint8Array; export declare const compressRawPublicKey: (rawPublicKey: ArrayBuffer) => ArrayBufferLike; export declare const p256Keygen: () => Promise<{ private: string; privateJwk: JsonWebKey; public: string; publicUncompressed: string; }>; export declare const p256Sign: (privateKeyJwk: JsonWebKey, message: string) => Promise<string>;