https://github.com/0xtarunkm/inrc-protocol
Rupee on the Blockchain.
https://github.com/0xtarunkm/inrc-protocol
Last synced: 3 months ago
JSON representation
Rupee on the Blockchain.
- Host: GitHub
- URL: https://github.com/0xtarunkm/inrc-protocol
- Owner: 0xtarunkm
- Created: 2024-10-20T10:58:57.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T07:50:30.000Z (8 months ago)
- Last Synced: 2025-01-17T14:55:08.166Z (5 months ago)
- Language: Rust
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# INRC Protocol
INRC is a Solana-based lending protocol that allows users to deposit SOL as collateral and mint USDC stablecoins. The protocol includes features like health factor monitoring, liquidations, and price feed integration with Pyth Oracle.
## Key Features
- Deposit SOL as collateral
- Mint USDC against collateral
- Dynamic health factor calculation using Pyth Oracle price feeds
- Liquidation mechanism for unhealthy positions
- Configurable parameters for risk management
- Fully on-chain lending and borrowing## Technical Architecture
### Core Components
1. **Config Account**: Stores protocol parameters
- Liquidation threshold
- Liquidation bonus
- Minimum health factor
- Authority
- Mint information2. **Treasury Account**: Manages user positions
- Collateral balance
- Minted amount
- User information
- Health metrics3. **Price Oracle**: Integrates with Pyth for real-time SOL/USD price feeds