> For the complete documentation index, see [llms.txt](https://docs.factor.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.factor.fi/factor-building-blocks/yield/zap.md).

# Zap

Zap is a feature integrated into Factor's infrastructure, and it enables users to deposit any asset into any strategy. This removes friction from the deposit process as users can easily deposit regardless of the type of tokens they hold.

### **Functionality of Zap**

* **Universal Deposits**: Zap allows users to deposit into any vault using any token they hold. This eliminates the requirement for specific tokens for different vaults.
* **Instant Transitions**: The feature ensures rapid and secure token conversions and deposits.
* **Cost-Efficiency**: Zap optimizes for the most effective conversion routes, aiming to provide the best rates with minimal slippage.

### **How Does it Work?**

* **Deposit Process**: Users can select any vault on the Factor platform and deposit using any token. Zap then automatically handles the conversion of this token into the required token for the chosen vault.
  1. **Selection**: The user selects a vault and the token for deposit.
  2. **Zap Operation**: On confirming the deposit, Zap converts the selected token to the vault's required token.
  3. **Completion**: The conversion is executed, and the deposit is made into the strategy. The user receives real-time updates on the status of each transaction.

We've taken extensive measures to guarantee a safe and reliable experience. Our contracts have undergone comprehensive audits at both the infrastructure and strategy levels by Peckshield. While continuous transaction monitoring by Chainalysis adds an extra layer of security. For more details on our security measures, please visit our [security](/security/security.md) page.&#x20;


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.factor.fi/factor-building-blocks/yield/zap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
