RAILGUN Reloaded
    Preparing search index...

    Proves a POI circuit. The width of inputs.nullifiers tells which one: 3 takes the 3x3 circuit, 13 takes the 13x13 circuit. The prover must hold both circuits: the shape of an unshield is known only after the solver runs, and the transaction is sent before this proof. The node verifies against the V2 POI artifact set at IPFS hash QmZ2MyM6TKxffkv6stuo2hFwmUfs3q4xgMYN164Sje8new: files circuits/03x03/zkey.br, circuits/03x03/vkey.json and prover/snarkjs/03x03.wasm.br, and the same files under 13x13. Source: https://gitlab.com/railgun-protocol/community/wallet/-/blob/dd5c5cc092da5bb2a51c3dc04180dca0389854b0/src/services/artifacts/artifact-util.ts#L13-L120

    type PoiProver = {
        prove(inputs: PoiCircuitInputs): Promise<{ proof: Groth16Proof }>;
    }
    Index
    • Generate a Groth16 proof of the POI circuit.

      Parameters

      • inputs: PoiCircuitInputs

        POI circuit inputs. The width of nullifiers selects the circuit.

      Returns Promise<{ proof: Groth16Proof }>

      The proof.