Skip to content

heymide/Talenttrust-Contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TalentTrust Contracts

Soroban smart contracts for the TalentTrust decentralized freelancer escrow protocol on the Stellar network.

What's in this repo

  • Escrow contract (contracts/escrow): Holds funds in escrow, supports milestone-based payments and reputation credential issuance.

Prerequisites

  • Rust (stable, 1.75+)
  • rustfmt: rustup component add rustfmt
  • Optional: Stellar CLI for deployment

Setup

# 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

Contributing

  1. Fork the repo and create a branch from main.
  2. Make changes; keep tests and formatting passing:
    • cargo fmt --all
    • cargo test
    • cargo build
  3. Open a pull request. CI runs cargo fmt --all -- --check, cargo build, and cargo test on push/PR to main.

CI/CD

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.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%