bignumber with <254-bit max size. Anchor serialization doesn't support native
bigint yet, so we wrap BN. This wrapper has simple base10 encoding which is
needed for zk circuit compat, in addition to the base58 encoding that users
are used to from working with the web3.js PublicKey type.
bignumber with <254-bit max size. Anchor serialization doesn't support native bigint yet, so we wrap BN. This wrapper has simple base10 encoding which is needed for zk circuit compat, in addition to the base58 encoding that users are used to from working with the web3.js PublicKey type.