A delta-neutral DeFi trading system that captures funding rate arbitrage between spot and perpetual markets while maintaining verifiable risk constraints through RISC Zero zero-knowledge proofs.
The VRBCA (Verifiable Risk-Bound Basis Capture Agent) implements an institutional-grade basis capture strategy that:
- Captures funding rate spreads between perpetual and spot markets
- Maintains delta neutrality through coordinated hedging across venues
- Enforces immutable risk constraints via zero-knowledge proofs
- Provides transparent performance tracking for institutional investors
- Operates across multiple venues including Binance (CEX) and Uniswap V3 (DEX)
-
Install RISC Zero:
curl -L https://risczero.com/install | bash rzup install -
Install Foundry:
curl -L https://foundry.paradigm.xyz | bash foundryup
-
Demo the VRBCA system:
cargo run --bin app
-
Run the epoch orchestrator:
cargo run --bin vrbca-host -- --current-price 3500
-
Build all components:
cargo build && forge build
# Test Rust components
cargo test
# Test smart contracts
forge test -vvv
# Run integration tests
cargo test --package guests --test integration# Build guest programs
cargo build --package guests
# Build host applications
cargo build --package vrbca-app --package vrbca-host
# Build contracts
forge build- SPECIFICATIONS.md: Complete technical specifications and workflow diagrams
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
This software is provided for educational and research purposes. Trading cryptocurrencies involves substantial risk and may result in significant financial losses. The VRBCA system is experimental technology and should only be used by sophisticated investors who understand the risks involved. Always perform your own due diligence and consider consulting with financial advisors before making investment decisions.
Built with RISC Zero, Boundless Network, and Foundry for institutional-grade DeFi trading.