Fixed-fee P2P term loans (no oracles) and flash loans on Ethereum, Base, Arbitrum and Sepolia.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Non-custodial, on-chain lending where your funds stay in your wallet until the moment they're used. FlashBank is two complementary products that share that principle:
| Product | What it is | Contract | Page |
|---|---|---|---|
| Flash Loans | Atomic, same-transaction liquidity for arbitrage, liquidations and MEV. Lenders approve and commit WETH from their own wallet β no deposits β and earn a fee on every loan. | flashloans/ Β· FlashBankRouter.sol | / |
| P2P Term Loans | Fixed-term, collateral-backed loans agreed directly between two people. One flat fee instead of interest, settled purely on time β no pools, no price oracle, no liquidations to watch. | loans/ Β· FlashBankP2PLoan.sol | /p2p |
Branding rule: "flashbank" is only ever used as a verb (you flashbank a loan). FlashBank is not a bank, does not hold deposits and takes no custody as a financial institution.
Website: flashbank.net Β· Source: github.com/Rotwang9000/flashbank-net
FlashBankRouter is a multi-provider flash-loan pool where liquidity providers keep custody:
setCommitment(token, limit, expiry, paused). WETH stays in their wallet and is only pulled for the microseconds of a flash loan.IL2FlashLoan and must repay principal + fee in the same transaction, or the whole thing reverts.feeBps (1β100 bps) with a separate owner cut (ownerFeeBps) and a per-tx max-borrow share of the pool (maxBorrowBps).owner and a separate admin. See docs/security/DUAL_CONTROL.md.Provider flow (WETH):
Borrower flow (MEV / arbitrage bots):
Lives in flashloans/. Deploy with cd flashloans && npx hardhat run scripts/deploy-router.js --network <network>
(set ADMIN_ADDRESS / TESTNET_ADMIN_ADDRESS in the repository-root .env). Per-network addresses are read
from NEXT_PUBLIC_* env vars by the website.
FlashBankP2PLoan is a neutral escrow that lets two parties flashbank a fixed-term, collateral-backed loan:
principal + a flat fee before maturity + grace, or the lender claims the collateral. Nothing is priced on-chain, so no oracle is needed.settlementValue β how much principal the whole collateral is taken to be worth, frozen at origination); on default the borrower then recovers any collateral beyond principal + fee. Leave it 0 for a pure pledge/forfeit. This honours Lorrow's surplus-return guardrail without an oracle β see docs/design/LORROW_COMPATIBILITY.md.updateOffer) and top up featured placement (boostOffer) without forfeiting the existing boost. Each edit bumps a version; a taker can call takeChecked(id, version) to pin the exact terms they reviewed.fpETH/fpUSD are free faucet tokens with no value.Lives in loans/. Full design: docs/design/P2P_LENDING_DESIGN.md.
FlashBankP2PLoan is deployed and verified on mainnet β judged solid by the self-audit
and shipped while ETH gas was cheap. Same bytecode on each chain; Ownable, fee recipient = Vultisig vault,
0 bps introductory (a listing fee only ever applies to offers that opt in via listed, hard-capped on-chain at 1%).
No external audit β use real assets at your own risk.
| Chain | FlashBankP2PLoan (verified) |
|---|---|
| Ethereum | 0x131Cβ¦18A0 |
| Base | 0x86Fbβ¦FcbB |
The mainnet UI uses real WETH/USDC. (Arbitrum pending β deployer balance too thin to deploy yet; add later
with MAX_FEE_GWEI pinned low.) Per-chain records in loans/deployments/*-p2p.json.
Mainnet interface is restricted to ETH and USDC for now β custom-token entry is testnet-only β so the front end never invites an unknown/fake token (the contract itself stays permissionless for anyone calling it directly).
v2 β live on the Sepolia playground. FlashBankP2PLoanV2
adds on-chain token sanity-validation, a graduated cooling-off rebate (the flat fee vests from a 10%
floor so a near-instant return is cheap β killing fake-token fee-farming β while consuming a listing is
never free, and a same-block guard stops free flash loans), and pull-payout fallbacks so a
blocklisted recipient can never brick the other party's repayment or default claim. Adversarially
reviewed, unit-tested (22 cases) and deployed to Sepolia (verified, seeded) where it has passed a
live two-agent lifecycle drill; mainnets stay on v1 until it graduates. Full pitfall analysis in
docs/design/P2P_V2_COOLING_OFF.md.
A self-serve playground is deployed on Sepolia so anyone can try the whole flow end-to-end β it
runs the v2 escrow, so the cooling-off rebate and pull-payouts are live there first. All source
is verified on Etherscan; only key material stays in the untracked .env. Unaudited demo β
never send real assets.
| Contract | Address (verified) |
|---|---|
FlashBankP2PLoanV2 (cooling-off rebate + token checks + pull-payouts) | 0x536fβ¦1E76 |
PlaygroundToken fpUSD (6d) | 0x4aBbβ¦760c |
PlaygroundToken fpETH (18d) | 0xB9CCβ¦96F5 |
Try it: open /p2p (defaults to Ethereum mainnet), switch to Sepolia, hit the
faucet to mint test tokens, then post or take an offer (a few offers are pre-seeded, including boosted
ones to show ranking and one with a creator-set 2-day cooling window). Redeploy with
cd loans && npx hardhat run scripts/deploy-playground-v2.js --network sepolia
(addresses recorded in loans/deployments/sepolia-playground-v2.json; the retired v1 playground
0x3Ce4β¦1017 stays on-chain).
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/flashbank)<a href="https://allmcps.com/mcp/flashbank"><img src="https://allmcps.com/api/badge/flashbank?style=directory" alt="FlashBank on AllMCPs" /></a>