Monorepo MVP to mint, trade, lease, and execute INFT-based AI agents on 0G Galileo testnet.
contracts: Solidity contracts, tests, and deploy scriptservices/api: mint prep, transfer proof, entitlement-checked execute APIapp: React dApp for mint/list/buy/lease/execute flowsdocs: pitch notes and demo script
- Node.js >= 20
- A browser wallet (MetaMask, Rabby, etc.)
- 0G Galileo testnet funds for test wallets
cd /Users/akjain/Desktop/CODEX/inft-agent-market
cp .env.example .envSet these required values in .env:
DEPLOYER_PRIVATE_KEY: private key used for contract deployORACLE_SIGNER_PRIVATE_KEY: private key used by API to sign transfer proofsORACLE_SIGNER_ADDRESS: address ofORACLE_SIGNER_PRIVATE_KEYFEE_RECIPIENT: protocol fee receiverDEFAULT_ROYALTY_RECIPIENT: royalty receiver fallbackOG_COMPUTE_API_KEY: optional; if omitted, execute endpoint returns mocked inference
npm installnpm run test -w contractsnpm run deploy:galileo -w contractsCopy the deployed addresses into .env:
VITE_AGENT_INFT_ADDRESSVITE_MARKETPLACE_ADDRESSVITE_VERIFIER_ADDRESS
Terminal A:
npm run dev -w services/apiTerminal B:
npm run dev -w appFollow /Users/akjain/Desktop/CODEX/inft-agent-market/docs/demo-script.md.