A powerful n8n module that integrates BinkAI functionality for blockchain and Web3 operations. This module enables seamless interaction with various blockchain networks and DeFi protocols through n8n workflows.
-
Blockchain Operations
- Wallet balance checking
- Token transfers
- Token swaps
- Cross-chain bridging
- Staking operations
-
DeFi Protocol Integration
- Jupiter (Solana)
- PancakeSwap
- Kyber
- Thena
- Venus
- And more...
-
Additional Capabilities
- Image processing
- Knowledge base integration
- RPC provider support
- Multi-chain support
Follow the installation guide in the n8n community nodes documentation.
Also pay attention to Environment Variables for using tools in AI Agents. It's mandatory to set the N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE environment variable to true if you want to use the BinkAI nodes as tools in AI Agents.
The BinkAI nodes support the following types of credentials:
- API Key: Your BinkAI API key
- Environment: The environment to use (mainnet/testnet)
- Network: The blockchain network to connect to
- Private Key: Your wallet's private key (encrypted)
- Network: The blockchain network to connect to
- RPC URL: Optional custom RPC endpoint
The BinkAI nodes support passing environment variables in two ways:
You can add environment variables directly in the credentials configuration:
- API Keys
- Network Settings
- RPC URLs
- Other configuration parameters
This method is useful for individual setups and testing. The values are stored securely as credentials in n8n.
For Docker deployments, you can pass environment variables directly by prefixing them with BINKAI_:
version: '3'
services:
n8n:
image: n8nio/n8n
environment:
- BINKAI_API_KEY=your-api-key-here
- BINKAI_NETWORK=mainnet
- BINKAI_RPC_URL=your-rpc-url
# other configuration...The BinkAI nodes support the following operations:
- Get Balance - Get wallet balance
- Transfer Tokens - Send tokens to another address
- Get Transaction History - View past transactions
- Swap Tokens - Exchange tokens on supported DEXes
- Bridge Assets - Transfer assets between chains
- Stake Tokens - Stake tokens in supported protocols
- Get Token Info - Get token details and metadata
- Get Token Balance - Check token balance
- Approve Token - Approve token spending
This node can be used as a tool in n8n AI Agents. To enable community nodes as tools, you need to set the N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE environment variable to true.
If you're using a bash/zsh shell:
export N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
n8n startIf you're using Docker: Add to your docker-compose.yml file:
environment:
- N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=trueIf you're using the desktop app:
Create a .env file in the n8n directory:
N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
- Add a BinkAI node to your workflow
- Configure credentials with your API key
- Select "Swap Tokens" operation
- Set parameters:
- Input Token: ETH
- Output Token: USDC
- Amount: 1
- Slippage: 0.5%
- Execute the workflow
- Add a BinkAI node
- Configure bridge credentials
- Select "Bridge Assets" operation
- Set parameters:
- Source Chain: Ethereum
- Destination Chain: BSC
- Token: USDT
- Amount: 100
- Execute the workflow
- Requires n8n version 1.0.0 or later
- Compatible with Node.js >= 18.10
- Supports multiple blockchain networks
- Works with major DeFi protocols
This project is licensed under the MIT License - see the LICENSE.md file for details.
For support, please open an issue in the GitHub repository or contact the maintainers.
Contributions are welcome! Please read our Code of Conduct before contributing.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request