# Anafi Auditability & Compliance: Verifiable Execution

> The Anafi engine runs in an Intel TDX enclave with on-chain attestation and signed heartbeats, so anyone can verify every rule runs exactly as written.

URL: https://ana.fi/auditability-compliance/

ANA.FI

/

AUDITABILITY & COMPLIANCE

## Verifiable Execution. Auditability and compliance for automated stablecoin payments.

The engine keeps your rules private and proves it ran them: an Intel TDX enclave, an attestation on chain, and a heartbeat it signs every 30 minutes.

HEARTBEAT

signed on-chain

CHAIN

every block, in order

ENGINE FRONTIER

← PROCESSED

PENDING →

PROCESSED

HEARTBEAT BLOCK

HEARTBEAT

Signed on-chain, recording the block it processed to.

THE BUILD

Verifiable by anyone, without seeing your rules.

ON ANOMALY

Refuse, retry or revert. Never guess.

YOUR RULES

Sealed throughout.

HEARTBEAT

THE BUILD

ON ANOMALY

Refuse, retry or revert. Never guess.

YOUR RULES

Sealed throughout.

NON-OMISSION

### A missed payment has nowhere to hide.

Privacy and accountability usually trade against each other. Here they don't: the rule stays sealed inside the enclave, while the record of the engine running it lands in the open.

ANAFI ATTESTED ENCRYPTED ENGINE · EVERY TICK, EVERY SEALED RULE

{engine correctly processed every transaction in block M.. N}

N-5

N-4

N-3

N-2

N-1

N

N+1

the queue, in order

{non-omission proof}

READS EVERY PIECE OF DATA

The engine continuously processes every tick of on-chain or other types of data, matching the conditions of a committed rule to the actual state.

LANDS ON-CHAIN

A signed heartbeat records the block it processed to. Anyone can check it, and check the engine's build, without asking us.

SAFETY LOOP

### A rule that would drain you never gets signed.

Anafi sanity-checks your private rules: every new rule is run against the ones you already hold. If rule A pays rule B and rule B refills rule A, that is a loop: money going in circles while fees quietly eat the balance. The engine flags these and tells you why, in plain language.

YOU

a new rule

ANAFI ENGINE · SEALED RULES

RULE A

RULE B

RULE C

RULE D

pays

loop trigger

LOOP DETECTED · NOT SEALED

THE ENGINE DECIDES

THE ENGINE DECIDES

SEALS IT

the rule lands on-chain

REFUSES IT

THIS RULE

nothing is signed · warning back to you

DEFINED SEMANTICS

### Late data, missing blocks, colliding rules.

A payment engine lives in a world of gaps, stale prices and rules that all want to fire on the same tick. None of it is left to chance: time, faults and concurrency each have semantics written down, so the same inputs always resolve the same way.

chain

clock

prices

budgets

outbox

event

gap · 5 min

revocation

settled

optimistic

settled

frontier

+1.2%

+0.4%

−0.7%

+2.1%

13:00

13:01

budget cap

fire A

refused

fire C

retry B

TIME

A rule is evaluated against the tick it was due on. The engine records how far it has certainly processed, so nothing is decided past the frontier.

FAULTS

A gap in the chain means refuse, not guess. Prices that went stale during the gap are not used, and the deferred rule is retried once the stream returns.

CONCURRENCY

One budget cap across every rule that wants to fire. At the cap the next rule is refused outright rather than partially paid.

PRE-FLIGHT CHECKS

### Three checks before you sign.

A rule you cannot revoke fast enough is a rule you should never have signed. Everything that can be caught before the signature is caught before the signature.

RULE

SIGNED

WARNING · BACK TO THE USER

ENGINE WARNING SYSTEM · PRIVATE

STATIC CHECKS

STATEFUL PREDICTIONS

PLAIN LANGUAGE FORMATTER

STATIC CHECKS

Types, caps and allowlists. Dates that don't exist in every month. Anything malformed is caught before you sign.

STATEFUL PREDICTIONS

A dry run over the last 90 days, on request. A conflict check against your other rules. A flag on any recipient you've never paid.

PLAIN LANGUAGE FORMATTER

The result is explained back to you in a sentence you can read. The explanation never makes the decision.

FAQ

### What can be checked, and by whom.

Can't find what you're looking for? Ask the team directly.

Write to hi@ana.fi

#### How do I check the engine is running the code you claim?

The engine runs in an Intel TDX enclave (a TEE), and we publish its attestation on chain, so anyone can verify the claim. The attestation binds the engine keys to an exact, reproducible image, and our verifier checks it with only an RPC node.

#### What is a signed heartbeat, and how does it prove nothing was skipped?

Every 30 minutes, the engine signs a heartbeat with its TEE key: "I processed this chain up to block N at time T." The attested code reads every block in order, so a valid heartbeat shows that the engine was live and processed every block up to N.

#### Can a scheduled payment be missed or executed twice?

Each payment has a unique on-chain nonce, so the contract rejects a second execution, even after a retry, a restart, or a reorg. If the engine is down at a scheduled time, it catches up and fires each missed payment once, late.

#### How does Anafi prevent payment loops between rules?

When you upload rules, the engine runs a sanity check inside the TEE and returns encrypted warnings that only you can read.

#### What happens when two rules want the same budget at the same time?

The upload sanity check warns when 2 rules spend a fixed amount of the same token. If both are submitted anyway, the later payment reverts if the wallet cannot pay both.

#### What happens if the chain or a price feed has a gap?

A gap in the chain means refuse, not guess. Prices that went stale during the gap are not used, and the deferred rule is retried once the stream returns. The engine never skips a block when the chain or the RPC fails.

#### What checks run before I sign a rule?

The app checks your inputs, then the engine checks the rule inside the TEE: syntax, types, allowlists, and swap routes. The engine approves the exact rule hash, your browser checks that approval, and then you sign 1 transaction that records only the hash on chain.

#### How does our auditor or compliance team read the record?

Every decision is recorded, in order. In Anafi Treasury every allow, approve and deny is in the console, and your signers, or a view-only key you issue, can read the encrypted rules. Anafi keeps evaluation logs for 18 months. Anyone can check the signed heartbeat for gaps without seeing your rules.

#### Is Anafi regulated, and who handles KYC?

No. Anafi is software and holds no financial licence. It is not a bank, money transmitter or custodian. Your funds stay in your own wallet, and you can revoke the engine at any time. Off-ramp comes through licensed partners, and their KYC applies. Anafi itself asks for no KYC for on-chain transfers and swaps. If you build on Anafi, your own regulatory duties stay with you. Wallet addresses may be screened against sanctions and risk lists by Anafi and by partners, and a transfer to or from a flagged address may be blocked.

### USE CASES

#### For businesses

- [Direct Debit Billers pull what the payer approved. Never more.](https://ana.fi/use-cases/direct-debit/)
- [Autopay Pay on a date, or the moment money arrives.](https://ana.fi/use-cases/autopay/)
- [Subscriptions Recurring revenue through one widget.](https://ana.fi/use-cases/subscriptions/)
- [Top-ups & sweeps Warm tops up hot. Surplus sweeps back.](https://ana.fi/use-cases/top-ups-sweeps/)
- [Payouts & payroll Batches on schedule. Large payouts wait for approvers.](https://ana.fi/use-cases/payouts-payroll/)
- [On/off-ramp Stablecoin on-ramp and off-ramp, through licensed partners.](https://ana.fi/use-cases/on-off-ramp/)
- [Recurring off-ramp Stablecoins to a user's bank, on a schedule.](https://ana.fi/use-cases/recurring-off-ramp/)
- [Bill pay Rent and bills, paid by bank transfer.](https://ana.fi/use-cases/bill-pay/)

#### For your wallet

- [Anafi dApp For your own wallet. No integration needed.](https://ana.fi/dapp/)

KEEP READING

NEXT PAGE

Trust & Security

Who holds what, who can act, who can see, and who reviewed the code.

Open page

NEXT PAGE

Products

Anafi Mandates and Anafi Treasury.

Open page

NEXT PAGE

Industries

Who it is for, and which product fits.

Open page

GET STARTED

### Go and read the heartbeat.

Start in sandbox

Talk to Us
