WalletStealthAuthorizerOptions
Defined in: ootle/src/stealth/authorizer.ts:65
Options for WalletStealthAuthorizer.fromSpec.
Properties
Section titled “Properties”crypto?
Section titled “crypto?”
optionalcrypto?:StealthCryptoProvider
Defined in: ootle/src/stealth/authorizer.ts:82
Injectable crypto seam; defaults to WasmStealthCrypto. Tests pass a FakeStealthCrypto.
mustSignWithAccountKey?
Section titled “mustSignWithAccountKey?”
optionalmustSignWithAccountKey?:boolean
Defined in: ootle/src/stealth/authorizer.ts:77
Whether to append the account-key Schnorr signature when sealing. Defaults to true.
Set false to omit it (e.g. the account already authorized out-of-band).
viewSecret?
Section titled “viewSecret?”
optionalviewSecret?:Uint8Array<ArrayBufferLike>
Defined in: ootle/src/stealth/authorizer.ts:72
The owner/recipient 32-byte view secret, needed to unblind stealth inputs. Optional:
the revealed-only path never uses it; for stealth-input transfers it is taken here first,
else falls back to the wallet’s default signer getViewSecret?.() (only SecretKeyWallet
supplies one). If neither is available and there are stealth inputs, prepare throws.