An AI-powered blockchain agent that can interact with the Polkadot Parachains. Built with OpenAI's Assistant API and Polkadot-js.
REAL TRANSACTION FROM THE SCREENSHOT
- AI Assistant powered by OpenAI's Assistant API with custom personality
- Direct blockchain interactions through PolkadotJS
- Support for:
- Teleportation
- Balance checking
- Swapping (coming soon!)
- Node.js (v18 or higher)
- TypeScript
- An OpenAI API key
- A wallet private key for the agent
- Clone the repository:
cd paragent- Install dependencies:
npm install- Create the
.envfile and add your OpenAI API key and wallet private key:
OPENAI_API_KEY=your_openai_api_key
PRIVATE_KEY=your_wallet_private_key- Run the agent:
npm start