@lelantos-org/sdk / index / ConnectKeyOptions
Type Alias: ConnectKeyOptions โ
ts
type ConnectKeyOptions =
| Only<{
account?: number;
mnemonic: string;
passphrase?: string;
}, KeyOptionKeys>
| Only<{
signature: string;
}, KeyOptionKeys>
| Only<{
nsk: bigint;
}, KeyOptionKeys>;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:36
How the shielded spending key is derived โ pick at most one shape.
mnemonicโ BIP-39 phrase, ZIP-32 derived. The portable option.signatureโ hex of the canonical EIP-712 message, for wallet-derived keys where the user already signed (seekeys/metamask.ts).nskโ pre-derived nullifier spending key; derivation is the caller's.
Omitting all three is valid when the chain layer can derive one โ see SelfKeyingChainOptions.