Example Policies

Each example below includes an interactive editor — modify the policy and see the compiled output update in real-time. They are ordered from simplest to most complex.

Monitoring Bot

Read-only access using prefix matching, with a deny rule for sensitive data.

This policy:

Payment App

A spending-limited rune for an app that can check balances and send payments.

This policy:

Channel Operator

A full policy combining peer restriction, tags, prefix matching, conditional constraints with grouping, and a global rate limit.

This policy: