# Hot Wallet Automation: Top-ups and Sweeps on Signed Rules

> A minimum and a maximum balance per wallet: warm tops up hot, surplus sweeps back, no signer needed. Caps per transfer and per day.

URL: https://ana.fi/use-cases/top-ups-sweeps/

[ANA.FI](https://ana.fi/) / USE CASES / TOP-UPS & SWEEPS

## Refilled below the floor. Swept above the ceiling. Hot wallet top-ups and sweeps, automated by rules you sign once.

Set a minimum and a maximum for each wallet. Warm tops up hot, surplus sweeps back, and no signer has to be awake. Cold stays with your signers.

[Start in sandbox](https://portal.ana.fi/) [Talk to Us](https://ana.fi/talk/)

### What it is: What are hot wallet top-ups and sweeps?

A top-up refills a hot wallet when its balance falls below a minimum. A sweep moves the surplus back when the balance rises above a maximum. With Anafi Treasury both run on rules your signers approve once: the warm wallet tops up hot, the surplus sweeps back to warm, and no signer has to approve each transfer. Cold stays with your signers.

### How top-ups and sweeps work: Hot stays funded. Little sits exposed.

01 FLOOR

Below the minimum, warm tops up hot.

02 CEILING

Above the maximum, the surplus sweeps back.

03 LIMITS

Every move stays inside the caps and allowlists you set.

### RUNS ON: Part of Anafi Treasury.

#### Anafi Treasury

Treasury on autopilot. Your signers keep the keys.

### Hot wallet limits and controls: Limits on every wallet.

- **LEVELS:** A minimum and a maximum balance per wallet. [LEVELS](https://ana.fi/products/treasury/#3)
- **CAPS:** Per transfer and per day. [CAPS](https://ana.fi/products/treasury/#8)
- **APPROVALS:** Holds on the wallets you choose. [APPROVALS](https://ana.fi/products/treasury/#7)
- **FREEZE:** All outflows stop in one step.
- **ROLLOUT:** Replay your history, dry run on real wallets, then live. [ROLLOUT](https://ana.fi/products/treasury/#10)

### FAQ: Questions about top-ups and sweeps.

#### Does Anafi hold the keys to our wallets?

No. Your Safe keeps its owners and its threshold, and no Safe key is shared with Anafi. Your signers enable one module and approve the rule file. The engine holds only its own signing key, inside an Intel TDX enclave, and the module accepts a transfer only with a valid engine signature that has not expired or been used before.

#### What stops a top-up rule from moving too much?

Caps. You set a limit per transfer and a rolling limit per hour, day or week, and transfers go only to addresses in your signed rule file. Past a cap, the engine refuses to sign the next transfer, records the decision and notifies you by email. Some caps are also enforced on chain by the module.

#### Can a rule move funds out of cold storage?

No. Only your signers move money out of the cold wallet. Rules can send surplus up to cold, never out of it. Day to day the rules work between warm and hot: warm refills a hot wallet below its minimum and takes back anything above its maximum.

#### How do we test the rules before they move real funds?

In three stages. In the sandbox you replay 30 to 365 days of your own activity, with shocks such as a withdrawal spike, a depeg or a chain halt. In a dry run the rules watch your real wallets and record what they would have done. Then your signers approve the rule file and it goes live.

#### What happens if Anafi goes offline?

Automation stops. Funds stay in your Safe, and your signers move them by hand as before. The engine signs a heartbeat that records the block it has processed to, so anyone can see if it has stopped. To leave, one multisig transaction per Safe removes the module, and there are no funds to migrate.

### MORE 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/)
- [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/)

07 KEEP READING

- **TRUST & SECURITY:** Who holds what, and who can act. [Trust & Security](https://ana.fi/trust-security/)
- **AUDITABILITY & COMPLIANCE:** How the engine proves it skipped nothing. [Auditability & Compliance](https://ana.fi/auditability-compliance/)
- **PLAYGROUND:** Build a rule and read what it produces. [Playground](https://portal.ana.fi/)

GET STARTED

### Hot stays funded. Cold stays cold.
