Soroban smart contracts for the TalentTrust decentralized freelancer escrow protocol on the Stellar network.
- Escrow contract (
contracts/escrow): Holds funds in escrow, supports milestone-based payments and reputation credential issuance.
- Rust (stable, 1.75+)
rustfmt:rustup component add rustfmt- Optional: Stellar CLI for deployment
# Clone (or you're already in the repo)
git clone <your-repo-url>
cd talenttrust-contracts
# Build
cargo build
# Run tests
cargo test
# Check formatting
cargo fmt --all -- --check
# Format code
cargo fmt --all- Fork the repo and create a branch from
main. - Make changes; keep tests and formatting passing:
cargo fmt --allcargo testcargo build
- Open a pull request. CI runs
cargo fmt --all -- --check,cargo build, andcargo teston push/PR tomain.
On every push and pull request to main, GitHub Actions:
- Checks formatting (
cargo fmt --all -- --check) - Builds the workspace (
cargo build) - Runs tests (
cargo test)
Ensure these pass locally before pushing.
MIT