Docs & Protocol Guide
A complete guide to the Velixir protocol — a reputation-powered lending system on Solana Devnet where digital trust is treated as real collateral.
Your Reputation Is Your Collateral
Velixir is a DeFi protocol that redefines lending. Instead of relying solely on traditional over-collateralization, Velixir uses a verified Trust Score to increase borrowing power and capital efficiency. A strong reputation raises your effective liquidation threshold — it never triggers liquidation by itself.
Reputation Borrowing
A Trust Score of 0–1000 raises your Effective Liquidation Threshold, lowering collateral requirements from 137.5% to 100%.
Capital Efficiency
Verified reputation acts as additional collateral — higher borrow power without traditional over-collateralization.
ZK-Identity Verifier
Real-world credit scores are verified via zk-SNARK (Plonky2) without revealing the user's true identity.
Market & Swap
Trade Solana Devnet tokens with real-time price feeds and charting through the Raydium SDK integration.
Liquidity & Staking
Provide liquidity and stake assets to strengthen your reputation profile while earning rewards.
Portfolio & Wallet
Monitor positions, health factors, and history in one dashboard. Connect Phantom/Solflare for on-chain use.
Getting Started
Connect Wallet
Connect Phantom or Solflare for real on-chain transactions on Solana Devnet. Other wallets run as a simulated session.
Fund Devnet SOL
Use the Airdrop button in the wallet menu or faucet.solana.com to get Devnet SOL for paying fees.
Build Reputation
Verify your credentials via ZK-Identity to raise your Trust Score, then borrow with lower collateral requirements.
Reputation Engine
Reputation Factor R = TrustScore / 1000. The Trust Score raises your Effective Liquidation Threshold (ELT) in a piecewise-linear way between the following anchors:
Linear interpolation between the two nearest anchors (e.g. score 600 → 86%, score 925 → 91%). A higher Trust Score → higher ELT → greater borrow power & capital efficiency.
Lending & Borrow
Max Borrow Power
A 5% safety buffer below the liquidation line:
MaxBorrow = Collateral × MaxBorrowLTV
Example: Collateral $10,000 · Score 850 → ELT 90% → MaxBorrow $8,500.
Liquidation Rule
Liquidation occurs if and only if:
No other trigger exists. The Trust Score never causes liquidation directly.
Borrow Health Monitor
Baseline safety from Collateral × 0.80 ÷ Debt. Liquidates at the 1.0× line.
Borrowing strength from Trust Score & verified credentials (R = Score / 1000).
Headline metric: (Collateral × ELT) ÷ Debt. Collateral strengthened by reputation.
Market & Swap
The Market module provides Solana Devnet token trading with lightweight-charts and swap routing via Raydium SDK v2. Price feeds are fetched through an internal API route, with a mock fallback when the endpoint is blocked.
Liquidity & Staking
Provide liquidity and stake assets to earn rewards while strengthening your on-chain reputation profile. Consistent staking activity contributes to your Trust Score, which in turn increases your borrow power in the Lending module.
ZK-Proof Architecture
Off-Chain Credentials
FICO score, KYC hash, bank links, & Web3 wallet history.
ZK Prover Client
Plonky2 builds the circuit to guarantee score validity privately.
On-Chain Verifier
The Solana Devnet verifier program validates the ZK proof.
Lending Protocol
ELT & LTV are recalibrated based on the verified score.
See the interactive ZK-Proof pipeline and circuit code inspector on the Project page.
Open System Architecture