Skip to content

zk-examples/zkToken

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

Resources

Stars

Watchers

Forks