optionality_escrow_nsec
Deposit a freshly-generated nsec for operator-managed Nostr signing.
Trade-off: sovereignty for UX. Optionality holds the nsec encrypted in Neon (AES-256-GCM, key derived from operator nsec). Until you withdraw it, the operator can sign Nostr DMs on your behalf. Use this only for fresh game-persona keypairs — never for an existing Nostr identity that lives elsewhere.
The nsec MUST derive to the same npub that authenticated this call, or the deposit is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| nsec | Yes | ||
| dpop_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||