GitHunt
RI

ritik4ever/stellopay-core

a decentralized payroll system built on the Stellar blockchain using Soroban.

StellopayCore Documentation

Welcome to the comprehensive documentation for the StellopayCore smart contract - a decentralized payroll system built on the Stellar blockchain using Soroban.

Table of Contents

  1. API Documentation - Complete function reference
  2. Integration Guide - How to integrate with the contract
  3. Best Practices - Recommended patterns and practices
  4. Examples - Common use cases and code examples
  5. Developer Tools - CLI tools and utilities
  6. Architecture - System design and architecture

Quick Start

// Initialize contract
let contract = PayrollContract::new(&env);
contract.initialize(&env, &owner_address);

// Create payroll for an employee
let payroll = contract.create_or_update_escrow(
    &env,
    &employer_address,
    &employee_address,
    &token_address,
    &amount,
    &interval,
    &recurrence_frequency,
)?;

// Deposit tokens for salary payments
contract.deposit_tokens(&env, &employer_address, &token_address, &amount)?;

// Disburse salary
contract.disburse_salary(&env, &employer_address, &employee_address)?;

Key Features

  • Automated Payroll Management: Schedule and automate salary disbursements
  • Multi-Token Support: Support for any Stellar asset
  • Recurring Payments: Configurable payment intervals
  • Pause/Unpause: Emergency controls for contract operations
  • Employee Self-Service: Employees can withdraw their own salaries
  • Bulk Operations: Process multiple payments in a single transaction
  • Comprehensive Events: Full event logging for monitoring and analytics

๐Ÿ› ๏ธ Developer Tools

StellopayCore provides comprehensive developer tools to help developers:

CLI Tools

  • Contract Management - Deploy, initialize, and manage contracts
  • Payroll Operations - Create, update, and delete payroll entries
  • Payment Processing - Process individual and bulk payments
  • Monitoring & Analytics - Track contract performance and metrics

Getting Started

# Install CLI tool
cargo install stellopay-cli

See the Developer Tools and Integration Guide for detailed instructions.

Getting Help

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to contribute to the documentation.

Languages

Rust99.2%Shell0.7%Makefile0.1%
Created February 19, 2026
Updated February 19, 2026