create_wallet
Create a new EVM wallet for play-funds targets. It stores the private key locally, returns only the address, and enables session signing for login and registration.
Instructions
Make a new EVM wallet for this server to sign with, on a play-funds target only (testnet, local, or a custom stage declared NEXUS_EXCHANGE_FUNDS=play). The key is saved in this network's section of the Nexus CLI config (0600) and used for the rest of the session; only the address comes back, never the key. After it, login, register_agent and register_bridge_wallet sign for themselves when signature is omitted, so create_wallet, login, create_api_key gets an agent an account with nothing signed elsewhere. If a wallet already exists for this network it is refused unless confirm: true, which overwrites the old key and keeps it nowhere. Stdio server only. Refused on mainnet and on any target whose funds are real or undeclared.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to replace an existing wallet. The old key is lost. |