8000 GitHub - donpushme/blockchain-ai-agent: AI agent for Blockchain, especially solana and evm
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

donpushme/blockchain-ai-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

Here’s a simplified and shorter version of your README.md that keeps it clear and developer-friendly:


🧠 Blockchain AI Agent

Blockchain AI Agent is a lightweight framework that connects AI models with Solana and EVM-based blockchains. Automate tasks like token management, DeFi interactions, NFT operations, and more — all powered by AI.


⚙️ Features

🔗 Blockchain

  • Solana: Mint tokens, airdrop, swap with Jupiter, use Drift, create NFTs, etc.
  • EVM: Deploy & interact with contracts, swap via Uniswap, mint ERC721s, etc.

🤖 AI

  • Execute blockchain tasks from natural language using OpenAI + LangChain
  • Generate NFT artwork via DALL·E
  • Create smart agents with custom workflows

📦 Install

npm install blockchain-ai-agent

🚀 Quick Start

import { BlockchainAIAgent } from "blockchain-ai-agent";

const agent = new BlockchainAIAgent({
  solana: {
    privateKey: "YOUR_SOLANA_PRIVATE_KEY",
    rpcUrl: "https://api.mainnet-beta.solana.com",
  },
  evm: {
    privateKey: "YOUR_EVM_PRIVATE_KEY",
    rpcUrl: "https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID",
  },
  aiApiKey: "YOUR_OPENAI_KEY", // optional
});

💡 Examples

// Mint a Solana token
await agent.solana.mintToken({ name: "AIT", symbol: "AIT", decimals: 9, supply: 1000 });

// Swap USDT for ETH on EVM
await agent.evm.swapTokens({ dex: "uniswap", inputToken: "USDT", outputToken: "ETH", amount: 100 });

// Run AI command
await agent.ai.executeCommand("Create a collection of NFTs on Solana");

🌐 Supports

  • Chains: Solana, Ethereum, BSC, Polygon, Avalanche, Optimism, Arbitrum, Fantom
  • AI: OpenAI (GPT-4), DALL·E, LangChain

🙌 Contribute

We welcome PRs! See CONTRIBUTING.md.


Made with ❤️ by @midaBricoll


Let me know if you want a version tailored for a landing page or NPM package.

About

AI agent for Blockchain, especially solana and evm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0