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 theops-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 arbitrarysignRawPayload 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 usingsponsor: 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 withsolana.tx.* and tron.tx.* contexts — see Policy language and network pages.