Skip to content

Token with hidden balances and transfer amounts. Original repository, v3: mysteryon88/zkToken

License

Notifications You must be signed in to change notification settings

zk-examples/zkToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkToken

Token with hidden balances and transfer amounts.

Uses homomorphic balance encryption (Paye cryptosystem), the balances of the recipient and sender are homomorphically added and subtracted in the smart contract with the transfer amount calculated on the sender's side. The proof of computation is sent to the smart contract.

Technology stack

  • Solidity
  • Circom
  • Groth16
  • SnarkJS
  • paillier-bigint

Disclaimer

All Solidity and Circom code, practices and patterns in this repository are for educational purposes only.

DO NOT USE IN PRODUCTION.

About

Token with hidden balances and transfer amounts. Original repository, v3: mysteryon88/zkToken

Topics

Resources

License

Stars

Watchers

Forks