Ever imagined chatting with an AI and it sends a Solana transaction for you?
Well, this project makes that happen — in real-time, with real wallets.
- 🤖 AI Agent that builds and serializes Solana transactions
- 💬 Chat UI powered by
useChat(React hooks) - 🔐 Solana wallet integration to sign & send txns
- ⚡️ Real-time interaction between AI, wallet, and chain
- 🧩 Modular Mastra logic to generate and validate transactions
Watch the magic in action: [https://x.com/manashanand2/status/1911339161950310552]
- Frontend: React + TypeScript + TailwindCSS
- Backend: Node.js + Express (or FastAPI if using Python)
- Blockchain: Solana Web3.js
- AI Agent: Custom tool calling backend to prepare txns using Mastra
- Wallet: Solana wallet adapter (e.g. Phantom)
- User types an intent in chat (e.g., "Send 0.01 SOL to xyz")
- Message is sent to the backend
- Backend agent parses intent → constructs a Solana transaction
- Serialized transaction is returned to frontend
- User's wallet signs & sends the transaction
- Bot replies with the signature + explorer link 🚀
npm install
npm run dev