Dynamic Risk-Priced Credit Infrastructure for the Stellar Ecosystem
aura-contracts/ # Soroban smart contracts (Rust)
aura-backend/ # Risk engine & Horizon listener (Go)
aura-frontend/ # Dashboard UI (React/TypeScript)
cd aura-contracts
cargo build --target wasm32-unknown-unknownCore methods in lib.rs:
open_credit_line(borrower, initial_limit, initial_bps)- Initialize credit linedraw_credit(borrower, amount)- Draw against credit limitrepay_credit(borrower, amount)- Make paymentsupdate_risk_parameters(borrower, new_limit, new_bps, new_score)- Oracle-only risk updates
cd aura-backend
go run main.gocd aura-frontend
npm install
npm run devdocker-compose up -d- Transaction Velocity - Number of transactions over time
- Revenue Streams - Volume of verified inflows
- Repayment History - Past payment behavior
- Identity Verification - Identity Bond Protocol attestation