A token contract implementation that enables confidential transfers with zero-knowledge proofs while maintaining auditability.
contracts/token: Soroban smart contract implementing confidential token operationsclient: CLI tool for key management, proof generation, and contract interactioncrypto: Cryptographic library that implements the internal data structure with ElGamal encryption, and the proof system.
cargo build --releasecd contracts/token
make buildThe optimized WASM contract will be located at contracts/token/opt/confidential_token.wasm
cargo testExperience the full confidential transfer workflow:
cd contracts/token
cargo run --bin demo --features demoGenerate keys and interact with contracts:
cd client
cargo run --bin client -- --helpThese are work-in-progress.
docs/design_doc.md- system design and requirementsdocs/method.md- Cryptographic protocols and proof specifications