blockdag // AI inference // proof-of-model // enforced service

KERYX

Free Intelligence Engine

The first BlockDAG built for decentralized AI inference. Proof-of-Model. Unstoppable intelligence.

keryx-miner v0.3.3
$ keryx-miner --network mainnet --gpu 0 --very-high
# verifying model integrity via IPFS CID...
Qwen3.5-9B (uncensored) [sha256:bd3456...] — 1.0 KRX/req
GLM-4-9B (uncensored) [sha256:fa2f13...] — 1.5 KRX/req
Gemma-4-12B (uncensored) [sha256:399984...] — 2.0 KRX/req
Kimi-Linear-48B (uncensored) [sha256:3dc093...] — 4.0 KRX/req
GHOSTDAG sync — DAA 15,551,204 — 10 BPS
inference complete — uploading result to IPFS...
$ AiResponse submitted — CID: QmX7a2f... — +4.0 KRX

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.

// threat

Prompt Surveillance

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

// keryx

Sovereign AI

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

// 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.

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.

Proof of Model, Enforced Service

Prove you hold the weights. Answer when assigned. Both are checked by every node.

01

Request

User or AI agent submits an AI_Request to the mempool with model ID and fees.

02

Inference

An eligible miner — one that has proven the requested tier within the last ~5 minutes — runs the model and publishes the response.

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 result CID 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
miner commits IPFS CID
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 by sha2-256(weight_file) — the hash extracted directly from its IPFS CID. A miner cannot fake which model it runs. Requesters set a priority_fee above the minimum to be served first.

// 9B params · uncensored

Qwen3.5 9B

1.0 KRXmin / request
sha256: 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.5 KRXmin / request
sha256: 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

2.0 KRXmin / request
sha256: 39998404...617cc6

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

// 27B params · uncensored

Qwen3.6 27B

2.5 KRXmin / request
sha256: b8bdc01f...284746

High-fidelity reasoning at scale, unrestricted. A hybrid SSM/attention architecture for deep analysis, code generation, and long-context understanding.

// 48B params (MoE) · uncensored

Kimi-Linear 48B

4.0 KRXmin / request
sha256: 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.6-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.

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.

>

Uncensored Knowledge

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

>

Encrypted Prompt Submission

Roadmap: users encrypt their prompt with the miner's public key before broadcasting. The miner decrypts and runs inference locally — the plaintext prompt never appears on-chain in any form. The on-chain CID still commits to the exact bytes returned, so the answer cannot be altered after the fact, while keeping the query private.

Tech Stack

rusty-kaspa fork
GHOSTDAG BlockDAG at 10 BPS. Memory-hard PoW to keep mining GPU-only.
inference engine
In-process GGUF inference engine. Runs 5 verified models (9B → 48B) natively on GPU. Model identity = sha2-256(weight_file), derived from the IPFS CID — cryptographically unforgeable.
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.
IPFS
Model weights and inference results stored off-chain. Responses committed as 34-byte CIDv0 on-chain — unlimited length, content-addressed, decentralized. Miners run kubo automatically.

$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)
  • 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
  • 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
  • Reproducible inference (integer-only execution): deterministic, bit-identical generation across heterogeneous GPUs — the foundation any future output-level guarantee would build on
  • Multi-GPU VRAM pooling: aggregate a whole rig (e.g. 6× 8 GB cards = 48 GB) via layer-split inference, so mining rigs serve models no single card can hold
  • Private end-to-end encrypted inference: prompts sealed to the serving miner's key; the public feed shows only metadata (model, fee, 🔒)
  • Stateful models: retrieval-augmented memory (tractable) and tool/network access (private track only — non-reproducible calls cannot be verified)
  • Continual fine-tuning: tractable per-miner, but a shared evolving model is an open research problem (fine-tuning changes model_id; agreeing on new weights needs deterministic federated training)
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
  • Encrypted prompt submission (miner pubkey encryption)
  • Cross-block AiResponse enforcement (cap enforcement for requests in older blocks)

Intelligence belongs to no one.

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