This repository contains the Soroban smart contracts for The Give Hub platform, enabling secure and transparent crowdfunding for remote communities.
contracts/
: Individual smart contractstests/
: Integration and unit testsscripts/
: Deployment and testing scripts
- Rust and Cargo
- Soroban CLI
- Stellar account for deployment
-
Install dependencies:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh cargo install soroban-cli
-
Build contracts:
cargo build --release
-
Run tests:
cargo test
-
Configure environment:
cp .env.example .env # Edit .env with your credentials
-
Deploy contracts:
./scripts/deploy.sh
Run integration tests:
cargo test --test test_full_flow
- All contracts are audited
- Multi-signature requirements for critical operations
- Comprehensive test coverage
- Fork the repository
- Create feature branch
- Submit pull request
- Ensure tests pass
MIT License