[AI Agents that interact with blockchains, store data, send transactions, listen to events]
Currently provides an API endpoint to interact with IPFS and Farcaster. It allows users to upload data to IPFS and post messages to Farcaster using simple HTTP requests.
- Install dependencies from package.json
- Local server running at
http://localhost:3000
The API accepts POST requests with JSON payloads at http://localhost:3000/api/agent.
Upload JSON data to IPFS using the following curl command:
curl -X POST -H "Content-Type: application/json" -d '{"query": "Upload this data to IPFS: {\"hello\": \"world\"}"}' http://localhost:3000/api/agentUpload Post Casts on Farcaster using the following curl command:
curl -X POST -H "Content-Type: application/json" -d '{"query": "Post this to Farcaster: Hello from agent!"}' http://localhost:3000/api/agent
https://backend-b2mv.onrender.com
```bash