Corona
The first fully private L2 on Solana, powered by Privacy Rings.
Abstract
Corona is a Layer 2 chain on Solana where balances, payments, trades and coin launches are private by default. It produces its own signed blocks, each committing to the full chain state with a Merkle state root, and it writes receipts of those blocks to its own settlement program on Solana. Value enters and leaves through a Helius Privacy Rings vault, so users come in with normal SOL and leave with normal SOL.
The problem
Solana is fast and open, and open means every wallet is a public record. One address reveals a balance, every payment, every trade and every launch. Traders get copied, orders get front run and creators get watched. Privacy Rings gives Solana a private vault. Corona builds a full chain on top of it, with its own blocks, payments, markets and launchpad, where privacy is the starting point.
Design overview
Corona has three layers.
- The chain. Accounts, transactions, blocks and state. Every state change is a signed transaction inside a block.
- The settlement program. A native Solana program that records receipts of Corona blocks in a hash chain that can only move forward.
- The door. A Helius Privacy Rings vault on Solana that holds deposited SOL and pays out withdrawals.
Accounts and transactions
A Corona account is a Solana public key. There is no new wallet and no new seed phrase. A transaction is a canonical JSON message with a type, a body, the sender and a nonce, signed with the sender's Solana key through the wallet's message signing. Nonces are counted per account, so a transaction can never be replayed or applied twice.
Transaction types cover the whole product: transfers, pay links, coin launches, buys, sells, graduation, claims and withdrawals. Deposits, payouts and refunds enter as system transactions, so every movement of value appears in a block.
Blocks
Transactions are ordered into blocks. Each block header holds:
- height and parentHash, chaining every block to the one before it
- timestamp and txCount
- txRoot, the Merkle root of the block's transaction hashes
- stateRoot, the Merkle root of the full chain state after the block
The block hash is the SHA256 of the canonical header, and the block is signed by the Corona block producer key. In the Merkle tree a leaf is SHA256(0x00 || key || 0x00 || SHA256(value)) and each pair above it is SHA256(0x01 || left || right). Any change to any account changes the state root.
Settlement on Solana
Corona's settlement program is a native Solana program. Each chain has one config account, a PDA derived from the seeds "config" and the chain id. Only the program's upgrade authority can initialize it, and only the chain authority can write receipts.
A receipt covers a range of blocks and carries the range, a Merkle root over the block hashes in it, the state root after the last block, the last block hash and the transaction count. The program enforces order: every receipt must start exactly one block after the last one, so receipts can't be replayed or skip a block. Each receipt extends a hash chain:
checkpoint_hash = SHA256(prev_checkpoint_hash || from || to || blocks_root || state_root || last_block_hash || tx_count)
The program logs every field, so each receipt can be read straight from the Solana transaction and matched against the same blocks in the explorer.
The door
The door is a Helius Privacy Rings vault. A deposit sends SOL from any Solana wallet into the vault, and Corona credits the depositor's account in a system transaction. A deposit made from an existing Privacy Rings balance keeps the amount hidden from the moment it leaves.
A withdrawal is a signed Corona transaction naming any Solana address. The amount leaves the user's balance in the same block, and the door pays it out as SOL. Every payout is exactly once: the Solana signature is recorded before it is broadcast, and a retry settles that record first, so a payout can never be sent twice. If a payout can never succeed, the amount is refunded on Corona.
Privacy model
Corona separates what proves the chain from what belongs to the user.
PUBLIC
- Blocks, hashes and state roots
- Tx hash, type and status
- Coin prices, curves and candles
- Receipts on Solana
PRIVATE
- Who sent a tx
- Who received it
- Amounts and balances
- Who created a coin
Private account data is only served to its owner, who proves ownership by signing a fresh timestamped message with their Solana key on every request.
Applications
Payments. Send SOL to any Corona account. Sender, receiver and amount stay private.
Pay links. Lock an amount behind a link and share it. Whoever opens it claims the funds into their own account.
Markets. Every coin trades on its own bonding curve inside Corona, with prices, market cap and volume shown in USD.
Launchpad. Anyone can launch a coin, and the creator earns a share of every trade. When the curve completes, a coin set for public graduation moves to a Meteora DAMM v2 pool on Solana, a real SPL mint is created, and every holder claims their tokens to any Solana address.
Rules
| RULE | VALUE |
|---|---|
| Block time | 1 s |
| Quiet chain block | every 1 min |
| Max txs per block | 500 |
| Receipt to Solana | every 10 s |
| Trade fee | 1% |
| Creator share of the trade fee | 50% |
| Coin supply | 1,000,000,000 tokens |
| Curve completes | when 793,100,000 tokens are sold |
| Graduation | Creator opens a public Meteora pool on Solana |
| Graduation claim | Each holder claims the SPL token to any Solana address |
| Pay link expiry | up to 90 days |
| Withdrawal minimum | 0.001 SOL |
Sealed on Solana.
Corona writes a receipt of its blocks to Solana. Check every address and signature yourself.
On chain
| Settlement program | GGCiHQfdQTPejomThobPc9268mzF24BECFFCAEgTp33c |
| Receipts account | 8ZvbQxqenLsDXXUc5dw2yCdvWwAFvRGGLpYKWkjdo7uW |
| Door | HQpWXJY8aLnJwDaZ43doVtv2C9fdsqRUQ56WBVjs1AYw |
| Latest deposit into the door | 5iUNw9ZFgTN27FeYks2ontzFRiLWAjjXgoKsHPEtVpSHsQ8GT9dx51eWMTXD64kzkrKGDQXMZZYR5wmz9NMWoDRi 9h ago |
| Chain head | 1,666 |
| Blocks sealed | 1,539 |
| Latest sealed block | 1,538 |
| Latest receipt | 47uCDTHGbf1vYxVC2nbJz35tSpE5ho76RfnwCpFNMNgY7b6kEZYKRjJdLvkwnrnRuEDo7WpYoL7nr2ziMsTnpBtm |
| Latest state root | 485063260b4c6798f6b7708b5c8527017b1d80a8d00fb7351efd36e5b57c24f9 |