IndexAI is an AI-powered on-chain asset management protocol that not only generates portfolio strategies, but also executes them directly via smart contracts.
No manual trading. No off-chain bots. Everything happens on-chain.
Managing DeFi portfolios requires constant monitoring, manual rebalancing, and complex decision-making.
IndexAI removes this friction by enabling AI-generated portfolio strategies that are both stored and executed fully on-chain.
- Generates AI-driven portfolio allocations
- Executes trades directly on-chain
- Stores portfolio state per user
- Enables reusable on-chain strategies
- Allows retrieval of portfolio and strategy data
This diagram shows how AI-generated strategies are stored and executed fully on-chain.
flowchart LR
A[User / AI Model] --> B[Generate Portfolio Strategy]
B --> C[Save Strategy On-Chain]
C -->|TX: 0xc3771a18...| D[Smart Contract Storage]
D --> E[Execute Trade Function]
E -->|TX: 0x523569d7...| F[DEX Swap / Rebalance]
F --> G[Updated Portfolio State]
- User connects wallet
- AI analyzes market conditions
- AI generates optimal allocation
- Strategy is stored on-chain
- Smart contract executes trades
- Portfolio and strategy data are updated and retrievable
- Frontend → Next.js
- Backend → Node.js (AI + API)
- Smart Contracts → Solidity (Hardhat)
- Network: HashKey Chain Testnet
- Contract: 0x36C02dA8a0983159322a80FFE9F24b1acfF8B570
Save Strategy (On-chain storage) https://testnet-explorer.hsk.xyz/tx/0xc3771a18a3f14d7628302c480bb18929e5227c21f1653ff0dc66d9dcb95e1485
Execute Trade (On-chain execution) https://testnet-explorer.hsk.xyz/tx/0x523569d792921fe0a5673090be90564aa31d9a198ef5c7cda4b41f16e330b1da
This demonstrates a complete on-chain lifecycle: strategy storage and execution within the same smart contract.
- Portfolio allocations are stored per user
- Strategies can be saved and reused
- Data is fully retrievable via smart contract functions
- Not just signals → full on-chain execution
- Not off-chain bots → smart contract driven
- Not manual → AI-powered one-click execution
-
Contract: 0x1622c75F23C118047825dD03C1d827797eFE98d9
-
TX: https://sepolia.basescan.org/tx/0x556d89d244f9bae3b27d2cb4ef51a60a55a1e5d5bcb166d357bd74a43cf669c7
Hackathon MVP — deployed on HashKey Chain with real on-chain execution, portfolio storage, and strategy reuse.
IndexAI aims to become the AI layer for on-chain asset management, enabling autonomous, reusable financial strategies across DeFi ecosystems.