Smart contracts for managing grant streams with milestone completion proof hashing and integrated dispute resolution system.
This repository contains multiple implementations for grant management:
- Soroban (Stellar) Implementation: High-precision per-second streaming with legal anchoring and cross-chain interoperability.
- Solidity (Ethereum/L2) Implementation: Milestone-based releasing with integrated dispute resolution and ZK proofs.
Located in contracts/grant_stream/.
- Per-Second Accrual: High-precision streaming logic using scaling factors.
- Legal Anchoring: Prevent fund streaming until legal documents are cryptographically signed on-chain.
- Cross-Chain Interoperability: Compact byte-array status emission for bridge monitoring.
- Wrapped Asset Security: Emergency halts and security buffers for non-native assets.
- Yield Treasury: Integration with external yield aggregators for capital efficiency.
# Build
stellar contract build
# Test
cargo testLocated in foundry/.
- Arbitration Escrow: Secure fund holding during disputes with third-party arbitrators.
- ZK Proof Verification: Anonymous verification of grant conditions.
- Milestone Hashing: SHA-256 proof submission for deliverables.
# Build
forge build
# Test
forge testPlease follow the contribution guidelines and ensure all tests pass before submitting pull requests.
MIT License