Skip to content

Dashboard — API / Interface Reference ​

Core Library Functions (lib/guard/*) ​

deployGuard(params) ​

Deploys custom account guard contract instance on testnet.

initializeGuard(params) ​

Registers admin wallet address and 32-byte agent Ed25519 public key.

installPolicy(params) ​

Validates policy draft form and submits set_policy.

freezeGuard(params) ​

Submits admin panic button freeze().

unfreezeGuard(params) ​

Submits admin unfreeze(), clearing admin freeze and resetting dead-man switch.

rotateAgentKey(params) ​

Rotates the registered agent public key via rotate_agent_key().

readGuardSnapshot(server, guard) ​

Queries status, policy, window, and identity live from Soroban RPC.