StaticgenerateGenerates an Ed25519 signing identity by default, the rail supported by
the lean SDK's registration and ordinary transaction builders. Both role
keys expand from the signing key's derivation seed, like Rust's
new_ed25519.
StaticfromMirrors Rust's ShieldedKeypair::from_keypair.
StaticwithMirrors Rust's ShieldedKeypair::with_viewing_key: same derivation as
fromKeypair with a shared viewing key in place of the derived one; the
nullifier key is still derived from the signing key, so no argument can
detach it.
An owned copy for proof completion; the recipient must destroy it.
The rail this keypair signs on, which selects the transfer circuit.
The nullifier public key, so a caller can build inputs without the secret.
The Solana signer for this identity, so one seed pays fees and owns the
private balance. Mirrors Rust's to_solana_keypair.
Kit builds its own signers through WebCrypto and can only do so
asynchronously. This one signs with the same Ed25519 the shielded keys
already use, which keeps construction synchronous, and signTransactions still
returns a promise because Kit's interface demands one.
The signing key supplies the Solana identity and authorizes transactions.
The viewing public key, matching ViewingKeyTrait::pubkey for Rust's
ShieldedKeypair. Prefer ShieldedKeypair.viewingPublicKey when the
call site is not going through ViewingKeyLike.
The
ShieldedKeypairTraitsurface: signing identity, address derivation, spend signing, and nullifier derivation. Every operation may be asynchronous so an HSM- or wallet-backed implementer can satisfy it. View-tag derivation and UTXO encryption live on ViewingKeyLike; a backend exposes both.An implementer must hold nullifier-key material. A custodian that exposes a signing operation alone is not a supported configuration.