ZK Commitable NFT

Commit to a hidden subset of your owned NFTs for on chain gaming!

ZK Commitable NFT

Created At

Road to Web3

Project Description

The project uses zk proofs, merkle trees, and erc721s to commit to a hidden token that the user owns. The token may be revealed at a later time. The project is bare bones and is intended to be used as a building block for more complex use cases, such as on chain gaming where attributes must remain hidden.

How it's Made

Using a circom circuit to prove that a hidden token id is contained within a merkle root of the prover's owned tokens, then the circuit constructs a new merkle root containing the committed token ids. The proof is verified onchain and the new merkle root is stored in a mapping from the prover's address.

background image mobile

Join the mailing list

Get the latest news and updates