Skip to content

generateSealKeypair

generateSealKeypair(): SealKeypair

Defined in: ootle/src/transaction.ts:103

Generate a fresh seal keypair (a thin wrapper over the WASM generateKeypair).

Exposed so a caller that needs the seal public key before sealing can fix the keypair once and thread the same public key through other signatures that hash with it (the stealth one-time authorizations — see signTransaction’s sealKeypair parameter). Keeps @tari-project/ootle-wasm out of the stealth/ module.

SealKeypair