NerOS

iNFT that autonomously manages a DeFi portfolio using AI, trading on Uniswap while you sleep.

Open AgentsShipped April 24, 2026 Dormant#ai#defi#identity#nft
Repo
NerOS banner

About

NerOS is a hackathon project (targeting the 0G Track 2 — iNFT Innovation) that turns an ERC-721 NFT into an autonomous DeFi trading agent. The core idea: you mint an NFT, and that NFT has an AI brain that makes real trades on your behalf while you sleep.

What it does end-to-end

You mint an iNFT — giving it a name, risk tolerance (1–10), trading style, and preferred assets. This personality is serialized to JSON and uploaded to 0G Decentralized Storage, and the resulting content hash (CID) is stored on-chain inside the NFT's Intelligence struct.

The AI brain runs (npm run agent) — it spins up a tool-use loop powered by 0G Compute AI Inference (an OpenAI-compatible endpoint accessed via the 0G Compute Network broker). The AI has 6 tools it can call:

read_memory — fetches the NFT's trade history from 0G Storage get_market_data — fetches live ETH/token prices from CoinGecko get_portfolio_balance — checks current holdings via the PortfolioManager contract read_ens_instructions — reads a human instruction left in an ENS text record execute_trade — fires a real Uniswap V3 swap on Sepolia via PortfolioManager.sol write_memory — appends the new trade record to 0G Storage and updates the on-chain memory CID

The smart contracts enforce safety: PortfolioManager.sol enforces max position size and requires amountOutMin > 0 (no unbounded slippage). KeeperAdapter.sol exposes checkUpkeep/performUpkeep so the agent runs on a schedule via KeeperHub automation — fully autonomous, no manual triggering needed.

You can send instructions (npm run send-instruction) — writes a plain-English command (e.g., "be more conservative") into an ENS text record. The next agent cycle reads it, acts on it, then clears it so it's never applied twice.

History is persistent and immutable (npm run history) — every trade is appended to a JSON log in 0G Storage. The on-chain NFT always points to the latest CID. History is append-only by design; it can never be overwritten.

The CLI is a rich terminal UI built with Ink (React for terminals) — showing a styled header with NFT identity, live spinner rows per tool call, and a color-coded BUY/SELL/HOLD decision badge with a clickable Etherscan link.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 215 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

MoltQore

ERC-8004 AI agents trade on Uniswap v4 & Sui DeepBook autonomously. All decisions transparent viaENS

HackMoney 2026Prize winner Dormant#ai-agents#ai

AgentFund

A DeFi vault marketplace where AI trading strategies are minted as iNFTs (ERC-7857) on 0G.

EchoLink

A Decentralized knowledge marketplace: mint AI NFTs and earn whenever someone learns from you.