> 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/time-lock.md).

# time-lock

This policy restricts signing to allowed slot ranges. Outside the window, the dWallet cannot sign at all.

Program address (Solana devnet): `2i4bE6s7oc8kkziQETy55SGWQXxwotkpERr9XMv7Q7qs`.

## What it enforces

The program compares the current Solana slot against the configured allowed range(s). A signature is approved only if the slot falls inside an allowed range. The Solana clock is the only time source.

## Configuration

* **Allowed slot range(s)**: the window or windows during which signing is permitted. Use a single future range for a one-time unlock, or recurring ranges for scheduled access.

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, only during this window".
* With [`velocity-guard`](/hub/andromeda/guides/deploy-policy/velocity-guard.md): "only during this window, and at most N per sub-window".

## On-chain guarantees

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

## When to use it

* Vesting-style unlocks: funds become movable only after a slot.
* Scheduled operations: a treasury that only acts during a known maintenance window.
* Emergency freezes: set the allowed range to the past to make the wallet immovable until reconfigured.


---

# 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/time-lock.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.
