RAILGUN Reloaded
    Preparing search index...

    Full key material for a loaded wallet. Returned by loadWallet. Excludes the spending key by design (kept encrypted at rest; re-derived on demand by future signing APIs).

    type WalletContext = {
        walletId: string;
        name: string | null;
        railgunAddress: string;
        masterPublicKey: Uint8Array;
        viewingPublicKey: Uint8Array;
        viewingPrivateKey: Uint8Array;
        nullifyingKey: Uint8Array;
    }
    Index
    walletId: string

    Deterministic wallet ID derived from the mnemonic and the derivation index.

    name: string | null

    Display name of the wallet, or null when none was given.

    railgunAddress: string

    0zk address of the wallet, for any chain.

    masterPublicKey: Uint8Array

    Master public key of the wallet.

    viewingPublicKey: Uint8Array

    Viewing public key of the wallet.

    viewingPrivateKey: Uint8Array

    Viewing private key of the wallet. It decrypts the notes of the wallet.

    nullifyingKey: Uint8Array

    Nullifying key of the wallet. A nullifier is poseidon(nullifyingKey, leafIndex).