---
title: Private Channels
description:
  Enterprise app-layer for internet capital markets on Solana, providing
  private, instant, zero-fee token transfers in payment channels settled
  on-chain via a Sparse Merkle Tree proof.
---

<Callout type="warning">
  Private Channels has not been security audited and is not recommended for
  production use with real funds without a thorough security review.
</Callout>

**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 on-chain
escrow program, transact off-chain 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](/assets/docs/tools/private-channels/Contra.pdf)**

### Why Private Channels?

- **Instant transfers**: off-chain 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 on-chain 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 on-chain

See the **[Overview](/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";

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; see Installation. For Token-2022
mints, pass `tokenProgram: TOKEN_2022_PROGRAM_ADDRESS` explicitly, since it
defaults to the standard SPL Token Program.

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

**[Overview](/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 on-chain
- **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](/docs/tools/private-channels/concepts/channels#when-to-use-private-channels)**

## Next Steps

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

## 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.
