> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloak.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Networks and assets

> Where Cloak runs, which tokens the private balance holds, and which networks money can come from or go to

Cloak's private balance lives on Solana mainnet. There is no devnet or testnet deployment, and
the SDK refuses to run against a local validator. Test with small amounts.

## Tokens in the private balance

Each token has its own shielded pool, with its own Merkle tree and its own fee configuration. A note
in one pool can never be spent in another.

| Token | Mint | Decimals | Withdrawal fee (live `PoolConfig`) | Smallest deposit |
| - | - | - | - | - |
| SOL | native (`NATIVE_SOL_MINT`) | 9 | 0.005 SOL + 0.3% | 0.01 SOL |
| USDC | `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` | 6 | 0.45 USDC + 0.3% | 1 USDC |
| USDT | `Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB` | 6 | 0.45 USDT + 0.3% | 1 USDT |
| BRS | `BRSxQRUaGswjLs7ewcH7uXj3r7SgmfKSSLLXyCKHZtUo` | 6 | 2.3 BRS + 0.3% | see `quote` |

Fees are program policy, stored per pool on chain, and they can change. The figures above were read
from mainnet with `readPoolFeeConfig` on 2026-11-30. Read them at runtime instead of hard-coding
them:

```ts theme={null}
import { CLOAK_TOKENS, createCloakRpc, readPoolFeeConfig } from "@cloak.dev/sdk";

const rpc = createCloakRpc(process.env.SOLANA_RPC_URL!);
const fee = await readPoolFeeConfig(rpc, CLOAK_TOKENS.USDC.mint);
console.log(fee); // { fixedFee: 450000n, variableNumerator: 3n, variableDenominator: 1000n }
```

With `createCloak`, `cloak.quote(...)` returns the fee and the amount that arrives for a specific
request, so you rarely need the raw config. Deposits and private sends carry no protocol fee; only
value leaving the pool pays. See [Fees](https://docs.cloak.ag/concepts/fees.md).

`CLOAK_TOKENS` maps each symbol to `{ symbol, mint, decimals }`, and `createCloak` calls take the
symbol (`token: "USDC"`).

## Other networks

Money can be shielded from, and sent to, a few other networks. The private balance itself is always
on Solana; these routes carry the money in and out.

| Network | Shield from it | Arrives as | Send to it | Arrives there as |
| - | - | - | - | - |
| Base | USDC or ETH | USDC | USDC | USDC |
| Polygon | USDC | USDC | USDC | USDC |
| Sui | USDC | USDC | USDC | USDC |
| Tron | not offered | | USDC | USDT (TRC-20) |
| Base, through LayerZero | BRS | BRS | BRS | BRS |

The exported `NETWORKS` list is the same table in code, with each network's tokens and minimums.
Read it rather than hard-coding a network. Route guarantees, minimums and refund behaviour differ
per route: see [Cross-chain](https://docs.cloak.ag/guides/cross-chain.md).

## What you need to build

| Requirement | Detail |
| - | - |
| Runtime | Node 22 or later, or a modern browser through a bundler |
| Package | `@cloak.dev/sdk` 0.2.20 and `@solana/kit` |
| Solana RPC | Your own mainnet endpoint. Cloak hosts none. See [Network and RPC](https://docs.cloak.ag/resources/network-and-rpc.md) |
| A signer | A user's wallet in an app, or a key your server holds. See [Wallet integrations](https://docs.cloak.ag/wallets/overview.md) |
| Funds | The token you shield, plus a little SOL for the deposit transaction |

## Related

> [card] [Program IDs and addresses](https://docs.cloak.ag/resources/program-ids.md)
>
> The program, upgrade authority, mints and verifiable hashes.

> [card] [Quickstart](https://docs.cloak.ag/get-started/quickstart.md)
>
> Shield, send and withdraw in a few calls.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.