Built for Solana

Privacy-preserving stealth addresses for Solana

Send and receive SOL without revealing your identity on-chain. Unique one-time addresses for every payment.

Simple, intuitive API

Create stealth payments in just a few lines of code

main.rs
use onyx_sdk::prelude::*;

// Sender creates a stealth payment
let payment = StealthPayment::create(&receiver_meta)?;

// Send SOL to the unique stealth address
transfer(&payer, &payment.stealth_address, amount)?;

// Receiver detects and spends the payment
let keypair = StealthKeypair::derive(&meta, &ephemeral)?;

Why Onyx?

Everything you need for private payments on Solana

Stealth Addresses

Generate unique one-time addresses for each payment, completely unlinkable to your public identity.

True Privacy

Observers cannot connect payments to your wallet. Only you can detect incoming funds.

Native Ed25519

Works seamlessly with Solana's native key format. No additional cryptographic overhead.

Simple SDK

Clean Rust API designed for developers. Integrate stealth payments in minutes.

On-chain Registry

Anchor program for efficient payment detection. Scan and discover your funds easily.

CLI Included

Command-line tools for quick testing and integration. Init, send, scan, and spend.

How it works

ECDH-based stealth addresses in four simple steps

01

Generate

Receiver creates a stealth meta-address and shares the public portion.

02

Derive

Sender uses the meta-address to derive a unique stealth address.

03

Transfer

Sender transfers SOL and publishes the ephemeral public key.

04

Spend

Receiver scans, detects the payment, and derives the spending key.

Use cases

Privacy-preserving payments for every scenario

Private Donations

Accept contributions without exposing all donors publicly on-chain.

Payroll

Pay employees privately without revealing salary information.

Anonymous Purchases

Buy goods and services without linking transactions to your identity.

Treasury Management

Move funds between wallets without exposing organizational structure.

Ready to build?

Start integrating privacy-preserving payments in your Solana application today.