Skip to content

Invoice-Liquidity-Network/ILN-Smart-Contract

Repository files navigation

ILN Smart Contract

Soroban smart contracts for the Invoice Liquidity Network — a two-sided protocol on Stellar that connects invoice holders with liquidity providers.

Contracts

Contract Description
invoice_liquidity Core escrow: submit, fund, and settle invoices
iln_governance On-chain governance: proposals, voting, delegation
iln_distribution Yield distribution for LPs and freelancers
reputation_bonus Reputation-based discount bonuses

Documentation

Doc Description
SDK Integration Guide TypeScript examples for every contract interaction
Architecture System design, money flow, and security model
Contract ABI Function signatures and error codes
Events All emitted events and their payloads
Governance Proposal lifecycle and voting mechanics
Storage Layout On-chain storage key reference
Threat Model Security assumptions and known risks

Quickstart

# Build all contracts
cargo build --target wasm32v1-none --release

# Run tests
cargo test

# Run fuzz suite
cargo test -p iln_fuzz

See CONTRIBUTING.md for the full test and contribution guide.

Testnet

Contract ID: CD3TE3IAHM737P236XZL2OYU275ZKD6MN7YH7PYYAXYIGEH55OPEWYJC

See the SDK Integration Guide for TypeScript examples tested against this deployment.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages