This page provides examples of policies governing signing.
{ "policyName": "Allow <USER_ID> to sign transactions with <WALLET_ID>", "effect": "EFFECT_ALLOW", "consensus": "approvers.any(user, user.id == '<USER_ID>')", "condition": "activity.action == 'SIGN' && wallet.id == '<WALLET_ID>'" }
{ "policyName": "Allow <USER_ID> to sign transactions with <WALLET_ACCOUNT_ADDRESS>", "effect": "EFFECT_ALLOW", "consensus": "approvers.any(user, user.id == '<USER_ID>')", "condition": "activity.action == 'SIGN' && wallet_account.address == '<WALLET_ACCOUNT_ADDRESS>'" }
{ "policyName": "Allow <USER_ID> to sign transactions with <PRIVATE_KEY_ID>", "effect": "EFFECT_ALLOW", "consensus": "approvers.any(user, user.id == '<USER_ID>')", "condition": "activity.action == 'SIGN' && private_key.id == '<PRIVATE_KEY_ID>'" }
Was this page helpful?