Skip to main content

Quick Access

Check out private transfer example:

GitHub

Anchor Implementation

dApp

Make private transfers

Step-By-Step Guide

1

Write your program

Write your Solana program as you normally.
2

Add restrictions through permission hooks in your program.

Add CPI hooks that create groups and permissions that enable restrictions for specific delegated accounts.
3

Add delegation hooks in your program

Add CPI hooks to delegate, commit and undelegate state accounts through Ephemeral Rollup sessions.
4

Deploy your program on Solana

Deploy your Solana program using Anchor CLI.
5

Implement authorization in your client

Sign user message to retrieve authorization token from TEE endpoint.
6

Execute transactions and test privacy

Request for authorization token and send confidential transactions.

Private Transfer Example

Private Payments GIF The following software packages may be required, other versions may also be compatible:

Code Snippets

A simple transfer program where tokens are tracked through deposit accounts, and locked in a vault account:
⬆️ Back to Top

Solana Explorer

Get insights about your transactions and accounts on Solana:

Solana Explorer

Official Solana Explorer

Solscan

Explore Solana Blockchain

Solana RPC Providers

Send transactions and requests through existing RPC providers:

Solana

Free Public Nodes

Helius

Free Shared Nodes

Triton

Dedicated High-Performance Nodes

Solana Validator Dashboard

Find real-time updates on Solana’s validator infrastructure:

Solana Beach

Get Validator Insights

Validators App

Discover Validator Metrics

Server Status

Subscribe to Solana’s and MagicBlock’s server status:

Solana Status

Subscribe to Solana Server Updates

MagicBlock Status

Subscribe to MagicBlock Server Status

MagicBlock Products

Ephemeral Rollup (ER)

Execute real-time, zero-fee transactions securely on Solana.

Private Ephemeral Rollup (PER)

Protect sensitive data with privacy-preserving computation.

Verifiable Randomness Function (VRF)

Generate provably fair randomness directly on-chain.