AutomationX

Automate Anything in DeFi. Powered by AI on Bitcoin’s Rootstock

AutomationX

Created At

ETHGlobal New Delhi

Winner of

The Graph

The Graph - Best Use of GRC-20-ts Library in Dapp

Project Description

AutomationX: AI-Powered DeFi Automation on Rootstock

AutomationX is the first AI-powered DeFi automation layer on Rootstock, designed to make decentralized finance completely hands-free and accessible. It allows users to create, test, and deploy on-chain automation tasks using natural language commands, without needing any coding knowledge.

The platform consists of three main components:

  1. Frontend (Next.js) – A modern web interface where users can create tasks, monitor dashboards, view analytics, and connect wallets.
  2. Automation Engine (Node.js) – The core backend that interprets AI-driven instructions, interacts with smart contracts, executes swaps, lending, yield compounding, limit orders, stop-loss, and DCA strategies, and integrates with real-time price feeds (via Pyth Network).
  3. Knowledge Graph (GRC-20 + IPFS) – Indexes blockchain events from Rootstock contracts like TaskRegistry, stores task histories on IPFS, and provides a GraphQL API for querying data, enabling AI agents to make informed automation decisions.

Key features include:

  • AI-driven natural language interface: Type commands in plain English, and AI agents convert them into secure on-chain actions.
  • Universal DeFi automation: Supports swaps, lending, yield compounding, liquidation alerts, and custom trading strategies.
  • Rootstock-native: Leverages Bitcoin-backed security while providing EVM-compatible smart contract execution.
  • Real-time data: Uses Pyth Network for accurate, low-latency price feeds to trigger automated tasks safely.
  • Testnet deployment: Users can safely test strategies before deploying on mainnet.

AutomationX brings Web2-like simplicity to Web3 automation, allowing anyone to manage DeFi positions intelligently, securely, and automatically through AI. It is ideal for traders, investors, and DeFi enthusiasts looking for hands-free, intelligent automation solutions.

How it's Made

AutomationX is built as a modular, full-stack DeFi automation platform with three core components, each leveraging specific technologies to handle different parts of the system.

  1. Frontend (rootstock-frontend)
  • Built with Next.js 14, React 18, TypeScript, and Tailwind CSS for a modern, responsive, and interactive user interface.
  • Handles task creation, dashboards, real-time analytics, and wallet connections.
  • Communicates with the backend via REST APIs and GraphQL queries for task data and execution status.
  1. Automation Engine (rootstock-automation)
  • Built with Node.js, Express, Ethers.js, and Hardhat.
  • Serves as the core backend, processing AI-generated natural language instructions into smart contract calls.
  • Integrates with Rootstock smart contracts for swaps, lending, yield compounding, DCA, limit orders, and stop-loss execution.
  • Uses Pyth Network for high-fidelity, real-time price feeds to trigger tasks accurately.
  • Exposes over 30 REST API endpoints for frontend integration and external automation.
  1. Knowledge Graph (rootstock-knowledge-graph)
  • Built using the GRC-20 protocol, TypeScript, and IPFS.
  • Indexes blockchain events from Rootstock contracts like TaskRegistry in real-time.
  • Stores task execution histories and metadata on IPFS for decentralization and tamper-proof storage.
  • Provides a GraphQL API for querying task data, enabling the automation engine and frontend to access historical and live task information efficiently.

Integration and Workflow

  • Users input commands in plain English on the frontend.
  • The automation engine parses the instruction using AI/NLP and converts it into smart contract calls.
  • TaskRegistry contracts on Rootstock execute the task.
  • Blockchain events are indexed by the knowledge graph, stored on IPFS, and made available via GraphQL.
  • Pyth Network provides live pricing data for accurate and secure task execution.
  • The frontend displays task status, analytics, and historical execution data in real-time.

Partner Technologies

  • Pyth Network: Real-time, decentralized price feeds enable precise automation triggers.
  • IPFS: Decentralized storage ensures task history is immutable and accessible.
  • Hardhat: Simplifies smart contract development, testing, and deployment.
  • Ethers.js: Facilitates interaction between the Node.js backend and Rootstock contracts.

Hacky / Notable Implementations

  • AI-driven natural language parsing to smart contract execution pipeline was custom-built to handle complex instructions like multi-step DeFi strategies.
  • Real-time synchronization between the automation engine, knowledge graph, and frontend ensures tasks execute instantly and updates reflect live.
  • Designed a GRC-20 indexing layer with IPFS integration to maintain decentralized, queryable task histories—a combination not commonly seen in similar DeFi automation projects.
background image mobile

Join the mailing list

Get the latest news and updates