Skip to main content
Copy these into Dashboard Security → Policies or createPolicy. Adjust addresses, tags, and thresholds. 0xkey is deny-by-default — missing allows mean reject.

Treasury 2-of-N (high-value ETH transfer)

Require two approvers from the ops-team tag for native transfers above a wei threshold:

Automation allowlist (single recipient)

Backend sweeper may only send to a fixed address:

Agent deny-by-default (explicit deny on broad sign)

Block an agent-tagged user from arbitrary signRawPayload while allowing a narrow contract call elsewhere:
Exact credentials / tag field names depend on enclave CEL context availability. Validate with Policy Simulate before production. If a field is unavailable, fall back to activity.actor / user-id equality conditions documented in Policy language.

Deployer allowlist (contract creation / specific selector)

Gas Station intent (Enterprise)

When using sponsor: true, add policies for EIP-712 intent signing and paymaster execution as described in the Gas Station package (@0xkey-io/gas-station policyUtils). Keep paymaster execution policies separate from user intent policies.

Solana / Tron

Mirror the same patterns with solana.tx.* and tron.tx.* contexts — see Policy language and network pages.