> For the complete documentation index, see [llms.txt](https://shinkalabs.gitbook.io/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shinkalabs.gitbook.io/hub/andromeda/guides/deploy-policy/velocity-guard.md).

# velocity-guard

This policy rate-limits a dWallet: at most N signatures per sliding slot window. It is a circuit breaker against a compromised key or a runaway integration draining a wallet quickly.

Program address (Solana devnet): `DVAkrYe4SWzihvbh94GC6aB7ESf1h4yxiSDyetq1jkdW`.

## What it enforces

The program counts signatures within a window measured in Solana slots. Once the count for the current window reaches the configured maximum, further signatures are rejected until the window rolls forward. Slots come from the Solana clock, so the limit cannot be gamed with client timestamps.

## Configuration

* **Window size**: length of the window, in slots.
* **Maximum signatures per window**: N.

Changes follow the [policy lifecycle](/hub/andromeda/guides/deploy-policy.md).

## Combine it

* With [`allowlist-destinations`](/hub/andromeda/guides/deploy-policy/allowlist.md): "only these programs, capped at N per window".
* With [`oracle-conditional`](/hub/andromeda/guides/deploy-policy/oracle-conditional.md): rate-limited and paused on a price move.
* With [`rules-policy`](/hub/andromeda/guides/deploy-policy/rules-policy.md): rate-limited day-to-day, recoverable if the key is lost.

## On-chain guarantees

* Enforced by the authority-holding program; the API cannot exceed the limit.
* Init-authority-hash seeded PDA (no front-running).
* Replay-nonced configuration changes.

## When to use it

* Treasuries and operational wallets that should never move large numbers of signatures in a short time.
* Anything where "if something goes wrong, slow the bleeding" is a requirement.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shinkalabs.gitbook.io/hub/andromeda/guides/deploy-policy/velocity-guard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
