HackerNoon Mobile

Better reading experience on the app
How to Use Zero Knowledge Dapp Boilerplateby@heypran
3,694 reads

How to Use Zero Knowledge Dapp Boilerplate

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

We will be walking through a simple zk-dapp for age verification, that will allow users to prove that they are below a certain age without revealing their actual age. This is a fairly trivial problem to solve and may not necessarily require zero-knowledge proofs but to keep things simple and easy to understand we will go ahead with this idea. The dapp will be using a nextjs app to interact with the smart contract and take user input ( age) which is meant to be private and will not be published on-chain. The proof generation occurs on the frontend using [snarkjs].

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coins Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Use Zero Knowledge Dapp Boilerplate
Pran B. HackerNoon profile picture

@heypran

Pran B.


Receive Stories from @heypran

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!