General
bankr avatar

bankr

AI-powered crypto trading agent, wallet API, and LLM gateway. Execute trades, manage DeFi portfolios (PnL, NFTs), bridge assets, and automate on-chain operations using natural language across Base, Ethereum, Polygon, Solana, and Unichain.

Introduction

Bankr is a comprehensive toolkit designed for AI agents to interact with decentralized finance protocols seamlessly. It acts as an abstraction layer between natural language intents and complex on-chain transaction execution, providing a robust, secure infrastructure for autonomous trading, portfolio management, and asset interaction. By leveraging the Bankr CLI or REST API, developers can provision multi-chain wallets instantly and enable agents to perform high-stakes operations without manual intervention.

  • Multi-chain wallet support: Automatically provisions and manages EVM wallets (Base, Ethereum, Polygon, Unichain) and Solana wallets.

  • Natural language trading: Execute complex DeFi operations such as spot trading, leveraging positions via Hyperliquid or Avantis, and predictive betting on Polymarket through simple conversational prompts.

  • Advanced portfolio intelligence: Retrieve real-time balances, PnL analytics, NFT holdings, and token price data to inform agent decision-making.

  • Secure transaction execution: Built-in transaction signing, submission, and raw transaction handling with support for IP whitelisting and transaction verification to ensure agent safety.

  • Integrated LLM Gateway: Access various LLM models directly through the Bankr gateway, funded by the associated Bankr wallet for a unified operational cost structure.

  • Developer-friendly integration: Choose between a feature-rich CLI for terminal-based agent environments or a REST API for programmatic backend integration.

  • Use cases include building automated trading bots, DeFi research agents, portfolio rebalancing systems, and cross-chain asset management tools.

  • Authentication: Supports headless email login flows with OTP verification, ideal for server-side or remote agent deployment.

  • Configuration: Granular control over API permissions including read-only mode, agent-specific API access, token launch capabilities, and LLM gateway enablement.

  • Operational notes: Always confirm user acceptance of Terms of Service before executing write-enabled operations. The system uses a two-layer API structure (Wallet API and Agent API) to separate synchronous balance/signing tasks from asynchronous, AI-driven operations.

Repository Stats

Stars
1,096
Forks
420
Open Issues
193
Language
Shell
Default Branch
main
Sync Status
Idle
Last Synced
May 1, 2026, 09:21 AM
View on GitHub