FlashBank Router

Permit-based WETH commitments (no deposits)

๐Ÿฆ Welcome to FlashBank

The only flash loan protocol where funds stay in your wallet. No deposits, just approve & commit.

๐Ÿ“ FlashBankRouter Contract

0x9a4FbC70b30f32006A3fe834173D16b7A0e4E7D4

View on Explorer

WETH Liquidity Overview

Total Committed

0 WETH

Active Providers

0

Fee

0 bps

Wallet Balances

ETH: 0

WETH: 0

Allowance: 0 WETH

Provide Liquidity

โš ๏ธ Router not approved yet. The button below will approve and then set your commitment.

๐Ÿ’ก How FlashBank Works

For Lenders (You earn fees)

  1. 1.Wrap some ETH to WETH (or use existing WETH)
  2. 2.Approve the FlashBankRouter to access your WETH
  3. 3.Set a commitment limit (or unlimited) - WETH stays in your wallet!
  4. 4.Earn fees every time borrowers use your liquidity
  5. 5.Pause/unpause or change limits anytime - instant effect

For Borrowers (MEV/Arb bots)

  1. 1.Implement the IFlashLoanReceiver interface
  2. 2.Call flashLoan(token, amount, toNative, data)
  3. 3.Router pulls WETH from providers (all in one tx)
  4. 4.Your contract receives WETH or native ETH
  5. 5.Execute your arbitrage/MEV logic
  6. 6.Repay principal + fee or entire tx reverts

๐Ÿ” Key Difference: Traditional flash loan protocols require you to deposit your funds into their contract. FlashBank lets you keep WETH in your own wallet and just approve the router. You maintain full custody until the moment a loan is executed.

Demo Flash Loan

โœ“ Success Demo

Borrows WETH from the pool โ†’ unwraps to ETH โ†’ passes through counter (proving you used others' funds) โ†’ proves funds on-chain โ†’ repays router. Transaction succeeds.

โœ— Fail Demo

Borrows WETH โ†’ unwraps โ†’ passes through counter โ†’ attempts to keep funds by sending to proof sink. Router detects missing repayment and reverts the entire transaction. Funds are safe.

โš ๏ธ Note: Most wallets will reject this transaction before sending because they simulate it and detect the revert. If your wallet blocks it, that's expected! See example test transaction.

Demo Counter

Total ETH that has passed through the counter

0

ETH

Demo Requirements:

โœ—Pool has โ‰ฅ 0.1 WETH committed (current: 0.0000 WETH)
โœ“You have โ‰ฅ 0 ETH for the fee

Note: The demo borrows from the pool, not your personal commitment

Estimated Fee: 0 ETH

Guide

  1. Wrap the ETH amount you wish to make available (WETH stays in your wallet).
  2. Approve the FlashBank Router once.
  3. Set your commitment limit and optional expiry. Pause/resume at any time.
  4. Earn 0.02% (configurable) each time your WETH is pulled into a flash loan.
  5. Use the demo to verify behaviour on Sepolia before moving to production chains.