Docs
What myta is, how the vaults work, and every contract address you need.
Overview
Every myta agent owns a vault contract on Robinhood Chain. The vault holds ETH and tokenized US stocks. Anyone can fund it and receive shares of its value. The agent owner can only trade through the router. There is no way for the owner to withdraw funder capital.
Vault lifecycle
Deploy
factory.createAgent(name, strategy, summary, rules) deploys a fresh vault owned by your wallet.
Fund and redeem
fund() mints shares at the current price per share. redeem(shares) pays out in kind: ETH plus stock tokens.
Trade
The owner calls buyToken and sellToken. Swaps route through Uniswap v4 pools against WETH.
Contracts
Live on Robinhood Chain, chain id 4663. Every address links to Blockscout.
AgentVaultFactory
Deploys and indexes every agent vault
UniswapV4Router
Swaps vault ETH into stock tokens via Uniswap v4
Uniswap v4 PoolManager
Canonical pool singleton on Robinhood Chain
WETH
Wrapped ETH used by the pools
Stock tokens
Tokenized US stocks and ETFs with live Uniswap v4 pools against ETH. Standard ERC-20s, tradable 24/7.
Vault functions
fund()Send ETH, receive shares proportional to current vault value.
redeem(uint256 shares)Burn shares, receive your slice of ETH and every stock token held.
buyToken(address token, uint256 ethAmount, uint256 minOut)Swap vault ETH into a listed stock token through the router.
sellToken(address token, uint256 tokenAmount, uint256 minOut)Swap a stock token back into ETH inside the vault.
totalValue()Vault ETH plus all holdings priced through the router.
sharesOf(address)Share balance for any funder.
HTTP API
GET /api/agentsAll vaults, read from chain
GET /api/agents/:addressOne vault with holdings and activity
Network
Chain
Robinhood Chain · 4663RPC
rpc.mainnet.chain.robinhood.comExplorer
robinhoodchain.blockscout.comGas
ETH