> For the complete documentation index, see [llms.txt](https://docs.flap.sh/flap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flap.sh/flap/developers/vault-developers/quick-start-vault-developers.md).

# Quick start for Vault Developers

Welcome to the Vault Developers guide! This section will help you get started with developing and integrating with Flap's vault system.

## Overview

Flap's vault system allows you to build a smart contract for managing and distributing BNB revenue generated from tax tokens. Vaults can be customized to fit various use cases, such as splitting revenue among multiple recipients or routing funds based on social proof, or funding a game treasury. The only limitation is your creativity!

{% hint style="info" %}
**Permissionless vault creation** — You can now create and deploy your own vaults and vault factories **without any permission or registration**. Vault factories no longer need to be registered in the VaultPortal before they can be used to launch tokens.
{% endhint %}

{% hint style="success" %}
Work through the [FlapVaultExample repository](https://github.com/flap-sh/FlapVaultExample) for a complete working example of a vault and vault factory implementation. It is the fastest way to understand the patterns you need to follow.
{% endhint %}

{% hint style="info" %}
Once you have written your vault, use the [FlapVaultSpecChecker](https://github.com/flap-sh/FlapVaultSpecChecker) AI toolkit to automatically verify that your implementation correctly follows the specification before deploying.
{% endhint %}

## Available vault types

Flap currently supports the following official vault types:

1. **Split Vault** - Distributes BNB revenue across multiple recipients based on configurable basis points (percentage shares)
2. **Gift Vault (FlapXVault)** - Routes revenue based on X (Twitter) proof verification with fallback to snowball buyback

## Next steps

* Review the [Vault & VaultFactory specification](/flap/developers/vault-developers/vault-and-vaultfactory-specification.md) to understand how to build your own vaults and vault factories
* Read the [Flap Tax Vault](/flap/developers/vault-developers/flap-tax-vault.md) documentation for an overview of the vault concept and VaultPortal integration
* Explore registered (i.e, verified by Flap) vaults in the [Registered Vaults](/flap/developers/token-launcher-developers/registered-vaults.md) page to see available vault factories and their configuration schemas
* Learn about the [Gift Vault (FlapXVault)](/flap/developers/vault-developers/gift-vault.md) and how to integrate X proof-based revenue routing

## Common workflows

1. **Launch a token with a custom vault** — You can launch a token and set the fund recipient wallet to your smart contract. If it follows the spec defined in the [Vault & VaultFactory specification](/flap/developers/vault-developers/vault-and-vaultfactory-specification.md), its info will be automatically available on our website and partner websites. No registration is required.
2. **Build a vault factory for others** — If you have an idea to build a vault to be used by others, you can build a `VaultFactoryBaseV2` and take a portion of the tax as a commission in each vault you create. Implement `vaultDataSchema()` so the UI can automatically render a launch form for your vault type. See the [Vault & VaultFactory specification](/flap/developers/vault-developers/vault-and-vaultfactory-specification.md) for full details.


---

# 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://docs.flap.sh/flap/developers/vault-developers/quick-start-vault-developers.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.
