Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stellar Confidential Transfer

A token contract implementation that enables confidential transfers with zero-knowledge proofs while maintaining auditability.

Project Structure

  • contracts/token: Soroban smart contract implementing confidential token operations
  • client: CLI tool for key management, proof generation, and contract interaction
  • crypto: Cryptographic library that implements the internal data structure with ElGamal encryption, and the proof system.

Building

Build All Components

cargo build --release

Build Contract

cd contracts/token
make build

The optimized WASM contract will be located at contracts/token/opt/confidential_token.wasm

Run Tests

cargo test

Usage

Interactive Demo

Experience the full confidential transfer workflow:

cd contracts/token
cargo run --bin demo --features demo

Command-Line Client

Generate keys and interact with contracts:

cd client
cargo run --bin client -- --help

Documentation

These are work-in-progress.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages