Skip to main content
Version: 2.0.0-beta-4

CircuitConfig

Use the default circuit config like so:

import { CircuitConfig } from '@unirep/circuits'
const {
STATE_TREE_DEPTH,
EPOCH_TREE_DEPTH,
HISTORY_TREE_DEPTH,
NUM_EPOCH_KEY_NONCE_PER_EPOCH,
FIELD_COUNT,
SUM_FIELD_COUNT,
REPL_NONCE_BITS,
} = CircuitConfig.default
info

See current deployment config: testnet-deployment