Skip to content

Core Soroban smart contracts for TradeFlow: Decentralized Invoice Factoring & RWA Lending.

Notifications You must be signed in to change notification settings

lifewithbigdamz/TradeFlow-Core

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

TradeFlow-Core: Decentralized Trade Finance on Soroban

Build Status Soroban License

TradeFlow-Core is the smart contract layer for the TradeFlow protocol. It enables Real-World Asset (RWA) tokenization and decentralized factoring on the Stellar network.

๐Ÿ— Architecture

The system consists of two decoupled smart contracts:

  1. invoice_nft: A standard-compliant NFT representing a verified invoice. It holds metadata (IPFS hash, face value, currency, due date).
  2. lending_pool: An escrow vault where liquidity providers deposit stablecoins (USDC). It accepts invoice_nft as collateral to automate loan origination and repayment.

โ›“๏ธ Live Testnet Deployments

The following contracts are currently active for frontend integration and testing.

Contract Name Network Contract ID
Invoice NFT Testnet CCYU3LOQI34VHVN3ZOSEBHHKL4YK36FMTOEGLRYDUDRGS7JOLLRKCEQM
Lending Pool Testnet CDVJMVPLZJKXSJFDY5AWBOUIRN73BKU2SG674MQDH4GRE6BGBPQD33IQ
  • Network Passphrase: Test SDF Network ; September 2015
  • RPC Endpoint: https://soroban-testnet.stellar.org

๐Ÿš€ Quick Start

Prerequisites

  • Rust & Cargo (latest stable)
  • Stellar CLI v25.1.0+ (cargo install stellar-cli)
  • WASM Target: rustup target add wasm32v1-none

Build & Test

# Build all contracts (optimized for WASM)
stellar contract build

# Run the test suite
cargo test

About

Core Soroban smart contracts for TradeFlow: Decentralized Invoice Factoring & RWA Lending.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 96.4%
  • Makefile 3.6%