Skip to content

v0.3.0-testnet — encrypted inputs, SDKs, lower latency

Choose a tag to compare

@iguha0 iguha0 released this 14 Nov 01:22
· 73 commits to main since this release

v0.3.0-testnet — encrypted inputs, SDKs, lower latency

This release removes the “inputs are public on-chain” blocker and makes the API
practical to integrate. Verification is still re-execution, not ZK; finality is
still round-robin.

New

  • Encrypted inputs. Clients encrypt to a network X25519 key with
    HKDF-SHA256 and ChaCha20-Poly1305. Transactions, blocks and task state carry
    only ciphertext; /v1/tasks redacts input and encryptedInput; validators
    decrypt at block application. This is validator-confidential, not
    operator-blind
    — every validator can decrypt. See docs/privacy.md.
  • TypeScript and Python SDKs. Canonical JSON, Ed25519 signing, input
    encryption, faucet, account nonce lookup, task polling and verification.
    TypeScript is zero-dependency Node >= 20; Python uses cryptography and the
    stdlib. Both were live-tested against an encrypted node.
  • Lower latency. VNN_BLOCK_TIME_MS=1000 gives ~1–2 s task completion on a
    single validator. The setting must be identical on every validator.
  • Per-address quotas. Issuing another API key for the same address no
    longer multiplies its daily allowance.
  • Q16.16 attention kernel prototype (crates/runtime/src/attention.rs) and
    a transformer roadmap (docs/transformer.md). Not wired into model loading
    or consensus; transformer support is not shipped.
  • BFT finality design (docs/adr/004-bft-finality.md). Proposed only; no
    prevote/precommit, certificate or slashing code exists.

Live demo

https://verinoo.com/v1/models

verinoo-node wallet generate --output key.json
ADDR=$(jq -r .address key.json)
curl -s -X POST https://verinoo.com/faucet \
  -H 'content-type: application/json' -d "{\"address\":\"$ADDR\"}"
sleep 3
verinoo-node infer --key-file key.json \
  --input "my parcel was never delivered" --node https://verinoo.com
./scripts/verify.sh <taskId> --node https://verinoo.com

Or use an SDK:

import { Client, generateWallet } from './sdk/typescript/src/index.js';
const client = new Client({ baseUrl: 'https://verinoo.com' });
const wallet = generateWallet();
await client.faucet(wallet.address);
const { taskId } = await client.infer({ privateKey: wallet, input: 'where is my refund' });
const task = await client.waitForTask(taskId);
console.log((await client.verify(taskId)).verified, task.task.resultOutput);

Download

verinoo-node-v0.3.0-testnet-x86_64-linux.tar.gz contains the stripped binary,
the model, node.env.example, LICENSE, README.txt, and both SDKs. Verify
with SHA256SUMS.v0.3.0.

Migration

  • Generate one VNN_INPUT_KEY (64 hex chars) and put it on every validator.
    Back it up with the database: without it, encrypted tasks cannot be re-executed.
  • Set VNN_REQUIRE_ENCRYPTED_INPUT=true for a paid deployment. The public demo
    accepts legacy plaintext so old clients do not break.
  • Tasks and blocks created before this release contain plaintext and stay
    public. Start a fresh chain for a pilot if that matters.
  • If you change block time, change it on every validator.

Still not claimed

  • Not operator-blind. Encryption protects inputs from API/block readers, not
    from the validator operator.
  • Not trustless. One operator, round-robin leader, no BFT finality.
  • Not an LLM host. Dense/relu/softmax classifiers only; attention is a
    prototype, no tokenizer or sampling.
  • Not ZK-proven. Verification is re-execution; the dispute game is test-only.
  • No snapshot sync, automatic HA or on-chain validator removal.
  • No token or fiat settlement. Invoicing is manual from the usage CSV.

License: AGPL-3.0.