Quickstart
Make a key, send a request, check the receipt. Five minutes from nothing to a verified reply.
Veil Network speaks the OpenAI and Anthropic APIs. Any SDK, framework or agent that lets you set a base URL works unchanged. Every response carries a signed receipt.
1. Get a key
Open the developer portal and sign in with a Solana wallet. Signing in is a free signature: nothing is sent from the wallet. Mint a key and copy it. It is shown once and kept on our side only as a sha256 hash.
2. Send a request
The base URL is https://veilnetwork.app/v1. Send the key as Authorization: Bearer vn_YOUR_KEY.
curl https://veilnetwork.app/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "content-type: application/json" \
-d '{"model":"anthropic/claude-haiku-5.5","messages":[{"role":"user","content":"Hello"}]}'
3. Read the receipt
The receipt comes back three ways at once: in the headers x-veil-receipt-id, x-veil-receipt and x-veil-signature; in the JSON body as veil: { id, receipt, signature }; and, when streaming, in the last chunk before [DONE].
4. Check it
Paste the id on /verify, call POST /v1/receipts/verify, or check it offline with Node and no packages: the snippet is on every receipt page. The receipt holds no words. To prove a reply is the one that was signed, hash the exact reply text and compare it with reply_sha256. See Receipts.
No code?
Use the chat. It runs on the same gateway, keeps your history in your browser, and checks every receipt as it arrives. Visitors get a small free allowance per day; a signed-in wallet that holds $VEIL gets a larger one and every model.