Credentia is a peer-to-peer NFT lending protocol built on Solana, enabling NFT holders to unlock liquidity without selling their assets. Borrowers can use NFTs as collateral to receive tokens like SOL or USDC(in V2), while lenders earn interest or acquire the NFT if the borrower defaults. The platform focuses on full loan customizability, support for long-tail NFTs, and low fees, creating a more inclusive and efficient DeFi lending ecosystem.
Credentia empowers NFT holders to:
- Borrow against NFTs without liquidating them.
- Access liquidity for trading, real-life expenses, or participating in mints.
- Maintain asset ownership while leveraging financial flexibility.
Lenders can:
- Earn competitive yields through NFT-backed loans.
- Acquire NFTs at a discount in case of borrower default.
- Operate in a trustless, decentralized environment with Solana’s speed and low fees.
- Customizable Loans – Flexible terms for both borrowers and lenders.
- Broad NFT Support – Not limited to blue-chip collections; supports mid-tier and niche NFTs.
- Low Transaction Costs – Powered by Solana’s low fees and high throughput.
- Decentralized Matching Engine – Direct borrower-lender negotiation without centralized pools.
- Retail NFT Holders on Solana – Unlock liquidity without selling NFTs.
- DeFi-native Lenders & Yield Farmers – Earn interest or strategically acquire NFTs.
- NFT Collectors & Snipers – Target high-value NFTs for potential discounted acquisition.
- Treasury Managers & NFT Guilds – Leverage lending for treasury growth.
The protocol follows a trustless flow with on-chain smart contracts handling collateralization, loan disbursement, repayments, and defaults.
High-level flows:
-
Loan Initialization
- Borrower deposits NFT into smart contract.
- NFT verified for collection, ownership, and metadata.
-
Loan Acceptance
- Lender reviews and accepts loan terms.
- Loan funds sent to borrower; NFT held in escrow.
-
Repayment Flow
- Borrower repays principal + interest before deadline.
- NFT automatically returned.
-
Post-Default Recovery
- If borrower defaults, lender claims NFT from escrow.
-
High-level Overview:
- Refer to the Architectural Diagram for detailed visuals.
├── programs/ # Solana smart contracts (Rust + Anchor)
├── migrations/ # Program deployment scripts
├── tests/ # Protocol test cases
├── Anchor.toml # Anchor config
├── Cargo.toml # Rust dependencies
├── package.json # Frontend dependencies
└── README.md # Project documentation
- Blockchain: Solana
- Smart Contracts: Rust + Anchor Framework
- Frontend: TypeScript, React
- Wallet Integration: Phantom, Solflare
- Token Standards: SPL Tokens, Metaplex NFTs
- Clone the Repository
git clone https://github.com/Dev050x/Credentia.git cd Credentia - Install Dependencies
npm install
- Build Smart Contracts
anchor build
- Deploy to Devnet
anchor deploy
- Progam Id
74RfkJTR8xAGJZZfapADruyj8rfvAv1qQpaz2pVfFxdb
- IDL:
EGVwbaqAXaGUZ9E62HbDgHZp1XJZNp33eJ6MkX8zoSmt
