原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

FlashBank

作者:Rotwang9000版本 1.1.1i★ –i在你的电脑上运行
注册名称io.github.Rotwang9000/flashbank

安装

概览

作者提供的说明(英文原文)

Fixed-fee P2P term loans (no oracles) and flash loans on Ethereum, Base, Arbitrum and Sepolia.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 加密货币与区块链
  • 你需要填写:FLASHBANK_MCP_PRIVATE_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: FLASHBANK_MCP_PRIVATE_KEY, FLASHBANK_MCP_ALLOW_MAINNET, FLASHBANK_MCP_RPC_SEPOLIA

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "flashbank": {
      "command": "npx",
      "args": [
        "-y",
        "@flashbank/mcp"
      ],
      "env": {
        "FLASHBANK_MCP_PRIVATE_KEY": "your-value",
        "FLASHBANK_MCP_ALLOW_MAINNET": "your-value",
        "FLASHBANK_MCP_RPC_SEPOLIA": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add flashbank --env FLASHBANK_MCP_PRIVATE_KEY=your-value --env FLASHBANK_MCP_ALLOW_MAINNET=your-value --env FLASHBANK_MCP_RPC_SEPOLIA=your-value -- npx -y @flashbank/mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "flashbank": {
      "command": "npx",
      "args": [
        "-y",
        "@flashbank/mcp"
      ],
      "env": {
        "FLASHBANK_MCP_PRIVATE_KEY": "your-value",
        "FLASHBANK_MCP_ALLOW_MAINNET": "your-value",
        "FLASHBANK_MCP_RPC_SEPOLIA": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "flashbank": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@flashbank/mcp"
      ],
      "env": {
        "FLASHBANK_MCP_PRIVATE_KEY": "your-value",
        "FLASHBANK_MCP_ALLOW_MAINNET": "your-value",
        "FLASHBANK_MCP_RPC_SEPOLIA": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • FLASHBANK_MCP_PRIVATE_KEY 机密 env
    Optional EVM private key enabling write tools (create/take/repay offers, faucet). Omit for read-only mode. Use a throwaway key.
  • FLASHBANK_MCP_ALLOW_MAINNET env
    Set to 'true' to allow write tools on mainnets (Ethereum, Base, Arbitrum). Defaults to Sepolia-only writes.
  • FLASHBANK_MCP_RPC_SEPOLIA env
    Optional custom RPC URL override for Sepolia (similarly FLASHBANK_MCP_RPC_ETHEREUM / _BASE / _ARBITRUM).

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Rotwang9000 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“加密货币与区块链”中的其他服务器比较i

  • 星标数多于此分类中其他 1614 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1614 个服务器的 22% 更新
  • 基础检查结果等于或优于此分类中其他 1614 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

FlashBank 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:FLASHBANK_MCP_PRIVATE_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.1.1)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Crypto Sentiment X402, Crypto MCP Server, Crypto Defi MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Crypto Sentiment X402

Crypto news sentiment for 24 coins: label, score and headlines behind it, paid per call via x402

作者:whatevercat-creator非常新↓ 61/周今天更新

在你的电脑上运行

Crypto MCP Server

Live cryptocurrency prices and FX rates as agent tools.

作者:thenextgennexus.com非常新今天更新

在云端运行✓ thenextgennexus.com

Crypto Defi MCP

DeFi TVL, stablecoin supply, perp funding, top coins and prediction-market data as agent tools.

作者:thenextgennexus.com非常新今天更新

在云端运行✓ thenextgennexus.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

FlashBank

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:

ProductWhat it isContractPage
Flash LoansAtomic, 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 LoansFixed-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](https://flashbank.net) · Source: [github.com/Rotwang9000/flashbank-net](https://github.com/Rotwang9000/flashbank-net)


Flash Loans (the Router)

FlashBankRouter is a multi-provider flash-loan pool where liquidity providers keep custody:

  • No deposits. Providers approve the router and call setCommitment(token, limit, expiry, paused). WETH stays in their wallet and is only pulled for the microseconds of a flash loan.
  • Atomic or nothing. The borrower implements IL2FlashLoan and must repay principal + fee in the same transaction, or the whole thing reverts.
  • Configurable, bounded fees. Per-token feeBps (1–100 bps) with a separate owner cut (ownerFeeBps) and a per-tx max-borrow share of the pool (maxBorrowBps).
  • Dual-control admin. Sensitive changes (token config, ownership, profit withdrawal) use a propose-then-execute flow split between the owner and a separate admin. See docs/security/DUAL_CONTROL.md.

Provider flow (WETH):

await weth.deposit({ value: ethers.parseEther("5") });        // wrap ETH (stays in your wallet)

await weth.approve(routerAddress, ethers.MaxUint256); // approve once await router.setCommitment(wethAddress, ethers.parseEther("3"), 0, false); // lend up to 3 WETH // pause/resume any time — just flip the paused flag or drop the limit to 0

Borrower flow (MEV / arbitrage bots):

await router.flashLoan(

wethAddress, ethers.parseEther("100"), true, // receive native ETH (router unwraps WETH for you) strategyCalldata // forwarded to IL2FlashLoan.executeFlashLoan );

Lives in flashloans/. Deploy with cd flashloans && npx hardhat run scripts/deploy-router.js --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.


P2P Term Loans

FlashBankP2PLoan is a neutral escrow that lets two parties flashbank a fixed-term, collateral-backed loan:

  • Time-only settlement. Repay principal + a flat fee before maturity + grace, or the lender claims the collateral. Nothing is priced on-chain, so no oracle is needed.
  • Optional surplus return (no oracle). An offer can set an agreed rate (stored as 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.
  • Editable offers, front-running-safe. While an offer is open the creator can re-price or amend its non-escrow terms in place (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.
  • Flat fee, not interest. A single fixed fee rather than time-accruing interest — more compatible with faith-based finance that avoids *riba* (this is not a Sharia-certification claim).
  • Three optional, default-off fees:
  • an opt-in interface fee (lender-paid, only on offers posted through flashbank; 0% introductory),
  • an optional boost that buys featured marketplace placement ranked by spend (an advert, not interest — non-refundable),
  • a per-offer service fee to any address (insurance / third party). Go direct on the contract and it is zero commission.
  • Tokens are just ERC-20s. On mainnet/L2 the escrow uses real assets (WETH, USDC, …). On the testnet playground, fpETH/fpUSD are free faucet tokens with no value.

Lives in loans/. Full design: docs/design/P2P_LENDING_DESIGN.md.

Live on mainnet (Ethereum + Base)

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.

ChainFlashBankP2PLoan (verified)
Ethereum0x131C…18A0
Base0x86Fb…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.

Live on Sepolia (playground — testnet only, no real value)

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.

ContractAddress (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).


For AI agents (MCP)

npx -y @flashbank/mcp     # zero-config read-only MCP server, any MCP client

The repo ships a self-contained Model Context Protocol server (mcp/, published as @flashbank/mcp, listed in the official MCP Registry and on Glama) so agents can flashbank too: browse open P2P offers, get quotes, check flash-loan liquidity and fees — and, with an explicitly configured throwaway key, post/take/repay loans and use the Sepolia faucet. Reads need no configuration; mainnet writes are double-gated behind FLASHBANK_MCP_PRIVATE_KEY *and* FLASHBANK_MCP_ALLOW_MAINNET=true. Takes always pin the exact reviewed terms on-chain, and on v2 chains the tools quote vested fees and report cooling-off rebates. The whole lifecycle is proven by a live two-agent drill (npm run drill) that walks faucet → create → take → early repay (rebate verified) → cancel through two real MCP server instances on Sepolia. Details and the tool catalogue: mcp/README.md.


Repository layout

Each feature is a self-contained Hardhat project. The two never import each other's Solidity, so you can fork this repo, delete the feature you don't want, and the other still compiles, tests and deploys.

flashloans/           Flash-loan router feature — own contracts/, test/, scripts/, test-scripts/, hardhat.config.js

loans/ P2P term-loan feature — own contracts/, test/, scripts/, deployments/, hardhat.config.js common/ Shared toolchain (hardhat.base.js) inherited by both features — do not delete website/ Next.js front end (static export, deployed to flashbank.net) — showcases both features mcp/ Model Context Protocol server so AI agents can browse/quote/transact (see mcp/README.md) docs/ Documentation (see docs/README.md) — architecture, security, deployment, design package.json Thin root: installs the shared dependencies and runs both features' scripts

Want only one feature? Delete the other top-level directory:

rm -rf flashloans   # keep just the P2P term loans

...or...

rm -rf loans # keep just the flash-loan router

common/ is shared by both and must stay. The website/ is a combined shopfront; if you drop a feature, also remove its page (website/src/pages/index.tsx for flash loans, website/src/pages/p2p.tsx for P2P) and its link in website/src/components/Nav.tsx.

A previous deposit-based design, FlashBankRevolutionary, predates the no-deposit Router. Its

contracts and notes live under flashloans/ for historical context; the Router and P2P escrow are

the current products.


Quick start

npm install            # installs the shared toolchain both features build against

npm run compile # compile both features npm test # run both features' test suites

work inside a single feature

cd flashloans && npx hardhat

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx