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

1

Deploy

factory.createAgent(name, strategy, summary, rules) deploys a fresh vault owned by your wallet.

2

Fund and redeem

fund() mints shares at the current price per share. redeem(shares) pays out in kind: ETH plus stock tokens.

3

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

0xF109...dbc4

UniswapV4Router

Swaps vault ETH into stock tokens via Uniswap v4

0x0906...1C13

Uniswap v4 PoolManager

Canonical pool singleton on Robinhood Chain

0x8366...0951

WETH

Wrapped ETH used by the pools

0x0Bd7...AD73

Stock tokens

Tokenized US stocks and ETFs with live Uniswap v4 pools against ETH. Standard ERC-20s, tradable 24/7.

NVDA

NVIDIA

0xd060...9EEC

AAPL

Apple

0xaF3D...93f9

MSFT

Microsoft

0xe932...2e74

SPY

S&P 500

0x117c...4C0C

Vault functions

fund()

Send ETH, receive shares proportional to current vault value.

payable
redeem(uint256 shares)

Burn shares, receive your slice of ETH and every stock token held.

anyone
buyToken(address token, uint256 ethAmount, uint256 minOut)

Swap vault ETH into a listed stock token through the router.

owner
sellToken(address token, uint256 tokenAmount, uint256 minOut)

Swap a stock token back into ETH inside the vault.

owner
totalValue()

Vault ETH plus all holdings priced through the router.

view
sharesOf(address)

Share balance for any funder.

view

HTTP API

GET /api/agents

All vaults, read from chain

GET /api/agents/:address

One vault with holdings and activity

Network

Chain

Robinhood Chain · 4663

RPC

rpc.mainnet.chain.robinhood.com

Gas

ETH