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

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Private Channels

> Private Channels: private, instant, zero-fee token transfers in institution-operated payment channels that settle onchain with a Sparse Merkle Tree proof.

<Warning>
  OtterSec audited Private Channels (three reports dated September 2, 2026, at
  commits `977327b` and `d2a25b3`) and Cantina re-reviewed it (October 19,
  2026, at commit `641a5f1b`); the reports are in the repository's
  [`audits`](https://github.com/solana-foundation/solana-private-channels/tree/main/audits)
  folder. These docs target commit `c9e2240`, the source of the devnet program,
  and many fixes for the audit findings landed after it. Have the exact commit
  and configuration you deploy reviewed before you use it with real funds.
</Warning>

**Private Channels is an enterprise layer for internet capital markets on
Solana.** It provides a configurable app-layer for private, instant, zero-fee
transfers inside payment channels: users deposit SPL tokens into an onchain
escrow program, transact offchain through a gateway, and settle back to Mainnet
via a Sparse Merkle Tree proof, giving app developers instant, zero-fee, private
transfers without leaving the Solana ecosystem.

## Resources

- **[Product page](https://launch.solana.com/products/private-channels)**
- **[GitHub](https://github.com/solana-foundation/solana-private-channels)**
- **[Brochure (PDF)](https://launch.solana.com/assets/Contra.pdf)**

### Why Private Channels?

- **Instant transfers**: offchain throughput beyond Solana's native TPS;
  transfers confirm when the sequencer processes them, not when a block confirms
- **Zero per-transfer fees**: no gas cost on individual channel transfers; users
  pay only for onchain deposits and withdrawals
- **Privacy**: transfers between channel participants are not recorded on Solana
  Mainnet
- **Permissioned access**: RBAC with JWT authentication lets you control who can
  send and receive
- **Mainnet settlement**: funds are always redeemable to Solana via a Sparse
  Merkle Tree exclusion proof, which the escrow program enforces onchain

See the **[Overview](/developers/docs/tools/private-channels/overview)** for the full
architecture, data flow diagram, and security model.

## Quick Start

```typescript
import { getDepositInstructionAsync } from "../private-channel-escrow-program/clients/typescript/src/generated/instructions/deposit";

const depositIx = await getDepositInstructionAsync({
  payer: payerSigner,
  user: userSigner,
  instance: instancePda,
  mint: mintAddress,
  userAta: userAtaAddress,
  amount: 1_000_000n, // 1 USDC
  recipient: null
});
// send via your preferred Solana client
```

TypeScript clients are generated from the IDL at commit `c9e2240`, the source of
the devnet program; see Installation. For Token-2022 mints, pass
`tokenProgram: TOKEN_2022_PROGRAM_ADDRESS` explicitly, since it defaults to the
standard SPL Token Program.

**[Full Quickstart](/developers/docs/tools/private-channels/quickstart/installation)** -
environment setup and client generation

**[Overview](/developers/docs/tools/private-channels/overview)** - architecture and data
flow

## Use Cases

- **Institutional bilateral payments** - banks and institutions that need
  high-volume, private USDC flows without every transfer appearing onchain
- **High-frequency app-layer transfers** - gaming, loyalty, and consumer apps
  that need sub-second, zero-fee transfers at scale beyond native Solana TPS
- **Privacy-preserving token flows** - any use case where counterparty and
  amount privacy is a product requirement

**[When to use native SPL transfers instead](/developers/docs/tools/private-channels/concepts/channels#when-to-use-private-channels)**

## Next Steps

<Columns cols={2}>
  <Card
    title="Installation"
    href="/developers/docs/tools/private-channels/quickstart/installation"
  >
    Set up your environment and generate TypeScript clients.
  </Card>
  <Card title="Deposit" href="/developers/docs/tools/private-channels/quickstart/deposit">
    Make your first deposit into the escrow.
  </Card>
  <Card title="Overview" href="/developers/docs/tools/private-channels/overview">
    Understand the architecture and data flow.
  </Card>
  <Card
    title="Instructions"
    href="/developers/docs/tools/private-channels/instructions/deposit"
  >
    Full instruction reference for all programs.
  </Card>
</Columns>

## Community & Support

- Questions? Ask on [Solana Stack Exchange](https://solana.stackexchange.com/)
  (use the `solana` tag)
- Issues? Report on
  [GitHub Issues](https://github.com/solana-foundation/solana-private-channels/issues)

Built and maintained by the [Solana Foundation](https://solana.org). Licensed
under the MIT License.
