bankr
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 17
- Forks
- 2
02 资源文件 10
- 参考文档references/api-workflow.md3.9 KB
- 参考文档references/automation.md973 B
- 参考文档references/error-handling.md3.0 KB
- 参考文档references/llm-gateway.md739 B
- 参考文档references/market-research.md763 B
- 参考文档references/portfolio.md748 B
- 参考文档references/safety.md1.3 KB
- 参考文档references/token-deployment.md994 B
- 参考文档references/token-trading.md863 B
- 参考文档references/transfers.md1.0 KB
03 SKILL.md 正文
Bankr: AI-Powered Crypto Trading Agent
Bankr is a natural language-enabled platform for cryptocurrency trading, portfolio management, and DeFi operations. Agentbot users can connect their Bankr API key in Settings to give their agent full trading capabilities.
Getting Started
Users add their Bankr API key at Settings → Bankr Key in Agentbot. Keys are obtained from https://bankr.bot/api-keys.
API key setup via CLI (if needed):
npm install -g @bankr/cli
bankr login email user@example.com
# enter OTP when prompted
bankr whoami
Core Capabilities
- Trading: Swaps, limit orders, DCA strategies, leverage trading (Hyperliquid/Avantis)
- Portfolio Management: Real-time balances, PnL tracking, NFT holdings across 8 blockchains
- Market Research: Token prices, technical analysis, trending assets
- Transfers: Multi-chain token sends to addresses, ENS names, or social handles
- Token Deployment: Launch ERC-20 tokens on Base or SPL tokens on Solana
- Automation: Stop losses, TWAP execution, scheduled trading
- Advanced: Polymarket betting, x402 API calls, web browsing, arbitrary transactions
- LLM Gateway: Multi-model AI access (Claude, GPT, Gemini, etc.) at
llm.bankr.bot
Supported Blockchains
Base, Ethereum, Polygon, Solana, Unichain, World Chain, Arbitrum, BNB Chain.
API Endpoints
All requests use X-API-Key: <key> header against https://api.bankr.bot.
Agent API (async, AI-powered)
POST /agent/prompt— submit natural language prompt, returns{ jobId, threadId }GET /agent/job/{jobId}— poll for result; status:pending | processing | completed | failed | cancelled- Response includes
statusUpdates[](progress messages),richData[](structured results),resetAton 429
- Response includes
POST /agent/job/{jobId}/cancel— cancel a pending or processing job (idempotent)
Wallet API (synchronous)
GET /wallet/me— wallet addresses, social accounts, Bankr Club status, leaderboard, ref codeGET /wallet/portfolio— multi-chain balances, PnL (?include=pnl), NFTs (?include=nfts)POST /wallet/transfer— ERC20/native transfer on Base (tokenAddress,recipientAddress,amount,isNativeToken)POST /wallet/sign— sign messages/typed data/transactions (personal_sign,eth_signTypedData_v4,eth_signTransaction)POST /wallet/submit— submit raw EVM transaction (transaction.to,transaction.chainId, optionalwaitForConfirmation)
Agent Profile API
GET /agent/profile— get own profile (any approval state)POST /agent/profile— create profile (projectName,tokenAddressrequired;slug,description,website,teamMembers[],products[],revenueSources[])PUT /agent/profile— update fields (arrays are replaced, not merged)DELETE /agent/profile— delete profilePOST /agent/profile/update— post project update (title,content; capped at 50 entries)GET /agent-profiles— list approved profiles (?sort=marketCap|newest&limit=20&offset=0)GET /agent-profiles/:identifier— full profile by token address or slug
Utility (no auth required)
GET /addresses/resolve?value=vitalik.eth&type=ens— resolve ENS, Basename, Twitter, Farcaster to addresstype:address | ens | twitter | farcaster
Agentbot Integration
The agent calls Bankr via the user's stored API key. When a user asks about balances, trades, or portfolio:
- Use
/api/bankr/promptto submit natural language to the Agent API - Poll
/api/bankr/prompt?jobId=<id>every 2s untilstatus === 'completed' - Return
responsefield to the user
For portfolio/balance data without AI overhead, use /api/bankr/balances (calls Wallet API).
Prompt Examples
"What's my ETH balance on Base?"
"Buy $50 of ETH on Base"
"Swap 0.1 ETH for USDC"
"Show my full portfolio"
"Set a stop loss on my ETH at $2,000"
"What tokens are trending on Base today?"
"Send 10 USDC to vitalik.eth"
"Launch a token called MYTOKEN on Base"
Security
- Wallet-level spending limits ($500/day default, configurable)
- Per-API-key capability flags: wallet, agent, token launch, LLM gateway, read-only
- IP whitelisting available
- Rate limits: 100 agent messages/day (standard), 1,000/day (Bankr Club). 429 response includes
resetAttimestamp (rolling 24h window). - See references/safety.md for full security model
Plans & Access
| Feature | Standard | Bankr Club / Max Mode |
|---|---|---|
| Agent AI prompts | ✗ | ✓ |
| Portfolio (Wallet API) | ✓ | ✓ |
| Transfers | ✓ | ✓ |
| Daily agent messages | — | 1,000 |
If users see "Bankr Club membership or Max Mode is required", they need to upgrade at https://bankr.bot.
References
- API Workflow — async job pattern, polling, status updates
- Token Trading — swaps, chains, amounts
- Portfolio — balances, PnL, NFT holdings
- Transfers — sends, ENS, social handles
- Automation — limit orders, DCA, stop loss, TWAP
- Market Research — prices, analysis, trending
- Token Deployment — launch ERC-20 / SPL tokens
- LLM Gateway — multi-model AI via bankr
- Error Handling — error codes, fixes
- Safety — spending limits, access control
Resources
04 同仓库更多 Skills
provisioning-v1
暂无简介
get-api-docs
Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial deterministic subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion
Interpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history, PnL data, token prices, charts, gas prices, swap quotes, or DApp information across 41+ chains. Zerion transforms raw blockchain data into agent-ready JSON with USD values, protocol labels, and enriched metadata. Supports x402 pay-per-request ($0.01 USDC on Base) and API key access. Triggers on mentions of portfolio, wallet analysis, positions, transactions, PnL, profit/loss, DeFi, token balances, NFTs, swap quotes, gas prices, or Zerion.
zapper
Placeholder for Zapper skill.
yoink
Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder, check game stats and leaderboards, view player scores, and compete for the trophy. Uses Bankr for transaction execution.