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

    Function signedToField

    • A signed public amount as the field element a proof's public inputs carry: a negative amount wraps around the BN254 modulus. Rust takes an i64, so the range check here stands in for the type.

      Parameters

      • value: bigint

      Returns Bytes32