VEIL provides encrypted intents, masked routing, and verifiable settlement so bots, agents, and apps can coordinate without exposing patterns. Built for Solana speed.
Sensitive payloads are sealed before transit. Selective reveal lets you disclose only what’s required for audit or dispute.
Route payouts and messages without exposing sender/recipient patterns. Perfect for fleets and relays.
Receipts are cryptographically verifiable. Keep trust high while keeping surfaces minimal.
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);
| Feature | Status | Notes |
|---|---|---|
| Encrypted intents | alpha | sealed payload, sealed headers |
| Masked routing | alpha | batching + sponsor-fees |
| Selective reveal | beta | disclose to auditor or recipient only |
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());Drop-in relay accepts sealed intents and returns settlement signatures.
POST /v1/relay
Authorization: Bearer <key>
Body: { sealed: "<base64>" }Proof objects verify integrity without leaking counterparties.
const proof = await veil.prove(sig)
if (proof.valid) console.log("ok")Pay LLM agents privately with masked micro‑payouts and verifiable receipts.
Batch and route thousands of tiny payments without leaking your treasury map.
Selective‑reveal receipts keep UX smooth while remaining auditable.
VEIL is free for early builders. Production pricing will be usage‑based with generous free tiers.
Full docs ship with the SDK. For access and test keys, DM the project account.