Boundless is a Soroban-based smart contract project that implements a comprehensive decentralized platform on the Stellar blockchain network. The platform supports multiple funding models including campaigns, grants, and hackathons, all with milestone-based tracking and management.
Integration with Trustless Work: Boundless leverages Trustless Work for secure, milestone-based stablecoin escrow payments, while our smart contract maintains comprehensive records and tracking of all activities. This hybrid approach provides the security of Trustless Work's escrow system with our detailed record-keeping and management capabilities.
- Contract ID:
CDBSJXFA4J4PALS2FKJYS22UEBDBOBDYLPJYRFPBEF6MLMJI7DOHSEE4 - Network: Testnet
- Status: Deployed and Active
- Deployment Date: Updated
You can view the contract on Stellar Expert: View Contract
- Campaigns: Traditional crowdfunding with milestone-based funding
- Grants: Grant programs with application tracking and winner selection
- Hackathons: Competition events with judging and prize distribution
- Milestone Management: Generic milestone system for all entity types
- Lifecycle Management: Complete entity lifecycle (create, complete, cancel)
- Participant Tracking: Backers, applicants, entries, and judges
- Winner Selection: Automated winner selection for grants and hackathons
- Record Keeping: Comprehensive tracking and state management
- Admin Controls: Administrative oversight for all operations
- Trustless Work Integration: Seamless escrow coordination for secure payments
- Rust (latest stable version)
- Soroban CLI
- Stellar development environment
.
├── contracts/
│ └── boundless/ # Main contract implementation
│ ├── src/
│ │ ├── lib.rs # Contract entry point
│ │ ├── interface.rs # Contract interface definitions
│ │ ├── datatypes.rs # Data structures and types
│ │ └── logic/ # Core business logic modules
│ │ ├── mod.rs # Module declarations
│ │ ├── admin.rs # Admin operations
│ │ ├── campaign.rs # Campaign management
│ │ ├── grant.rs # Grant management
│ │ ├── hackathon.rs # Hackathon management
│ │ └── milestone.rs # Milestone operations
│ ├── Cargo.toml # Contract dependencies
│ └── Makefile # Build automation
├── docs/ # Documentation
│ └── CONTRACT.md # Detailed contract documentation
├── CONTRIBUTING.md # Contribution guidelines
├── CONTRIBUTORS.md # List of contributors
└── README.md
-
Clone the repository:
git clone git@github.com:boundlessfi/boundless-contract.git cd boundless -
Build the project:
cd contracts/boundless make build
- New contracts should be added to the
contractsdirectory - Each contract has its own directory with a
Cargo.tomlfile - Contracts inherit dependencies from the workspace-level
Cargo.toml
The project uses Soroban SDK for smart contract development. The main contract implements:
- Campaign Management: Create, fund, and track crowdfunding campaigns
- Grant Management: Handle grant applications and winner selection
- Hackathon Management: Organize competitions with judging and scoring
- Milestone Management: Generic milestone system for all entity types
- Lifecycle Management: Complete entity lifecycle control
- Participant Tracking: Manage backers, applicants, entries, and judges
- Admin Operations: Administrative controls and oversight
- Record Keeping: Comprehensive tracking and state management
- Escrow Coordination: Integration with Trustless Work for secure payments
cargo build --target wasm32v1-none --releasecargo testThe contract is automatically deployed using GitHub Actions workflows. The deployment process includes:
- Code verification and formatting checks
- Building the contract
- Deploying to the Stellar testnet
- Upgrading existing contracts when needed
For manual deployment, use the following command:
./deploy_and_upgrade.sh deploy testnet YOUR_SECRET_KEYThe project uses the following optimization settings for release builds:
- Maximum optimization level
- Overflow checks enabled
- Debug symbols stripped
- Link-time optimization enabled
- Single codegen unit for better optimization
- Entity Types: Campaign, Grant, Hackathon
- Status Management: Active, Completed, Failed, Cancelled
- Milestone Status: Pending, Approved, Rejected, Released
- Participant Types: Backers, Applicants, Entries, Judges
- Entity collections (Campaigns, Grants, Hackathons)
- Individual entity data
- Entity-specific participant data
- Admin and system configuration
- Comprehensive error types for all operations
- Soroban-compatible error reporting
- Clear error messages for debugging
Our smart contract maintains comprehensive records of:
- Entity Lifecycle: Campaign, grant, and hackathon states and transitions
- Participant Data: Backers, applicants, entries, judges, and their activities
- Milestone Progress: Status tracking and approval workflows
- Winner Selection: Grant and hackathon winner determination
- Admin Actions: Administrative oversight and control operations
Trustless Work provides:
- Secure Escrow: Non-custodial milestone-based payments
- Stablecoin Support: Multi-chain stablecoin escrow capabilities
- Payment Security: Audited escrow smart contracts
- API Integration: Easy integration with existing applications
- Boundless: Record keeping, participant management, lifecycle control
- Trustless Work: Secure payment escrows, fund custody, milestone releases
- Combined: Complete platform with security and comprehensive tracking
We welcome contributions from everyone! Please read our Contributing Guidelines for details on how to submit pull requests, report issues, and contribute to the project.
Check out our Contributors page to see the amazing people who have helped make this project possible.
MIT License
- GitHub: @0xdevcollins
- Project Link: https://github.com/0xdevcollins/boundless