Testnet beta, unaudited
Login Markets Lend Borrow Positions Bank Docs Liquidations Support

Docs

Overview

How BugLend is meant to work, and what this testnet build refuses to pretend.

Status

Testnet beta, unaudited

No market is listed.

The model

BugLend is a non-custodial lending interface. You connect a wallet. The bank page can save a name and a vault choice in this browser. That record is not a custodial account, not a chartered bank, and not a KYC step. 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 one asset’s market cannot drain the next market. BugLend is built for any tokenized asset as collateral: tokenized stocks, portfolios, memecoins, and NFTs. Nothing here is listed on this testnet build. 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.

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.

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. This page does not show a liquidation price. See Liquidations.

Your bank

The bank page saves a name, a vault choice, and a short history in this browser. Bug on that page reads that record and does not call a model API. Balance and returns stay empty until a vault exists. Quarterly distributions vary with revenue, scale, and volume. No amount is listed. Affiliates and brand ambassadors are named programs. Their share is not named. A supply is meant to be able to back a borrow. That path is not live. Fees on this build do not pay a borrower's interest.

Fees and treasury

The program can take a cut of interest and sweep the loan token. An older account field is still named fee_hype_vault. That name is not a HYPE treasury. The vault on this product is SOL and USDC only. This page does not send fees to a HYPE vault. The fee percent is a parameter at init, not a production decision. 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
  • Bank price, quarterly amount, and affiliate share
  • Borrow against a supplied vault
  • External audit
  • Mainnet deploy