Skip to main content
Version: 2.0.0-beta-2

Constants

SNARK_SCALAR_FIELD

A decimal string representing the field prime.

import { SNARK_SCALAR_FIELD } from '@unirep/utils'

F

A bigint representation of the field prime.

import { F } from '@unirep/utils'

MAX_EPOCH

A number representation of the maximum epoch value. Equivalent to 2**48-1.

import { MAX_EPOCH } from '@unirep/utils'