What a Guardian Is
A guardian is a single Stacks address designated at vault creation time. It is typically a trusted person (a spouse, adult child, or close friend) or a professional (an attorney or trusted advisor) who would know if the vault owner is temporarily incapacitated versus permanently unavailable. The guardian’s role is narrow and non-custodial:- Can: Call
guardian-pause(vault-owner-address)once, during the grace period. - Cannot: Withdraw funds, send heartbeats, update heirs, or take any other vault action.
When to Use a Guardian
Medical Emergency
If you’re hospitalized and unable to sign transactions, your guardian can buy an additional 30 days while you recover — preventing heirs from claiming prematurely.
Extended Travel
If you’re in a location without reliable internet access and your heartbeat window expires, a guardian can extend the deadline until you’re back.
Dispute Resolution
An attorney guardian can pause the clock while a will contest or estate dispute is resolved, preventing hasty distribution.
Family Coordination
A trusted family member who is not an heir can serve as guardian, providing a human checkpoint before assets are distributed.
How Guardian Pause Works
The guardian callsguardian-pause(vault-owner-address) during the grace period. The contract sets guardian-pause-used = true on the vault.
guardian-pause-used is true, the get-effective-deadline helper adds GUARDIAN-PAUSE-BONUS (2,592,000 seconds = 30 days) to the vault’s effective deadline for all state computations:
Guardian Pause Requirements
All three conditions must be met forguardian-pause to succeed:
| Requirement | Error if violated |
|---|---|
tx-sender matches the vault’s guardian field | ERR-NOT-GUARDIAN (u102) |
elapsed >= heartbeat-interval (vault is in grace) | ERR-NOT-IN-GRACE (u112) |
elapsed < heartbeat-interval + grace-period (grace not yet expired) | ERR-VAULT-NOT-CLAIMABLE (u104) |
guardian-pause-used == false | ERR-GUARDIAN-PAUSE-USED (u111) |
Setting a Guardian
The guardian is set at vault creation by passing a principal wrapped insome:
none:
There is no function to change the guardian after vault creation. If you need a different guardian, you must
emergency-withdraw and create a new vault.Guardian vs. Heir: Key Differences
| Property | Guardian | Heir |
|---|---|---|
| Purpose | Emergency pause during grace period | Receive assets after vault becomes claimable |
| Receives assets? | No | Yes |
| Can act in active state? | No | No |
| Can act in grace state? | Yes (pause only) | No |
| Can act in claimable state? | No | Yes (claim) |
| Number allowed per vault | 1 | Up to 10 |
| Can heartbeat? | No | No |
| Can emergency-withdraw? | No | No |
| One-time action? | Yes (one pause per vault) | No (claim once per vault) |
Choosing the Right Guardian
Because the guardian’s power is limited to one extension of the deadline, the bar for trust is lower than for an heir or co-signer — but the guardian should still be someone who:- Knows your situation well enough to judge whether to pause or let the vault proceed.
- Will actually monitor the vault (or be notified when the grace period begins).
- Is reachable and able to sign a Stacks transaction during the grace window.
- Is not a sole heir (a person who is both guardian and the only heir has no incentive to pause).
