@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Interface ShieldedKeypairLike

    The ShieldedKeypairTrait surface: 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.

    interface ShieldedKeypairLike {
        signingPublicKey(): ShieldedPublicKey | Promise<ShieldedPublicKey>;
        viewingPublicKey(): X25519PublicKey | Promise<X25519PublicKey>;
        curve(): SignatureType | Promise<SignatureType>;
        shieldedAddress(): ShieldedAddress | Promise<ShieldedAddress>;
        ownerHash(): Bytes32 | Promise<Bytes32>;
        compressedAddress(): | CompressedShieldedAddress
        | Promise<CompressedShieldedAddress>;
        sign(message: Uint8Array): Bytes64 | Promise<Bytes64>;
        nullifier(utxoHash: Bytes32, blinding: Bytes32): Bytes32 | Promise<Bytes32>;
        nullifierPublicKey(): Bytes32 | Promise<Bytes32>;
        nullifierKey(): NullifierKey | Promise<NullifierKey>;
    }

    Implemented by

    Index