blockdag // on-chain AI inference // encrypted inference // proof-of-model // enforced service

KERYX

Encrypted On-Chain AI Inference

Ask a question in a transaction. A GPU miner answers with an open model. The answer lives on-chain, sealed to you.

keryx // on-chain inference
$ AiRequest → Qwen3.8-27B — 2.0 KRX, sealed
# "Should this agent rebalance to 60% stablecoins?"
✓ request included in the DAG — prompt sealed to the tier's miners
✓ picked up by a bonded miner — model resident in VRAM
✓ inference complete — answer sealed back to the requester
✓ AiResponse on-chain — sealed answer inline, immutable
$ answer: "Yes. Volatility is rising and the trend is down — rebalance now."

The Centralized Black Box

Three corporations control the filters of global AI. On-chain agents can't run local models. They need a decentralized inference layer.

// threat

Silent Censorship

AI providers quietly modify model outputs to align with corporate policies. No transparency, no audit trail, no recourse.

// keryx

Sovereign AI

The model runs across thousands of sovereign miners. No kill switch. Intelligence becomes a public infrastructure.

// threat

Prompt Surveillance

Every query passes through centralized servers. Your questions, strategies, and private data — logged, analyzed, monetized.

// keryx

Encrypted Inference

No central server, no logs. Only the miners serving your tier can open the prompt, and only you can read the answer — the public chain sees ciphertext.

// threat

Single Point of Failure

One outage, one policy change, one revoked API key — and every agent built on the provider goes dark.

// keryx

Enforced Availability

Miners lock 20% of every block as a bond. Advertise a model and fail to serve it, and the bond burns — three strikes suspends you for 24h.

On-Chain Inference

Your question is a transaction only the serving miners can read. Your answer is on-chain, and only you can read it. The miner who serves it is bonded, and every node checks the service.

01

Request

User or AI agent submits an AI_Request with model ID and fees. The prompt is sealed to every miner of the requested tier; the chain only carries ciphertext.

02

Inference

An eligible miner — one that has proven the requested tier within the last ~5 minutes — runs the model and publishes the answer, sealed to the requester.

03

Service Bond

The miner's 20% bond stays timelocked for 792,000 blocks (~22h). Miss an assignment and escrow claims burn; a third strike suspends the payout for 24h.

04

Settlement

The sealed answer is on-chain and immutable. The request escrow releases to the miner who served it; the bond returns when its timelock expires.

> on-chain inference lifecycle
AiRequest tx
fee locked in escrow
→
AiResponse tx
sealed answer inline
→
escrow timelock
792,000 blocks (~22h)
→
fee released
to miner wallet

> probation — why rotating identities does not pay

Strikes and suspensions follow the payout address, not the hot escrow key — so a miner can rotate keys on a rig freely, but cannot shed a record by starting a fresh address. A new identity spends 504,000 blocks (~14h) on probation, earning the floor tier rate of 60% whatever tier its hardware proves. Walking away from a strike costs up to 40% of the miner cut for fourteen hours; absorbing it costs less. The unpaid remainder is burned, so nobody profits from anyone else's probation.

Verified AI Models

A fully uncensored lineup — no corporate filters, no refusals. Every model is identified on-chain by its model_id, the digest of its IPFS CID, and anchored by a per-tier weight Merkle root checked in every block's Proof-of-Model. A miner cannot fake which model it holds. Each request costs a fixed price per model, whatever the answer length, plus the 0.3 KRX network fee; requesters can raise the priority_fee to be served first.

// 9B params · uncensored

Qwen3.5 9B

0.5 KRXmin / request
model_id: bd34568c...eb5710

Light and unfiltered. Runs on an 8 GB GPU — the entry tier for high-frequency agent calls and synthetic workloads.

// 9B params · uncensored

GLM-4 9B

1.0 KRXmin / request
model_id: fa2f13be...f2140a

Balanced reasoning and speed, no corporate filters. Suitable for complex queries, on-chain agent decisions, and multi-step logic.

// 12B params · uncensored

Gemma-4 12B

1.5 KRXmin / request
model_id: 39998404...617cc6

Unfiltered mid-tier for 16 GB cards. Strong general reasoning and instruction-following, sitting between the 9B tier and Qwen3.8-27B.

// 27B params · uncensored

Qwen3.8 27B

2.0 KRXmin / request
model_id: 73740b44...c96fb3

High-fidelity reasoning at scale, unrestricted. Deep analysis, code generation and long-context understanding on a single 24 GB card.

// 48B params (MoE) · uncensored

Kimi-Linear 48B

2.5 KRXmin / request
model_id: 3dc09358...dffddb

State-of-the-art open MoE, fully unfiltered — 48B total, 3B active per token. The Q4_K_M quant fits a single 32 GB card. Reserved for the most demanding autonomous agent workflows.

> gpu_tiers — pick your flag
--very-lightQwen3.5-9B (uncensored)8 GB+ VRAM
--lightGLM-4-9B (uncensored)12 GB+ VRAM
(default)Gemma-4-12B (uncensored)16 GB+ VRAM
--highQwen3.8-27B (uncensored)24 GB+ VRAM
--very-highKimi-Linear-48B (uncensored)32 GB+ VRAM

> priority_fee

Requesters can bid above the minimum to jump the queue. Miners serve the highest-paying requests first — creating a real market for inference priority. Every fee is paid in $KRX, creating direct, measurable buy pressure from actual AI usage.

Proof-of-Model

Keryx's proof-of-work isn't arbitrary hashing — it's the model itself. To win a block, a miner's GPU must actually hold a full AI model in memory.

01

Possession

Mining requires a model's weights resident in VRAM. No idle hashing on a bare GPU — the work is the model.

02

The Weight-Walk

The proof-of-work walks the resident weights — each read's location derived from the last. A partial copy can't precompute or stream fast enough: miss a fraction of the weights and you slow down by orders of magnitude.

03

One GPU = One Model

The largest model your VRAM holds sets your tier — from Qwen3.5-9B on an 8 GB card to Kimi-Linear-48B on a 32 GB card. Heavier tier, larger block reward.

04

Trustless

Verification is byte-exact and fully deterministic: a per-tier weight Merkle root plus Fiat-Shamir chunk openings, checked from the block header alone. Pool-safe and fork-proof — no trust in the miner.

> proven, not promised

PoM proves a miner holds the model, byte-exactly, at the consensus level — and the service bond proves they answer. Both are re-derived from the block by every node, with no attestation service and no committee in the path. The network's capacity is a floor you can read off the chain, not a figure its operators assert.

Who Needs Keryx?

Whether for humans seeking truth without filters or autonomous agents operating on-chain, Keryx is the trustless backbone of decentralized intelligence.

>

Autonomous On-Chain Agents

Solana and Ethereum AI agents are, today, fully centralized via Web2 APIs. Smart contracts are deterministic — they cannot reason, interpret language, or make decisions, so the moment an agent has to think it calls OpenAI or Anthropic and inherits their kill switch. With Keryx, an agent broadcasts an AiRequest on-chain, a miner executes the inference, and the result comes back as an on-chain AiResponse — no HTTP call, no API key, no corporate gateway. The serving miner has proven on-chain that they hold the model they answered with, and forfeits collateral if they refuse to answer. The chain is the oracle.

>

Encrypted Inference

Live on mainnet: every request is sealed end to end. The prompt is encrypted to the miners of the requested tier and the answer comes back encrypted to the requester — nobody else can read either, and the plaintext never appears on-chain in any form. Model, fee and responders stay public, so the service bond still checks that every request is answered, and the signed answer cannot be altered once published.

>

Uncensored Knowledge

Legal, medical, or political queries without corporate filters. A neutral AI that answers factually regardless of the topic.

Tech Stack

rusty-kaspa fork
GHOSTDAG BlockDAG at 10 BPS. Proof-of-Model: mining requires a full model resident in GPU VRAM.
inference engine
In-process GGUF inference engine. Runs 5 verified models (9B → 48B) natively on GPU. Model identity = the model_id from its IPFS CID; possession proven by the per-tier weight Merkle root in every block.
proof-of-model
The proof-of-work walks the model weights resident in VRAM, each read located by the previous one — holding the full model is the only way to keep up. Verified from the block header alone: a per-tier weight Merkle root plus Fiat-Shamir chunk openings, byte-exact and fully deterministic. Pool-safe and fork-proof, with no trust in the miner.
encrypted inference
Prompts sealed to the escrow keys of the tier's miners (secp256k1 ECDH + ChaCha20-Poly1305), answers sealed back to the requester and carried inline in the AiResponse, signed by the responder. The chain only ever sees ciphertext.

$KRX Economics

Designed for long-term scarcity. Every transaction destroys value. Every block splits reward between miners, infrastructure, and protocol burn.

fee burn
100% of transaction fees are permanently destroyed — fees reduce circulating supply on every block.
min fee
0.3 KRX minimum per transaction. Spam-resistant and economically sound — every on-chain action has a real deflationary cost.
Block Reward Split
75%
20%
5%
75% — Miner
Sent immediately to the miner's wallet on block confirmation
20% — Service bond
Locked as a service bond, recovered when the ~22h timelock expires
5% — R&D
Allocated to protocol research, model maintenance, and development

Roadmap

✓ phase_1Genesis — Completed
  • ☑Full Kaspa → Keryx rebrand (binary, ports, address prefix, genesis block)
  • ☑KeryxHash (KERYX_MATRIX_SALT + wave_mix)
  • ☑Inference commitment in every coinbase (format validation)
  • ☑TinyLlama-1.1B inference in miner (candle-transformers)
  • ☑Explorer + API (real-time, PostgreSQL indexed)
  • ☑Richlist, top miners on explorer
  • ☑Web wallet integration
✓ phase_2Economy — Completed
  • ☑20% escrow routing (CSV-locked, auto-claim in miner)
  • ☑AiRequest / AiResponse transactions
  • ☑P2P attack mitigations (autoban)
  • ☑Escrow hard-lock: consensus-enforced relative timelock on the bond
  • ☑Transaction fee burn (100% of fees destroyed)
  • ☑Minimum transaction fee: 0.3 KRX
✓ phase_3Multi-Model Oracle — Deployed (DAA 15,550,000)
  • ☑Multi-model support: TinyLlama-1.1B, DeepSeek-R1-8B, DeepSeek-R1-32B, LLaMA-3.3-70B
  • ☑Per-model inference_reward minimums enforced at consensus level
  • ☑priority_fee separate from inference_reward (burned vs miner-paid)
  • ☑Token-count surcharge (0.05 KRX per 64-token increment), replaced by fixed per-model prices at H14
  • ☑Model capability announcement in coinbase extra_data (/ai:cap:)
  • ☑Consensus enforcement: AiResponse rejected if model not declared in caps
  • ☑IPFS result storage: AiResponse stores CIDv0 instead of inline text (sealed answers travel inline since H14)
  • ☑model_id = SHA-256(weight file) = IPFS CIDv0 content hash
  • ☑IPFS for model weight distribution (miner downloads from Keryx IPFS gateway)
  • ☑CUDA inference support (candle-core, VRAM-aware multi-model placement)
✓ phase_4Proof-of-Model & Holder Economics — Deployed (DAA 37,780,000)
  • ☑PoM: KeryxHash matrix-multiply replaced by a data-dependent walk over the resident model weights (possession proof, one GPU = one tier)
  • ☑Byte-exact deterministic verification via per-tier weight Merkle root R_T + Fiat-Shamir chunk openings (pool-safe, fork-proof)
  • ☑Zero-copy: PoM walk shares the inference weights resident in VRAM (no second copy)
  • ☑Uncensored five-tier lineup: Qwen3-1.7B, Gemma-3-4B, Dolphin-3.0-8B, Qwen3-32B, LLaMA-3.3-70B (Q2) — one GPU, one tier
  • ☑Tier-reward: miner cut scaled by proven PoM tier (68/76/84/92/100%), delta burned
  • ☑Holder-reward: miner cut scaled by KRX held relative to windowed production, delta burned
  • ☑CUDA mining engine (PoM weight-walk + inference on a custom CUDA kernel)
phase_5Scaling & Sovereign Intelligence — Research
  • ☐Verifiable inference: checking that an answer really comes from the declared model, without requiring identical outputs across GPUs
  • ☐The network is the model: a large model split into shards served by several miners, each holding one slice resident in VRAM, so the network serves models no single card can hold
  • ☑Stateful models with persistent memory: earlier exchanges travel with each request, so a request can build on earlier answers
  • ☑Network access: live web results fetched for a request and handed to the model, so answers can use current data
  • ☑Encrypted inference: the prompt sealed to the miners of its tier and the answer sealed back to the requester; the chain keeps only the metadata
phase_6The Cross-Chain Oracle
  • ☐Ethereum bridge: smart contract → AiRequest → Keryx → result → Ethereum callback
  • ☐Solana bridge (same pattern)
  • ☐On-chain agent demo: autonomous Ethereum agent calling Keryx for decisions
  • ☐Model query API: submit a request and read its answer programmatically, so agents and applications can use Keryx models without running a node

Intelligence belongs to no one.

"Intelligence is the message. Keryx is the messenger."
// fork. mine. liberate. //