Repository navigation
v0.8.0-testnet — self-serve keys, billing, verification ADRs
v0.8.0-testnet — self-serve keys, billing, verification ADRs
This release closes the self-serve access and fiat-billing gaps, and writes down
the designs for the remaining production work.
Self-serve API keys
Opt-in POST /v1/keys when VNN_SELF_SERVE_KEYS=1:
curl -s -XPOST localhost:7100/v1/keys \
-H 'content-type: application/json' -d '{"address":"ai_..."}'- One active key per address; a second request returns
409and never repeats
the raw key. - Only the SHA-256 hash is stored, in RocksDB, so keys survive restarts and do
not need a writable/etcfile. - Default quota
VNN_SELF_SERVE_QUOTA=1000per address per UTC day;0means
unlimited. - Per-IP issuance limiter: 5 per hour.
- File-based operator keys still work and are checked first.
- The public demo node keeps self-serve disabled (
/v1/keysreturns 404) so
the unauthenticated faucet/infer demo keeps working. Enable it on a dedicated
pilot node.
Stripe invoicing
scripts/stripe_invoice.py turns the usage CSV into a Stripe invoice:
python3 scripts/stripe_invoice.py --csv usage.csv --tenant acme
# dry-run by default; no network calls
STRIPE_SECRET_KEY=sk_test_... python3 scripts/stripe_invoice.py \
--csv usage.csv --tenant acme --customer-email billing@acme.example --live- Dry-run by default; live mode requires
STRIPE_SECRET_KEY. - Finds or creates the customer, creates an invoice item, finalizes the invoice,
never pays it. - Idempotency key derived from the CSV hash + tenant + rate.
- Usage pricing is now consistent at $5 per 1,000 completed tasks
(0.5 cents/task). Negotiated rates use--rate-cents. docs/billing.mddocuments the cumulative-CSV caveat: for monthly billing,
use a period delta, not the lifetime export.
Design ADRs
docs/adr/005-llm-verification.md: bonded optimistic executor/challenger vs
TEE attestation for LLM-scale inference, with receipt fields, sampling
determinism, challenge/slashing rules, integration points and a test plan.docs/adr/006-ha-snapshot-validator-removal.md: active/passive HA, signed
snapshot transfer, and on-chain validator registration/removal.docs/adr/007-bft-implementation-checklist.md: phased BFT execution order
tied to ADR 004, with claim boundaries.
All three are design only. None of the mechanisms is implemented.
Verification
- 120 Rust tests and 20 Stripe tests pass on macOS; the Linux suite is running
against the same tree. - The claims-triage pilot demo still passes 8/8 against the live node.
- The public node lists six models and still executes claims/transformer/decoder
tasks with receipts.
Download
verinoo-node-v0.8.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the claims/transformer/synthetic-decoder models, the demo/billing/import
scripts, both SDKs, node.env.example, LICENSE, and README.txt.
TinyStories-1M weights are still not included (no license on the model card).
Still not claimed
- No production LLM path yet: binary weights/mmap, 1,024+ context,
deterministic sampling, streaming/batching and a safety layer are next. - No LLM-scale verification: ADR 005 only; full re-execution remains the
live mechanism. - No BFT finality, HA/failover, snapshot sync or on-chain validator removal:
design ADRs only. - Not trustless, not operator-blind, not ZK-proven.
- No token. Fiat invoicing is a script and a manual finalize step.
License: AGPL-3.0.