Rialto

Documentation

Everything Rialto does, in order

One wallet on Robinhood Chain pays for x402 endpoints in USDG and funds private Venice inference. Below: install, fund, run, connect an agent, read the chain without installing anything, and the limits that keep the wallet safe.

1. Install and create the wallet

Node 20 or newer. The command creates a private key in your home folder, prints the address, and tells you what to send to it.

npx https://rialto.casa/downloads/rialto-kit-0.1.0.tgz init

To keep the command short afterwards, install it once globally:

npm install -g https://rialto.casa/downloads/rialto-kit-0.1.0.tgz

2. Fund it

Send USDG (contract 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168) and a few cents of ETH to the printed address on Robinhood Chain, chain id 4663. Bridges such as relay.link and across.to deliver USDG there from Base, Arbitrum or Ethereum in seconds. Then:

rialto fund 10

The command quotes Relay (Across as fallback), approves and deposits USDG, waits for USDC on Base at the same address, then signs a gasless USDC authorization that Venice settles into a prepaid balance. Venice needs at least 5 USD per top-up, so the bridged amount is raised when fees would push it under.

3. Run

rialto chat "What is NVDA trading at on Robinhood Chain?" --web
rialto agent "Compare AAPL, TSLA and NVDA on Robinhood Chain and name the deepest pool" -b 0.25
rialto pay https://api.naven.network/x402-test/ping --max 0.01

Commands

Configuration

Stored in ~/.rialto/config.json (mode 600). Environment variables win over the file.

KeyEnvMeaning
privateKeyRIALTO_PRIVATE_KEYThe wallet. Generated by init, stored with mode 600.
veniceApiKeyVENICE_API_KEYUse an API key instead of the wallet ledger.
defaultModelRIALTO_MODELVenice model id. Default zai-org-glm-5-2.
agentBudgetUsdRIALTO_AGENT_BUDGET_USDHard cap per agent run. Default 1.
maxPaymentUsdgRIALTO_MAX_PAYMENT_USDGHard cap per x402 payment. Default 1.
payAllowlist·Hostnames the payer may pay. Empty means any HTTPS host.
·RIALTO_RPC_ROBINHOODOverride the Robinhood Chain RPC. Public fallbacks are built in.

MCP

Local server over stdio, with every tool and the wallet. Claude Desktop, Claude Code, Cursor, Hermes, OpenClaw:

{ "mcpServers": { "rialto": { "command": "npx", "args": ["-y", "https://rialto.casa/downloads/rialto-kit-0.1.0.tgz", "mcp"] } } }

Hosted, read-only, no install (Streamable HTTP, stateless): chain status, balances, wallet reports, stock prices, pools.

https://rialto.casa/mcp

Tools: rialto_wallet, hood_chain_status, hood_balances, hood_wallet_report, hood_stock_price, hood_stock_find, hood_top_pools, hood_send_usdg, x402_pay, venice_chat, venice_web_search, venice_models, venice_balance, venice_transactions, rialto_quote_bridge, rialto_fund_venice, rialto_agent.

Hosted API

curl https://rialto.casa/api/chain
curl https://rialto.casa/api/stocks/NVDA
curl "https://rialto.casa/api/stocks?q=TSLA"
curl https://rialto.casa/api/wallet/0xb9A67f59bcfd3b45fe1ca2c55A55C19B2b35B58f
curl "https://rialto.casa/api/pools?limit=10"

Responses are JSON with ok and data. Prices come from GeckoTerminal (30 requests per minute); chain reads use a pool of public RPCs with a short cache.

Security and limits

Facts the code relies on

Source and downloads on the home page. Updates on X.