QuickLendX is a decentralized invoice financing protocol built on Stellar's Soroban platform. It enables businesses to access working capital by selling their invoices to investors through a transparent, secure, and efficient blockchain-based marketplace.
QuickLendX revolutionizes invoice financing by leveraging blockchain technology to create a trustless, efficient marketplace where:
- Businesses can upload verified invoices and receive immediate funding from investors
- Investors can discover, evaluate, and bid on invoices with competitive rates
- All parties benefit from automated escrow, transparent audit trails, and comprehensive analytics
Built on Stellar's Soroban smart contract platform, QuickLendX provides enterprise-grade features including KYC/verification, dispute resolution, insurance options, and comprehensive reportingβall while maintaining the security and transparency of blockchain technology.
- Small and Medium Businesses (SMBs): Companies seeking flexible working capital solutions without traditional banking constraints
- Investors: Individuals and institutions looking for alternative investment opportunities with transparent risk assessment
- DeFi Enthusiasts: Users interested in decentralized finance applications on the Stellar network
- Developers: Contributors looking to build on or extend the QuickLendX protocol
quicklendx-protocol/
βββ quicklendx-contracts/ # Soroban smart contracts (Rust)
β βββ src/ # Contract source code
β βββ Cargo.toml # Rust dependencies
β βββ README.md # Contracts documentation
β
βββ quicklendx-frontend/ # Next.js web application
βββ app/ # Next.js app directory
βββ package.json # Node.js dependencies
βββ README.md # Frontend documentation
- Rust (1.70+): Install via rustup
- Node.js (18+): Download
- Stellar CLI (23.0.0+): Installation Guide
- Git: Download
- Clone the repository
git clone https://github.com/your-org/quicklendx-protocol.git
cd quicklendx-protocol- Set up Smart Contracts
cd quicklendx-contracts
cargo build
cargo test- Set up Frontend
cd ../quicklendx-frontend
npm installCreate a .env file in quicklendx-contracts/ (optional for local development):
# Network Configuration
NETWORK=testnet
CONTRACT_ID=your_contract_id_here
# Account Configuration
ADMIN_ADDRESS=your_admin_addressCreate a .env.local file in quicklendx-frontend/:
# API Configuration
NEXT_PUBLIC_CONTRACT_ID=your_contract_id_here
NEXT_PUBLIC_NETWORK=testnet
NEXT_PUBLIC_RPC_URL=https://soroban-testnet.stellar.org:443stellar-cli network startcd quicklendx-contracts
cargo build --target wasm32-unknown-unknown --release
stellar-cli contract deploy \
--wasm target/wasm32-unknown-unknown/release/quicklendx_contracts.wasm \
--source admincd quicklendx-frontend
npm run devOpen http://localhost:3000 in your browser.
The contract must stay within the network deployment size limit (256 KB). You can run the script and/or the integration test:
Option 1 β Script (builds with Stellar CLI or cargo):
cd quicklendx-contracts
./scripts/check-wasm-size.shOption 2 β Integration test (builds with cargo, then asserts size):
cd quicklendx-contracts
cargo test wasm_release_build_fits_size_budgetBoth build the contract for Soroban (release, no test-only code) and fail if the WASM exceeds 256 KB. CI runs the script on every push/PR.
cd quicklendx-contracts
cargo testcd quicklendx-frontend
npm run test # If tests are configured
npm run lint# Configure for testnet
stellar-cli network testnet
# Deploy contract
stellar-cli contract deploy \
--wasm target/wasm32-unknown-unknown/release/quicklendx_contracts.wasm \
--source <YOUR_ACCOUNT> \
--network testnetstellar-cli contract deploy \
--wasm target/wasm32-unknown-unknown/release/quicklendx_contracts.wasm \
--source <DEPLOYER_ACCOUNT> \
--network mainnet- Smart Contracts Documentation: Comprehensive guide to the Soroban contracts
- Frontend Documentation: Frontend setup and development guide
- Contributing Guide: How to contribute to the project
- GitHub Repository
- Issue Tracker
- Discord Community (if available)
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Frontend β β Soroban β β Stellar β
β (Next.js) βββββΊβ Smart βββββΊβ Network β
β β β Contracts β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β
βββββββββββββββββββ
β Core Modules β
β β
β β’ Invoice β
β β’ Bid β
β β’ Payment β
β β’ Verification β
β β’ Audit β
β β’ Analytics β
βββββββββββββββββββ
- β Invoice Management: Upload, verify, and manage business invoices
- β Bidding System: Competitive bidding with ranking algorithms
- β Escrow Management: Secure fund handling through smart contract escrows
- β KYC/Verification: Business and investor verification with risk assessment
- β Audit Trail: Complete transaction history and integrity validation
- β Analytics & Reporting: Comprehensive metrics and business intelligence
- β Dispute Resolution: Built-in dispute handling and resolution
- β Insurance Options: Investment protection mechanisms
- β Multi-currency Support: Handle invoices in various currencies
- β Notification System: Real-time updates for all parties
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Add tests and ensure they pass
- Update documentation
- Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Automated checks must pass (tests, linting)
- Code review by maintainers
- Security review for critical changes
- Documentation updates required
- Rust 1.70+
- Stellar CLI 23.0.0+
- WASM target:
wasm32-unknown-unknownorwasm32v1-none(Soroban) - WASM size budget: 256 KB (enforced in CI and via
quicklendx-contracts/scripts/check-wasm-size.sh)
- Node.js 18+
- npm or yarn
- Modern browser with Web3 support
cd quicklendx-contracts
cargo test
cargo test --profile release-with-logs # With debug loggingcd quicklendx-frontend
npm run test
npm run lint
npm run build # Production build testThis project is licensed under the MIT License - see the LICENSE file for details.
- Your Name - Initial work
- Documentation: Check the contracts README and frontend README
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Built with β€οΈ on Stellar's Soroban platform