Set up r0x wallet
r0x_setupSet up the r0x plugin wallet: import an existing Robinhood Chain private key or generate a new one locally. The wallet is saved to ~/.r0x/config.json for use by all r0x tools.
Instructions
One-time setup for the r0x plugin. Import an existing Robinhood Chain wallet by private key, or generate a fresh one locally (no payment required to generate). The wallet is stored at ~/.r0x/config.json and reused by every other r0x tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "r0x_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | "import" to use an existing key, "generate" for a new wallet | |
| privateKey | No | Required when mode is "import". A 0x-prefixed 32-byte hex private key. |