Skip to main content
After you read this page, you can start from the example closest to your use case and change it. Each document on this page passes the parser and the type checks of the engine. Each note says on which network and for which account kind the stage accepts it. Replace the example addresses with real ones before you stage a document. Never use the account itself or the zero address as a recipient. Most examples set global.fees_method to USDC. That makes them valid for both account kinds: an erc20_allow account needs an ERC-20 fee token, and a safe_module account accepts it too. A Safe can remove the global block and pay the fees in the native coin.

Standing order

Pay 1200 USDC to the landlord on the 1st of each month at 09:00 Berlin time.

Payroll batch

Pay three people on the 25th of each month, all in one transaction, and only to listed addresses.

Savings split

When the employer pays between 1000 and 20000 USDC, send 20% to savings and 10% to a brokerage. The rest stays in the account.

Tax set-aside

Move 25% of each USDC arrival to a tax reserve, at most 2500 USDC per arrival.

Auto-convert on arrival

Swap each arrival of 10 USDT0 or more to USDC.

Dollar-cost average (DCA)

Buy WETH for 50 USDC every Friday at noon New York time, during 2027 only.

Stop-loss with a price trigger

Sell 0.5 WETH for USDC when the WETH price falls to 2000 USD or less and stays there for 5 minutes. At most one sale per day. The rule ends after June 2027.

Take profit on X Layer

When xBTC stays at or above 80000 USD for 10 minutes, send 0.01 xBTC to an exchange deposit address and send an email.

Reimbursement

Each time a partner account pays between 1 and 500 USDC, pay the partner back half of it.

Bank payout

Pay rent of 1500 euros to a person’s bank account on the 1st of each month. Send each EURe arrival of 100 EURe or more to a company bank account.

Notify only

Send an email when the employer pays 1000 USDC or more, and when 5000 USDC or more leaves the account. No funds move.

Several rules under global limits

Four rules share one document. The allowlists bound every rule: only USDC and WETH, and only three recipients.

A rule with start and expiry, and a paused rule

Pay a contractor 750 USDC every Friday at 17:00 Paris time in the first quarter of 2027 only. Keep a weekly stipend in the document, but do not pay it.

One-shot payment

Pay one invoice of 980 USDC on 15 March 2027 at 10:00 Paris time.

Match donations to another account

Each time a charity account receives a donation of 10 to 500 USDC, pay the same amount to a charity fund.

Stop every rule

Retire every rule of the account and keep the permission in place.