> For the complete documentation index, see [llms.txt](https://docs.rome.builders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rome.builders/apps-on-rome/privacy-dex/vaults.md).

# Vaults

Put USDC into a private vault with a rate set and funded by Rome on devnet.

The **USDC vault** exchanges USDC for its share token, **vUSDC**. Shares are tokens you can exchange back for USDC through the vault. You hold them in your **private balance** as encrypted records called **notes**. Their value in USDC grows at **2% a year** on Solana devnet. This is simple growth from the vault's start, without compounding. Rome sets this rate and pays for it with devnet tokens. The rate is not enforced on chain, and Rome can change it. The devnet vault does not lend your funds. Its rate follows a published schedule rather than returns from lending.

## Your vault balance

The vault page shows what your shares are worth in USDC at the current rate. You do not need to make a transaction for your shares to grow in value. Each share becomes worth more USDC; you do not receive a separate payment.

Putting in exchanges USDC for shares at the vault's quoted rate. Taking out exchanges shares back for USDC. The quote gives the amounts you will exchange. The app checks it against the rate schedule published by Rome's server before asking you to sign.

## Put in

Connect Solflare and [set up or unlock your private account](https://docs.rome.builders/apps-on-rome/privacy-dex/swaps.md#unlock-and-back-up).

1. Open **Vaults** and choose the USDC vault.
2. Under **Put in**, choose **Wallet** or **Private balance** as the source.
3. Enter a USDC amount up to the 10 USDC cap.
4. Select **Put in** to get a quote. The card shows how long the quote lasts. Select **Put in** again and approve the transaction in Solflare.

From the wallet, the USDC payment is public and the received shares are private. An observer can see that your address put USDC into the vault. The public payment and published rate let them work out the shares received.

From the private balance, the amount stays encrypted. Your address and the vault's address are still visible. The app may first prepare a note containing exactly the amount you pay, as for a [private swap](https://docs.rome.builders/apps-on-rome/privacy-dex/swaps.md#pay-from-your-private-balance). This can need a separate wallet approval.

## Take out

Open **Vaults** and choose the USDC vault. Under **Take out**, enter the USDC amount you want to receive. The app works out how many of your private shares to exchange. Select **Take out** to request a quote and review the quoted amount. Then select **Take out** again and approve it in Solflare. As with a private swap, the app may first prepare an exact-amount note, which can need a separate approval. The USDC arrives in your **private balance**.

To receive it in a public wallet, follow with **Move to wallet**. That separate withdrawal reveals the destination, token, and amount on Solana.

**All** selects as much of your vault balance as the per-action cap permits. A balance above the cap takes more than one action to withdraw.

## Devnet caps and availability

Each put-in is capped at **10 USDC**. Each take-out is capped at **10 USDC**. These are limits on individual actions.

Each action must be covered by one available note holding the vault's funds. If no note covers the requested amount, the app asks you to try a smaller amount. When the vault is unavailable, its action buttons are disabled. Taking out depends on Rome's vault service being available and holding enough to cover your amount. Rome keeps the devnet vault funded. There is no other way to exchange shares back for USDC.

Vault trades settle through Rome's escrow program, as [swaps](https://docs.rome.builders/apps-on-rome/privacy-dex/swaps.md) do. Put-ins can pay from either source; take-outs always spend shares from your private balance. Rome sees their quoted amounts, and Helius's hosted prover sees the proof inputs. See [What is private](https://docs.rome.builders/apps-on-rome/privacy-dex/what-is-private.md) for the full visibility rules.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rome.builders/apps-on-rome/privacy-dex/vaults.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
