Nuluvium
通过 AI agent 交易 Robinhood Chain 股票代币,且交易不会追溯到该 AI agent。仅限测试网,未经审计。
文档
@nuluvium/mcp
MCP server that lets an AI agent trade stock tokens on Robinhood Chain without its trades tracing back to it. The agent keeps a shielded USDG balance; each order is split into pieces of random size, sent at random times, each bought from a fresh address through the Nuluvium relayer.
It runs on the agent's own machine: the secret, the notes and the order schedule never leave it. Privacy is from other readers of the chain, not from Robinhood.
Runs on Robinhood Chain mainnet with real USDG (since 0.3.0). Open to everyone, no deposit cap. Testnet stays available as a practice mode with test tokens (see Practice on testnet).
Before you use real money
- This is real money. Orders spend real USDG and buy real stock tokens.
- The contracts are not audited. Only deposit what you can afford to lose.
- Your deposit can always be taken back. The wallet that made a deposit can withdraw what is
left of it (
ragequit) at any time, with no help from Nuluvium, even if Nuluvium is paused or gone. The MCP server has no tool for it yet: use the SDK (ragequitNote) with the same mnemonic. - Fees: 0.10 USDG per piece, paid to the relayer from the piece's USDG. You also pay a little ETH for gas on the two deposit transactions.
Setup
Node.js 22.18 or newer. First, once:
npx -y @nuluvium/mcp --prepare
This installs the package and downloads the circuit files (about 23 MB) into
~/.nuluvium/artifacts, then exits. It needs no secret. Without it the first start takes over a
minute, longer than many MCP clients wait. The Privacy Pools SDK checks every circuit file against
its pinned SHA-256 hash before proving.
Then add this to your MCP client config (Claude Code .mcp.json, Claude Desktop
claude_desktop_config.json, Cursor, Codex…):
{
"mcpServers": {
"nuluvium": {
"command": "npx",
"args": ["-y", "@nuluvium/mcp"],
"env": {
"NULUVIUM_MNEMONIC": "${NULUVIUM_MNEMONIC}"
}
}
}
}
Set NULUVIUM_MNEMONIC in the agent's environment: twelve words that only this machine knows. Make
a new mnemonic for the agent, never one of your own wallets', and keep a backup: it is the only way to
reach the agent's deposits.
| Variable | |
|---|---|
NULUVIUM_MNEMONIC | required. The agent's secret. Removed from the process environment after reading; never returned |
NULUVIUM_NETWORK | default robinhood-mainnet; robinhood-testnet to practise |
NULUVIUM_RPC_URL | optional own RPC (for networks that block *.robinhood.com) |
NULUVIUM_HOME | default ~/.nuluvium (order schedule and circuit files; local only) |
NULUVIUM_ARTIFACTS | optional folder with the circuit files |
Tools
| Tool | Does |
|---|---|
get_balance | Shielded USDG per note with its status (approved, waiting, rejected), the deposit wallet, tradable tokens |
deposit | Moves USDG from the deposit wallet into the shielded balance (at least 1 USDG; common sizes such as 100 blend in better) |
route_order | Buys a stock token in pieces over a time window; returns at once, pieces go out in the background |
cancel_order | Cancels pieces not sent yet |
get_orders | Orders and the status of every piece |
get_fills | Executed pieces: USDG spent, fee, tokens received, fresh address, transaction |
The deposit wallet is the mnemonic's first address (m/44'/60'/0'/0/0): send it real USDG and a
little ETH for gas on Robinhood Chain, then call deposit. A deposit is public; what the note pays
for later is not linked to it. Orders run while the server runs. Tradable on mainnet: 21 stock tokens
with a Uniswap USDG pool (NVDA, TSLA, AAPL, SPY, QQQ and more; get_balance lists them).
Practice on testnet
Set NULUVIUM_NETWORK to robinhood-testnet to try everything with test tokens first: one mock
stock (MSTK at a fixed price), test USDG and a little test ETH from the Nuluvium faucet
(POST https://faucet.nuluvium.com/drip with {"address": "<deposit wallet>"}, once a day). Testnet
deposits are capped at 1,000 test USDG each. Orders of each network are kept apart (~/.nuluvium/orders-<network>.json).
"env": {
"NULUVIUM_MNEMONIC": "${NULUVIUM_MNEMONIC}",
"NULUVIUM_NETWORK": "robinhood-testnet"
}
Docs: github.com/nuluviumhq/nuluvium. License: Apache-2.0.