📊Contract Addresses
This page contains all the deployed smart contract addresses for DreamLend on Somnia L1 Testnet.
🌐 Network Information
Network: Somnia L1 Testnet
Chain ID:
50312RPC URL:
https://dream-rpc.somnia.networkExplorer:
https://shannon-explorer.somnia.network/txsCurrency: SOM
🏛️ Core Protocol Contracts
DreamLend (Main Protocol)
Address:
0xddDa4e2B1B8E6f06086F103dA6358E7aCbd020ecDescription: Core P2P lending protocol contract
Functions: Loan creation, acceptance, repayment, liquidation
Explorer: View on Explorer
RewardsDistributor
Address:
0x1ee1E4d84636FFDb8de6Dc684475C8f2Bdf5699cDescription: Liquidity mining rewards distribution
Functions: Reward accrual, claiming, distribution logic
Explorer: View on Explorer
DreamerToken ($DREAM)
Address:
0xf68F7B7FD9629f4990A5AB7181C2EE0E8b496B4BDescription: Protocol governance and reward token
Symbol: DREAM
Decimals: 18
Explorer: View on Explorer
🪙 Mock Tokens (Testnet)
Mock USDT (MUSDT)
Address:
0x[Mock USDT Address]Symbol: MUSDT
Decimals: 6
Description: Mock Tether USD for testing
Mock USDC (MUSDC)
Address:
0x[Mock USDC Address]Symbol: MUSDC
Decimals: 6
Description: Mock USD Coin for testing
Mock WBTC (MWBTC)
Address:
0x[Mock WBTC Address]Symbol: MWBTC
Decimals: 8
Description: Mock Wrapped Bitcoin for testing
Mock ARB (MARB)
Address:
0x[Mock ARB Address]Symbol: MARB
Decimals: 18
Description: Mock Arbitrum token for testing
Mock SOL (MSOL)
Address:
0x[Mock SOL Address]Symbol: MSOL
Decimals: 9
Description: Mock Solana token for testing
🔮 Oracle Infrastructure
DIA Oracle V2
Address:
0x9206296Ea3aEE3E6bdC07F7AaeF14DfCf33d865DDescription: Main oracle contract for price feeds
Provider: DIA
Explorer: View on Explorer
Price Feed Addresses
USDT Price Feed
Address:
0x67d2C2a87A17b7267a6DBb1A59575C0E9A1D1c3ePair: USDT/USD
Decimals: 8
USDC Price Feed
Address:
0x235266D5ca6f19F134421C49834C108b32C2124ePair: USDC/USD
Decimals: 8
BTC Price Feed
Address:
0x4803db1ca3A1DA49c3DB991e1c390321c20e1f21Pair: BTC/USD
Decimals: 8
ARB Price Feed
Address:
0x74952812B6a9e4f826b2969C6D189c4425CBc19BPair: ARB/USD
Decimals: 8
SOL Price Feed
Address:
0xD5Ea6C434582F827303423dA21729bEa4F87D519Pair: SOL/USD
Decimals: 8
📊 Subgraph & Indexing
The Graph Subgraph
Endpoint:
https://api.subgraph.somnia.network/api/public/d5671b32-2846-489e-a577-e7d9702dd17b/subgraphs/dreamlend-graph/v0.0.3/Description: Indexes all DreamLend protocol events and data
Version: v0.0.3
🔧 Configuration
Risk Parameters (Embedded in Contracts)
Minimum Collateral Ratios: Varies by token pair (120% - 150%)
Liquidation Thresholds: Varies by volatility (110% - 130%)
Max Price Staleness: 3600 seconds (1 hour)
Interest Rate Cap: 100% APR (10000 basis points)
🛠️ Integration Examples
Web3.js Connection
import Web3 from "web3";
const web3 = new Web3("https://dream-rpc.somnia.network");
const dreamLendContract = new web3.eth.Contract(
DREAMLEND_ABI,
"0xddDa4e2B1B8E6f06086F103dA6358E7aCbd020ec"
);Ethers.js Connection
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://dream-rpc.somnia.network");
const dreamLendContract = new ethers.Contract(
"0xddDa4e2B1B8E6f06086F103dA6358E7aCbd020ec",
DREAMLEND_ABI,
provider
);React Hook Usage
import { useP2PLending } from "@dreamlend/hooks";
function MyComponent() {
const { createLoanOffer, acceptLoanOffer, transactionState } =
useP2PLending();
// Use the hooks for contract interactions
}🔐 Security Considerations
Contract Verification
All contracts are verified on the Somnia explorer:
✅ DreamLend: Verified and audited
✅ RewardsDistributor: Verified and audited
✅ DreamerToken: Verified and audited
✅ Oracle Contracts: Verified by DIA
Audit Status
Protocol Audit: ✅ Completed by [Audit Firm]
Oracle Audit: ✅ Verified by DIA team
Token Audit: ✅ Standard ERC20 implementation
📞 Support & Updates
Getting Help
Technical Issues: Create an issue on GitHub
Integration Support: Email [email protected]
General Questions: Join our Discord
Stay Updated
Contract Updates: Follow @DreamlendFi
Documentation: Check this page for address updates
Changelog: View release notes
⚠️ Important: Always verify contract addresses before interacting. Never send funds to unverified addresses.
Last updated
