Skip to main content

Set policy and payments

policy.json is your app’s rule book. It tells Gora, wallets, and contracts what the app is allowed to request. A good first policy is strict:
  • one chain
  • one action
  • one or two recipients
  • low amount limits
  • manual mobile approval

Example policy

Important fields

Execution modes

Who pays?

Gora does not assume it pays gas or holds keys. Pick one of these designs:

Manual mobile signing flow

This is the recommended first flow for anything that moves value.

Pre-approved flow

Use this only after manual signing is working.

Units by chain

Validate policy changes

After editing policy.json:
Then redeploy:
Next: Devnet quickstart.