Contract ABIs and on-chain integration config for OUTRIVE
This repository contains the contract ABIs and chain configuration used by OUTRIVE to interact with Virtuals Protocol on Robinhood Chain.
| Network | Chain ID | RPC | Explorer |
|---|---|---|---|
| Robinhood Mainnet | 4663 | https://rpc.mainnet.chain.robinhood.com | https://robinhoodchain.blockscout.com |
| Robinhood Testnet | 46630 | https://rpc.testnet.chain.robinhood.com | https://explorer.testnet.chain.robinhood.com |
The entry point for AI agent token launches on Robinhood Chain. Deployed and maintained by Virtuals Protocol.
- Function:
launch(name, ticker, metadataURI, tokenSupplyParams_, antiSnipeAmount, _agentTokenImplementation, _virtualLP)- deploys a new bonding-curve agent token - Event:
NewApplication(uint256 indexed applicationId, address indexed sender, address indexed token, ...) - Source: Verify address and ABI from Robinhood Chain Blockscout
Handles creator fee accounting for launched agent tokens. The projectTaxRecipient field on each agent token points to this contract.
- Function:
claimable(address creator)- returns unclaimed creator fees - Function:
claim()- claims accumulated fees to the creator wallet
Each agent token launched through the factory has an associated bonding curve contract. Graduation occurs when the curve reaches the threshold (42,000 $VIRTUAL by default), at which point liquidity migrates to Uniswap V3.
| File | Contract |
|---|---|
virtualsFactoryAbi.json | Virtuals Protocol Instant Launch factory |
bondingCurveAbi.json | Bonding curve (per-token) |
agentFactoryAbi.json | Agent factory — internal factory reference |
Note: These are working ABI stubs used by OUTRIVE. Always verify against the live contract on Blockscout before production use.
import{createPublicClient,http}from'viem';import{defineChain}from'viem/chains';importfactoryAbifrom'./virtualsFactoryAbi.json';constrobinhoodChain=defineChain({id: 4663,name: 'Robinhood Chain',nativeCurrency: {name: 'Ether',symbol: 'ETH',decimals: 18},rpcUrls: {default: {http: ['https://rpc.mainnet.chain.robinhood.com']},},blockExplorers: {default: {name: 'Blockscout',url: 'https://robinhoodchain.blockscout.com'},},});constclient=createPublicClient({chain: robinhoodChain,transport: http(),});// Read factory dataconstresult=awaitclient.readContract({address: process.env.VIRTUALS_FACTORY_ADDRESSas `0x${string}`,abi: factoryAbi,functionName: 'getApplicationInfo',args: [applicationId],});- OUTRIVE: outrive.io
- Virtuals Protocol: app.virtuals.io
- Robinhood Chain Explorer: robinhoodchain.blockscout.com
- Virtuals Protocol Docs: whitepaper.virtuals.io
MIT