Here’s a simplified and shorter version of your README.md
that keeps it clear and developer-friendly:
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.
- Solana: Mint tokens, airdrop, swap with Jupiter, use Drift, create NFTs, etc.
- EVM: Deploy & interact with contracts, swap via Uniswap, mint ERC721s, etc.
- Execute blockchain tasks from natural language using OpenAI + LangChain
- Generate NFT artwork via DALL·E
- Create smart agents with custom workflows
npm install blockchain-ai-agent
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
});
// 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");
- Chains: Solana, Ethereum, BSC, Polygon, Avalanche, Optimism, Arbitrum, Fantom
- AI: OpenAI (GPT-4), DALL·E, LangChain
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.