solana-native

The quiet layer for private on‑chain agents.

VEIL provides encrypted intents, masked routing, and verifiable settlement so bots, agents, and apps can coordinate without exposing patterns. Built for Solana speed.

Capabilities

Unseen. Verifiable. Fast.

Encrypted Intents

Sensitive payloads are sealed before transit. Selective reveal lets you disclose only what’s required for audit or dispute.

Masked Routing

Route payouts and messages without exposing sender/recipient patterns. Perfect for fleets and relays.

Verifiable Settlement

Receipts are cryptographically verifiable. Keep trust high while keeping surfaces minimal.

Quickstart

Usage

Install the SDK, create a Veil client, and send a private intent. Works with Node, Deno, and browser builds.

# install
npm i @veil/sdk

# or
pnpm add @veil/sdk
yarn add @veil/sdk
import { VeilClient } from "@veil/sdk";

const veil = new VeilClient({
  cluster: "mainnet-beta",
  treasury: "YOUR_TREASURY_PUBKEY",
  relayUrl: "https://relay.veil.run"
});

// 1) encrypt a payment intent
const intent = await veil.encryptIntent({
  to: "RECIPIENT_PUBKEY",
  amount: 0.25, // SOL
  memo: "agent payout #402"
});

// 2) submit with masked routing
const tx = await veil.submitMasked(intent);

// 3) verify a selective receipt later
const proof = await veil.prove(tx.signature);
console.log("verified:", proof.valid);
FeatureStatusNotes
Encrypted intentsalphasealed payload, sealed headers
Masked routingalphabatching + sponsor-fees
Selective revealbetadisclose to auditor or recipient only
Developers

SDK & APIs

JavaScript

Same-day integration with familiar primitives. Tree‑shakeable, tiny footprint.

import { createVeilKeypair } from "@veil/sdk/crypto";
const kp = await createVeilKeypair();
console.log(kp.publicKey.toBase58());

HTTP Relay

Drop-in relay accepts sealed intents and returns settlement signatures.

POST /v1/relay
Authorization: Bearer <key>
Body: { sealed: "<base64>" }

Receipts

Proof objects verify integrity without leaking counterparties.

const proof = await veil.prove(sig)
if (proof.valid) console.log("ok")
Examples

What you can build

Agent fleets

Pay LLM agents privately with masked micro‑payouts and verifiable receipts.

Tip/airdrop relays

Batch and route thousands of tiny payments without leaking your treasury map.

Consumer wallets

Selective‑reveal receipts keep UX smooth while remaining auditable.

Pricing

Free while in Alpha

VEIL is free for early builders. Production pricing will be usage‑based with generous free tiers.

Docs

Documentation

Full docs ship with the SDK. For access and test keys, DM the project account.