Quickstart

Arm your first room in five minutes.

1. Connect a wallet

Open deadmans.fun, click enter safe room, then connect Phantom or Solflare. The site runs on devnet during beta. Send 0.5 SOL or less from the faucet.

2. Build a room

Click build a safe room. The room builder asks for four inputs.

FieldWhat it means
asset under protectionThe SPL mint locked into the vault. v1 supports WSOL.
trigger kindprice ↓ watches a Pyth feed, price ↑ is the inverse, time ⌛ fires when a slot passes.
thresholdFor price triggers, the USD value. For time, seconds from now.
amountHow many tokens deposited into the vault.

The tx preview at the bottom shows the exact condition that will be checked on-chain. Anything inside that condition becomes immutable for the lifetime of the room.

3. Arm

Click arm safe room. The wallet asks you to sign. The browser will:

  1. Create your WSOL ATA if it doesn't exist.
  2. Wrap the chosen amount of SOL into WSOL.
  3. Run create_safe_room and deposit the WSOL into the vault PDA.

All three instructions land in one versioned transaction. The Solscan link shows up the moment confirmation lands.

4. Wait

The room sits in the observatory with status ARMED. The trigger condition is checked every time the trigger instruction is invoked. Until then, no one can move the vault — not even you, except through disarm_safe_room.

5. Fire (or disarm)

When the price drops below your threshold:

  • Anyone (you, a keeper, a watcher) can click fire trigger now. The client fetches the latest Pyth update from Hermes, posts it on-chain via the Pyth Solana Receiver, and consumes it inside the same versioned transaction that runs trigger_safe_room.
  • The vault drains to the destination you pre-chose. Status flips to EVACUATED.

If you change your mind before the trigger fires, click disarm. The vault refunds to your wallet immediately. Status flips to DISARMED.

What ships next

The current build runs in beta with a 0.5 SOL safety cap and self-evac (vault drains back to your own WSOL ATA). A responder bot and Jupiter swap action (so the evac can convert SOL to USDC during exit) are next. See the roadmap.