Docs
Overview
How BugLend is meant to work, and what this testnet build refuses to pretend.
Status
Testnet beta, unaudited
No market is listed. No rate, fee, LLTV, or term length is set. Do not treat a placeholder as a live figure.
The model
BugLend is a non-custodial lending interface. You connect a wallet. There is no account and no KYC step in this interface. The program in this repo is unaudited. It is not upgradeable by an agent key in this build. If an upgrade path exists later, it is a public decision with a timelock. That path is not built. Program id on this build: 8bncNkqDf6gbLDyM1ZUGc7WiPghgjvptx7JWqqVF73Mj. Devnet and localnet only.
The loan asset is existing USDC. This site issues no stablecoin and no token. $BUG is the brand ticker, not a live asset on this build.
Markets
Each market is isolated: one collateral, one loan asset, one rule set. A loss in a memecoin market cannot drain the next market. Deep assets in the plan are SOL, ETH, BTC, and HYPE. Memecoins in the plan are TRUMP, FARTCOIN, and PUMP. Naming them here is not a listing.
Supplying
A lender supplies the loan asset to one market. The supply rate is borrow interest, after utilization and the protocol fee. The formula is in the program. No production slope, fee, or optimal utilization is set, so this site says testnet instead of a percent.
Borrowing
A borrower locks collateral and draws the loan asset from that same market. The demo path is fixed term. Repay to release the collateral. If the loan is not repaid by the due date, the lender can claim the locked collateral. The day count is unset.
Liquidations
The program has two paths. A market can allow a price liquidation when loan-to-value crosses the LLTV stored on that market, using a Pyth price account. Or it can be due-date only. Neither path is a listing. No production LLTV, oracle feed, or liquidity floor is set in this repo. This page does not show a liquidation price. See Liquidations.
Fees and treasury
The program can take a cut of interest and sweep the loan token into two Solana token accounts: one labeled for SOL holdings and one for HYPE holdings. Those accounts are meant to supply liquidity later. This program does not buy HYPE and does not bridge. The fee percent is a parameter at init, not a production decision in this repo. No balance is shown. No funds move from this site.
Wallets
The connect modal lists Phantom, Rabby, Trust Wallet, Coinbase Wallet, Solflare, and Backpack, in that order. Phantom, Trust Wallet, Coinbase Wallet, Solflare, and Backpack call the Solana wallet adapter and request a Devnet connection. They do not send a transaction. If the extension is missing, the page says so. It does not fake a connection. Rabby is an EVM wallet; its row does not connect on Solana.
What is not set
- Production oracle feed and liquidity floor
- Production LLTV, liquidation bonus, rate slope, and fee
- Production fixed-term length
- Publishing entity and governing law
- External audit
- Mainnet deploy