Blue Finance docs

Blue is a lending protocol for tokenized US stocks on BNB Chain. One Aave V3 pool shares USDT liquidity across five bStocks. New borrowing follows the limits for each stock and US market session.

Why market hours matter

Tokenized stocks can trade while US exchanges are closed. The next stock-market print can arrive at a different price, and a split can change the price per displayed share without changing the value of the underlying position. Blue lowers new borrowing power outside regular hours, keeps liquidation rules fixed, and blocks new loans around halts and corporate actions.

Protocol at a glance

ComponentResponsibility
BluePoolOne Aave V3.6 pool with a shared USDT reserve and five collateral-only bStock reserves.
StockBorrowControlsSigned eligibility, keeper heartbeat, guardian hold and per-stock debt caps that gate new borrowing.
StockPriceSourcePrices each stock from Atlas with separate standards for liquidation and new borrowing. USDT is priced by Chainlink.
MarketCalendarGives each stock a market status from the US Eastern calendar, with bounded keeper and admin overrides.
LiquidationAave’s liquidation mechanism uses a threshold independent of the market calendar.

BNB Chain launch

The hackathon pool is deployed on BNB Smart Chain at 0xDAC47642621B0C3E4191Fe68281EddAC355f12bC. See every deployed contract and role. Open Earn, Borrow or Simplified Mode for live markets and wallet actions, or the simulator for a pre-funded walkthrough. These pages currently use a separate demo pool at 0xBee284aAFe856280D3212fe3260b81fE2702BE03 with test tokens.

Run the demo

Connect a wallet on BNB Smart Chain with the demo pool’s test USDT and BNB for gas. Supply a small amount, confirm the wallet requests, and watch the available liquidity and your bluUSDT balance update. Use Withdraw USDT to redeem it when the reserve has liquidity.

The demo pool was deployed with no liquidity. Borrowing also needs liquidity, a keeper that has completed the recovery window with fresh prices, and eligibility for the selected stock. Borrow and Risk show these gates. Leveraged borrowing in Simplified Mode uses the same demo pool, swapping test tokens at the oracle price through a demo swap contract. The simulator has a funded position and lets you demonstrate a borrow, halt and repayment immediately.

Source references