UNPKG

@waku/rln

Version:

RLN (Rate Limiting Nullifier) implementation for Waku

9 lines (6 loc) 387 B
import { BigNumber } from '../../bignumber/lib.esm/bignumber.js'; const NegativeOne = ( /*#__PURE__*/BigNumber.from(-1)); const Zero = ( /*#__PURE__*/BigNumber.from(0)); const One = ( /*#__PURE__*/BigNumber.from(1)); const MaxUint256 = ( /*#__PURE__*/BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); export { MaxUint256, NegativeOne, One, Zero };