paint-brush
How to Use Zero Knowledge Dapp Boilerplateby@heypran
4,080 reads
4,080 reads

How to Use Zero Knowledge Dapp Boilerplate

by Pran B.6mMay 16th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Pran B.

Pran B.

@heypran

Curiosity killed the Schrodinger's cat? or did it?

About @heypran
LEARN MORE ABOUT @HEYPRAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Pran B. HackerNoon profile picture
Pran B.@heypran
Curiosity killed the Schrodinger's cat? or did it?

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite