Date: October 30, 2025 Status: LIVE on Solana Devnet
- Program Name: Hobba
- Program ID:
3p7j8mL7YcXw12voSKMfqxdPFgW5DMpCykyMQz7B6H9Z - IDL Account:
4H844nzNBnBsmHQxukULNhb4qWj42CC41TgCR3t3KNeH - Program Data:
GYKFwgxNWv47GncapA54ToeqEqSAHsbWMccPbrJfitJ2 - Upgrade Authority:
5dM54xjTdJYnaTUZaMNgP39QupisJzEh4d5iQDWXMGT9 - Deployment Slot: 418,166,451
- Program Size: 323,024 bytes (315.5 KB)
- Rent Balance: 2.24945112 SOL
- Signature:
4KQach2EBZNw7JfAeRD5nRM84scV6N6eSTEvvPYXCyAPeaPBqpV8kAKgsUVDpaKtwcL5uUTmPgeoB2A2MXkw2g3p
- Deployment Cost: ~2.28 SOL
- Balance After: 3.04 SOL
- Program: https://explorer.solana.com/address/3p7j8mL7YcXw12voSKMfqxdPFgW5DMpCykyMQz7B6H9Z?cluster=devnet
- Deployment TX: https://explorer.solana.com/tx/4KQach2EBZNw7JfAeRD5nRM84scV6N6eSTEvvPYXCyAPeaPBqpV8kAKgsUVDpaKtwcL5uUTmPgeoB2A2MXkw2g3p?cluster=devnet
- IDL Account: https://explorer.solana.com/address/4H844nzNBnBsmHQxukULNhb4qWj42CC41TgCR3t3KNeH?cluster=devnet
- Program: https://solana.fm/address/3p7j8mL7YcXw12voSKMfqxdPFgW5DMpCykyMQz7B6H9Z?cluster=devnet-alpha
Hobba is a Solana program that enables users to borrow against cbBTC collateral via the Kamino lending protocol, with advanced delegation capabilities.
initialize_position- Create user lending positionsdeposit_and_borrow- Deposit cbBTC collateral and borrowget_loan_health- View position health metricsrepay- Repay borrowed tokenscreate_delegation- Grant borrowing rights to special accountsupdate_delegation- Modify delegation settingsdelegated_borrow- Allow delegate to borrow on behalf of userdelegated_repay- Allow delegate to repay on behalf of user
-
UserPosition - Tracks lending positions (129 bytes)
- Owner, collateral, borrowed amount, timestamps
- Health factor calculations built-in
-
DelegationAuth - Manages delegation permissions (98 bytes)
- Delegate address, max borrow limit, active status
- Tracking of delegate borrowing activity
- Oracle Integration - Price feed handling (mock mode for safety)
- Token Validation - Production-ready SPL token validation
- Kamino CPI - Cross-program invocation helpers (placeholder mode)
Comprehensive error handling for all edge cases
- Returns $60,000 fixed price for testing
- Clearly logged in program output
- Safe for testing core logic without real price volatility
- Logs messages instead of actual cross-program calls
- No interaction with real Kamino protocol
- Safe for testing program structure
This allows you to test:
- ✅ Account creation and management
- ✅ State transitions
- ✅ PDA derivation and constraints
- ✅ Access control and authorization
- ✅ Delegation system
- ✅ Error handling
- ✅ Health calculations (with consistent prices)
Without risk of:
- ❌ Real money loss
- ❌ Unexpected Kamino interactions
- ❌ Oracle price manipulation issues
# Stream logs in real-time
solana logs 3p7j8mL7YcXw12voSKMfqxdPFgW5DMpCykyMQz7B6H9Z --url devnet# Check program status
solana program show 3p7j8mL7YcXw12voSKMfqxdPFgW5DMpCykyMQz7B6H9Z --url devnet# Run Anchor tests on devnet
anchor test --provider.cluster devnet --skip-local-validatorimport * as anchor from "@coral-xyz/anchor";
import { PublicKey } from "@solana/web3.js";
const connection = new anchor.web3.Connection(
"https://api.devnet.solana.com",
"confirmed"
);
const programId = new PublicKey("3p7j8mL7YcXw12voSKMfqxdPFgW5DMpCykyMQz7B6H9Z");
// Load program IDL and interact...- Create user positions
- Initialize delegations
- Update delegation parameters
- Activate/deactivate delegations
- Test state management
- Verify PDA constraints
- Check access controls
- Test all error conditions
- Health factor calculations (with mock prices)
- Mock oracle prices ($60,000 fixed)
- Kamino CPI calls are placeholders
- No real borrowing/lending occurs
- No real token transfers to Kamino
- ✅ Program is deployed and ready
- Use your devnet wallet to create positions
- Test delegation system
- Verify state management
- Check program logs on Explorer
See PRODUCTION_INTEGRATION.md:
- Add Pyth SDK for real oracle integration
- Add Kamino SDK for actual CPI calls
- Security audit
- Extensive devnet testing with real oracles
- Mainnet deployment
All verification checks ✅ PASSED:
- Program shows as "Deployed" on Explorer
- Solana CLI returns valid program info
- IDL account exists and contains interface
- Upgrade authority matches deployer wallet
- Program size matches build output
- Rent-exempt balance funded
| Item | Value |
|---|---|
| Program ID | 3p7j8mL7YcXw12voSKMfqxdPFgW5DMpCykyMQz7B6H9Z |
| Network | Solana Devnet |
| Keypair | target/deploy/hobba-keypair.json |
| Size | 315.5 KB |
| Instructions | 8 |
| State Accounts | 2 |
| Oracle Mode | Mock ($60k) |
| Kamino CPI | Placeholder |
- README: README.md
- Architecture: ARCHITECTURE.md
- Production Guide: PRODUCTION_INTEGRATION.md
- Rename Summary: RENAME_SUMMARY.md
- ✅ Testing core program logic
- ✅ Testing account structures
- ✅ Testing state management
- ✅ Testing delegation system
- ✅ Demonstrating functionality
- ❌ Real borrowing/lending operations
- ❌ Production oracle price feeds
- ❌ Actual Kamino protocol integration
- ❌ Mainnet deployment without production integration
- Initial devnet deployment
- Renamed from
kamino_borrowtohobba - New program ID generated
- Full feature set deployed
- Mock oracles enabled for safe testing
- Placeholder Kamino CPI for development
Deployed by: Upgrade Authority Wallet Network: Solana Devnet Status: ✅ LIVE and Verified
🎉 Hobba is ready for testing on devnet!