live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/wallet-adapter


@orangecheck/wallet-adapter / SignFn

Type Alias: SignFn

type SignFn = (message: string) => Promise<string>;

Defined in: types.ts:8

Every supported wallet produces a signature the same way from our API's perspective: we hand it a canonical message string, we get back a BIP-322 signature as a base64 or hex string.

Individual wallet shims translate their quirky APIs into this shape.

Parameters

ParameterType
messagestring

Returns

Promise&lt;string>