CORONA
WHITEPAPER

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.

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:

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

RULEVALUE
Block time1 s
Quiet chain blockevery 1 min
Max txs per block500
Receipt to Solanaevery 10 s
Trade fee1%
Creator share of the trade fee50%
Coin supply1,000,000,000 tokens
Curve completeswhen 793,100,000 tokens are sold
GraduationCreator opens a public Meteora pool on Solana
Graduation claimEach holder claims the SPL token to any Solana address
Pay link expiryup to 90 days
Withdrawal minimum0.001 SOL
PROOF

Sealed on Solana.

Corona writes a receipt of its blocks to Solana. Check every address and signature yourself.

CHAIN HEAD1,666
BLOCKS SEALED1,539
NETWORKMainnet

On chain

Settlement programGGCiHQfdQTPejomThobPc9268mzF24BECFFCAEgTp33c
Receipts account8ZvbQxqenLsDXXUc5dw2yCdvWwAFvRGGLpYKWkjdo7uW
DoorHQpWXJY8aLnJwDaZ43doVtv2C9fdsqRUQ56WBVjs1AYw
Latest deposit into the door5iUNw9ZFgTN27FeYks2ontzFRiLWAjjXgoKsHPEtVpSHsQ8GT9dx51eWMTXD64kzkrKGDQXMZZYR5wmz9NMWoDRi 9h ago
Chain head1,666
Blocks sealed1,539
Latest sealed block1,538
Latest receipt47uCDTHGbf1vYxVC2nbJz35tSpE5ho76RfnwCpFNMNgY7b6kEZYKRjJdLvkwnrnRuEDo7WpYoL7nr2ziMsTnpBtm
Latest state root485063260b4c6798f6b7708b5c8527017b1d80a8d00fb7351efd36e5b57c24f9

Recent receipts