RAILGUN Reloaded
    Preparing search index...

    The full set of RAILGUN key material derivable from a mnemonic, plus the deterministic wallet ID and 0zk address. Does not include the spending key — that stays encrypted at rest and is re-derived on demand by signing APIs.

    type WalletKeys = {
        walletId: string;
        railgunAddress: string;
        masterPublicKey: Uint8Array;
        viewingPublicKey: Uint8Array;
        viewingPrivateKey: Uint8Array;
        nullifyingKey: Uint8Array;
    }
    Index
    walletId: string

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

    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).