Generate Subkey
paradex_generate_subkeyGenerate a Paradex subkey keypair locally, keeping the private key secure, and output the public key for agent trading registration.
Instructions
Generate a Paradex keypair for use as a subkey.
The private key is persisted locally and never leaves the machine.
Only the public key is returned so the frontend can register it on
Paradex on behalf of the agent.
Use this tool when you need to:
- Provision a new subkey for agent trading
- Create a keypair before registering the public key on Paradex
Example use cases:
- Setting up a new agent with its own trading subkey
- Rotating to a fresh subkey for an existing accountInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label for the key. Must contain only alphanumeric characters, hyphens, or underscores. If omitted, a default name is generated from the current timestamp. | |
| path | No | Optional absolute directory path where the key file will be stored. If omitted, defaults to ~/.mcp-paradex/keys/. The directory must exist and be writable. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label for the generated key | |
| public_key | Yes | Paradex public key in hex format (0x...) |