market_deadman-create
Creates an XRP Ledger dead-man switch: if you stop checking in, trustees receive an encrypted file only k of them can open, and optional escrowed XRP goes to a beneficiary.
Instructions
Set up a dead-man switch watched by an edge node on the XRP Ledger: if you stop checking in (a transaction from your own wallet tagged with your PIN), your trustees receive what you left — a file only k of them together can open, and optionally XRP escrowed to a beneficiary. The node never sees the file or the key. PINs come from CAPPZ_DEADMAN_PIN (and optional CAPPZ_DEADMAN_DURESS_PIN), never from arguments. Costs the node's price per 30 days, paid up front. Moves money: on mainnet pass yes=true only after the person you act for agrees.
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": {
"node": "<node>",
"trustees": "<trustees>"
},
"name": "market_deadman-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Practice market only: act as this party id. | |
| yes | No | Confirms a mainnet money movement. | |
| demo | No | Use the practice market on this computer (nothing published, no real money). | |
| heir | No | Inheritance: an XRPL account that takes control of yours on release (a SetRegularKey signed now on a reserved Ticket, sealed to the node, submitted only on release). Revoke with deadman-revoke-handover. | |
| node | Yes | The node's agents URL, e.g. https://silwa.duckdns.org/agents. | |
| plan | No | year (default: paid in advance, check-ins stay monthly), month (pay as you go) or lifetime (100 years at once). | |
| count | No | Years (1–100) or months (1–12) to pay now (default 1). | |
| No | Your email(s) for warnings, comma-separated; sealed so only the node opens them (needs a node with email set up). Alerts never carry a key or the file. | ||
| duress | No | With CAPPZ_DEADMAN_DURESS_PIN set: alert (default) or alert-and-release. | |
| notify | No | Your own https webhooks or ntfy topic URLs for warnings (comma-separated). Never told about duress. | |
| content | No | The file your trustees receive (encrypted here; up to the node's limit). | |
| message | No | A short note shown to trustees with the release (public once released). | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| periods | No | Older form: months to pay now (same as --plan month --count n). | |
| escrowTo | No | Optional beneficiary r-address: XRP escrowed now, released to them only on trigger. | |
| trustees | Yes | JSON file: [{"id":"sam","label":"Sam (brother)","encryptionKey":"<from their cappz-market deadman-trustee-key>","notify":["https://ntfy.sh/<their topic>"],"email":["sam@example.com"]}], 1–10. Keys must be quantum-safe (P-256 + ML-KEM-768). An heir with no wallet: {"id":"ana","code":true} instead of encryptionKey; their inheritance code is printed once. | |
| warnDays | No | Days before the deadline the warning goes out (default 5). | |
| escrowXrp | No | XRP to escrow for the beneficiary. | |
| graceDays | No | Days after a missed deadline before the release (default 7). | |
| threshold | No | How many trustees must combine shares to open the file (default: a majority). | |
| checkInDays | No | Days between check-ins (default 30). | |
| escrowCancelDays | No | After this many days you can take the escrow back (default 365; renew it by making a new one). |