Using the Policy Engine

The Policy Engine is a powerful tool that allows you to create and enforce policies across your organization. Policies can be used to enforce security, compliance, and operational best practices. The Policy Engine is a core component of Levain and it enables you to setup workflows that are tailored to your organization's needs.

Types of policies

In Levain, there are various types of policies that you can create. Each policy type has its own set of rules that you can configure. These are the existing policy types and their respective rules.

Approval quorum

The Approval Quorum is made up of a set of Wallet Approvers and an Approval Threshold. The Approval Threshold is the minimum number of Wallet Approvers that must approve a transaction request before it can be signed by a Signer.


The Signer is a policy and not a role. This policy allows you to specify an existing Wallet Approver as the Signer. The Signer is the Wallet Approver responsible for signing off on a transaction request before it can be sent to the blockchain, and must know the wallet's Wallet Password. The Signer should typically be a senior member of your organization.

In Levain v24, you can now designated Wallet Approvers as Signers, by using an invitation code, to join the wallet. This is to allow new Signers to set their own Wallet Password on the User signing key.

You can specify multiple Signers for a wallet, but only one Signer is required to sign off on a transaction request.

Whitelisted addresses

The Whitelisted Addresses policy allows you to specify a list of addresses that are allowed to send transactions from the wallet. Currently, Levain requires you to whitelist an address before it can be used to send transactions from the wallet.

This policy is enforced on all native token transfers and ERC-20 token transfers.