create_key
Generate and store a new cryptographic key in a secure TEE. Choose mnemonic for multi-chain HD wallets, or private/secret key types with a required curve.
Instructions
Create a new key in the TEE. Supports mnemonic (HD wallet), private key, or secret key types. curve is required for private (secp256k1 or ed25519) and secret (ed25519 only) key types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curve | No | Required for private/secret key types. Omit for mnemonic. | |
| chains | No | For mnemonic keys: chain addresses to derive on creation. Defaults to [EVM, SOL]. | |
| keyType | Yes | Type of key. 'mnemonic' = HD wallet (recommended for multi-chain). |