This repository contains the on-chain logic for ShieldPoint, the privacy middleware for the Stellar Network. It leverages Protocol 25 (X-Ray) host functions to verify Zero-Knowledge Proofs (ZKP) natively.
- ZK-Verification: Uses
env.crypto().bn254_multi_pairing_check()for efficient proof validation. - Poseidon Hashing: Implements gas-optimized hashing for on-chain state commitments.
- Modular Proofs: Supports multiple circuit types (Proof of Balance, Proof of Residency, Proof of Age).
- Install Stellar CLI.
- Clone the repo:
git clone https://github.com/aura-protocol/shieldpoint-contract - Build:
stellar contract build - Test:
cargo test
- Implement BN254 Pairing Wrapper.
- Deploy Verifier Contract to Testnet.
- Integrate with SEP-10 Auth.