← Explorer
Total TVL
across all protocols
Lock
time-locked BTC
Staking
5% APY
AMM Pool
BTC+stBTC liquidity
Lending
collateral locked
🔒 Lock.sol — Time-locked BTC Deposit
DEMO · Lock BTC for a set time — earn STAX points while locked. Funds are released automatically when the timer expires. Good for demonstrating Bitcoin time-locks on EVM.
Deposit & Lock
Withdraw After Unlock
📈 Staking — 5% APY
DEMO · Deposit BTC and earn 5% APY, accrued every second. Withdraw at any time — your balance grows automatically. No lock-up period.
Stake BTC
My Position
Staked
Pending Rewards
Actions
⇄ SimpleSwap AMM — BTC ↔ stBTC
DEMO · AMM x·y=k (Uniswap v2 style). 0.3% fee.   Spot:
BTC → stBTC
stBTC → BTC
Pool BTC:
Pool stBTC:
k =
💧 Liquidity Provision
Add BTC Liquidity
Add stBTC Liquidity
My BTC:
My stBTC:
🏦 Vault — ERC-4626 Yield-Bearing vBTC
DEMO · Deposit BTC → receive vBTC shares. Share price increases as yield is injected via addYield(). ERC-4626 style.
Total Assets
Total Shares
Share Price
Your vBTC
Your BTC Value
Deposit BTC → vBTC
Redeem vBTC → BTC
Inject Yield (Demo)
Increases share price for all vBTC holders
💰 Lending — BTC Collateral → Borrow stBTC
DEMO · Deposit BTC as collateral → borrow stBTC up to 75% LTV. Liquidation at 80% LTV. Oracle: 1 BTC = 1e8 stBTC sats.
Total Collateral
Total Debt
stBTC Liquidity
Oracle Price1 BTC = 1e8 sats
My Collateral
My Debt
Health Factor
Deposit Collateral (BTC)
Borrow stBTC
Max borrowable:
Repay stBTC
Withdraw Collateral
⚡ FlashLoan — Single-Tx stBTC Borrowing
DEMO · Borrow stBTC with zero collateral — as long as you repay in the same transaction. Fee: 0.09%. Used by DeFi protocols for arbitrage, liquidations, and collateral swaps. No risk to you if repaid.
Available Liquidity
Fee0.09% (9 BPS)
Total Fees Earned
TokenstBTC (satoshis)
Max Single Loan
Fee Calculator
• Borrow up to stBTC sats
• Call your contract's onFlashLoan()
• Do arbitrage / liquidation / etc.
• Return amount + fee before tx ends
✓ Trustless · atomic · no collateral