Payroll smart contracts supporting automated salary distribution, milestone-based payments and financial escrow on the Stellar network using Soroban. VestRoll is a Payroll management platform built for modern businesses. it provides a smooth experience for managing contracts, team members, and financial operations. By leveraging the Stellar configuration, VestRoll ensures fast, low-cost, and secure stablecoin interactions, making global payroll efficient and accessible.
- Language: Rust (Soroban)
- Framework: Soroban SDK 22.0.0
- Testing: Rust test framework (
cargo test) - Networks: Stellar Mainnet, Testnet, Futurenet
- Tools: Stellar CLI
vestroll-contract/
└── vestroll-soroban/
├── contracts/
│ ├── common/ # Shared types, enums, and utility structures
│ ├── vault/ # Stablecoin escrow and payout logic
│ ├── lifecycle/ # Contract management (Fixed, Milestone, PAYG)
│ └── profile/ # Organization and Worker identity/roles
└── Cargo.toml # Workspace configuration
A library crate containing shared data structures used across all contracts. It defines ContractType, ContractStatus, and ContractMetadata.
Handles the financial core of the system.
- Escrow: Securely holds stablecoins (USDC/USDT).
- Payouts: Executes transfers to employees/contractors based on authorized triggers.
Manages the business logic of payroll agreements.
- Supports Fixed Rate, Milestone, and Pay-as-you-go flows.
- Tracks contract state and transitions.
Manages the decentralized identity of participants.
- Organizations: Handles employer entities and their administrative roles.
- Workers: Manages employee/contractor profiles and linked wallet addresses.
- Global Enterprises: Companies with distributed teams needing seamless cross-border payroll.
- DAO & Web3 Organizations: Native crypto organizations requiring fiat and stablecoin payroll solutions.
- Freelancers & Contractors: Individuals seeking transparent, instant, and low-fee payments.
VestRoll plays a pivotal role in the Stellar ecosystem by:
- Driving Real-World Utility: Moving beyond speculation to practical, high-volume stablecoin use cases (Payroll).
- Highlighting Efficiency: Showcasing Stellar's speed and low fees for frequent, small-to-large value transactions.
-
Clone the repository:
git clone https://github.com/SafeVault/vestroll-contract.git cd vestroll-contract/vestroll-soroban -
Build the contracts:
stellar contract build
-
Run tests:
cargo test