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

@orangecheck/pledge-core


@orangecheck/pledge-core / Bip322Signer

Interface: Bip322Signer

Defined in: pledge-core/src/types.ts:225

A signer adapter — the caller wires their wallet of choice. Returns a base64 BIP-322 signature over the UTF-8 bytes of the supplied message. address is the Bitcoin address the wallet signs for.

Properties

PropertyTypeDefined in
<a id="property-address"></a> addressstringpledge-core/src/types.ts:226
<a id="property-signmessage"></a> signMessage(msg: string) => Promise&lt;string>pledge-core/src/types.ts:227