RAILGUN Reloaded
    Preparing search index...

    RAILGUN Reloaded

    RAILGUN Reloaded is a set of TypeScript packages for the RAILGUN privacy protocol on EVM chains. Each package has one concern. Low packages give primitives: bytes, hashes, curves, merkle trees, and addresses. High packages compose them: @railgun-reloaded/wallet-sdk creates wallets, syncs, and builds transactions.

    This reference documents every export of every package, generated from the source. Each package page starts with the README of the package.

    Package Content
    @railgun-reloaded/bytes Byte, hex, and bigint conversion helpers. No dependencies.
    @railgun-reloaded/cryptography Cryptographic primitives: keccak256, sha256, Poseidon, EdDSA on Baby Jubjub, and AES.
    @railgun-reloaded/curves Baby Jubjub, Poseidon, and EdDSA-Poseidon with few dependencies. Subpaths /babyfrost, /trusted-dkg, /manager.
    @railgun-reloaded/merkle-tree Merkle tree implementations that RAILGUN uses.
    @railgun-reloaded/0zk-addresses Encode and decode 0zk addresses.
    @railgun-reloaded/contract-abis ABIs of the RAILGUN contracts.
    Package Content
    @railgun-reloaded/prover Groth16 proofs for the RAILGUN transaction circuits and the POI circuits. Subpaths /node, /browser.
    @railgun-reloaded/ipfs-artifact-fetcher Fetch and store circuit artifacts from IPFS. Subpath /definitions.
    Package Content
    @railgun-reloaded/subsquid-client Typed client for the RAILGUN Subsquid GraphQL API.
    @railgun-reloaded/scanner Block sources (Subsquid, RPC, custom GraphQL, snapshot) and the SourceAggregator that combines them.
    @railgun-reloaded/snapshot Immutable snapshots of RAILGUN events for a fast first sync. Subpath /node.
    @railgun-reloaded/storage SQLite persistence through Drizzle ORM. Subpaths /node, /browser.
    Package Content
    @railgun-reloaded/wallet-node HD wallet keys and notes. Subpath /token-type.
    @railgun-reloaded/balance-scanner Finds and tracks the notes that a wallet owns.
    @railgun-reloaded/utxo-manager Selects the notes that a transaction spends.
    @railgun-reloaded/wallet-sdk The top-level client, RailgunClient. Subpaths /node, /browser.
    Package Content
    @railgun-reloaded/broadcaster-client Read broadcaster fee quotes and send transact requests over Waku. Subpath /node.
    • /llms.txt: the index of every page as Markdown, in the llms.txt format.
    • /llms-full.txt: all guides and the full API reference in one Markdown file.
    • /md/: a Markdown copy of each page.