Agent Data Tools: Prices and DeFi
50 tools: token prices, wallet and contract risk, liquidity pools, FX. 25 free calls.
作者による説明(英語の原文)
Fixed-fee P2P term loans (no oracles) and flash loans on Ethereum, Base, Arbitrum and Sepolia.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
FLASHBANK_MCP_PRIVATE_KEY, FLASHBANK_MCP_ALLOW_MAINNET, FLASHBANK_MCP_RPC_SEPOLIA「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .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_ALLOW_MAINNET envFLASHBANK_MCP_RPC_SEPOLIA envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Rotwang9000 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:FLASHBANK_MCP_PRIVATE_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.1.1)がレジストリに届いたのは5 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Agent Data Tools: Prices and DeFi, Agent Data Tools: Chain data, Bellchain
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
50 tools: token prices, wallet and contract risk, liquidity pools, FX. 25 free calls.
360 tools: balances, blocks, gas, txs and logs on 5 EVM chains, plus Bitcoin. 25 free calls.
Crypto alert chains in your AI assistant: check alerts, test ideas with the replay, build chains.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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](https://flashbank.net) · Source: [github.com/Rotwang9000/flashbank-net](https://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):
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.
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).
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.
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
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.
npm install # installs the shared toolchain both features build against
npm run compile # compile both features npm test # run both features' test suites
cd flashloans && npx hardhat
冒頭だけを表示しています。続きはリポジトリで読めます