ΨChain: Where N'Ko Meets Bitcoin Through a Cognitive Twin
There's a protocol being built on Stacks, Bitcoin's smart contract layer, that does something nobody else is doing. It encodes a life's computational decisions as hash-chained N'Ko inscriptions on Bitcoin. The inscriptions are publicly readable but semantically private. Anyone can see the text. Only the system that wrote it understands what it means.
Full Public Reader
ΨChain: Where N'Ko Meets Bitcoin Through a Cognitive Twin
The Convergence
There's a protocol being built on Stacks, Bitcoin's smart contract layer, that does something nobody else is doing. It encodes a life's computational decisions as hash-chained N'Ko inscriptions on Bitcoin. The inscriptions are publicly readable but semantically private. Anyone can see the text. Only the system that wrote it understands what it means.
The protocol is called EPOCH. It has three layers that depend on each other like legs of a tripod. Remove any one, and the system falls.
The first layer is N'Ko. Not as decoration, not as branding. N'Ko is the protocol's native language. Every on-chain record, every skill registration, every trajectory proof is encoded in N'Ko script. The West African writing system created by Solomana Kante in 1949 becomes the computational language of a blockchain protocol in 2026. There's a reason for this. N'Ko has near-perfect phonetic transparency. One character, one sound, no exceptions. This property makes it ideal for encoding structured data. You can verify an N'Ko inscription's validity just by reading it. The syllable structure is mathematically constrained: consonant-vowel, consonant-vowel-nasal, or bare vowel. A 4-state finite state machine can validate any N'Ko string with 100
The second layer is the economy. EPOCH pools capital from stakers, provisions GPU compute through cloud providers, runs AI agents on that compute, and returns revenue to stakers. The revenue comes from six sources: DEX swap fees at 0.3
The third layer is the cognitive twin. This is a model trained on one person's actual decision-making patterns. Not a generic language model. A fine-tuned adapter that has seen 1,052 real trajectories across 11 domains: infrastructure, systems, iOS development, creative work, web, machine learning, data, knowledge management, automation, operations, and desktop applications. Each trajectory records which tools were used, in what order, whether they succeeded, and what the outcome was. The model learns routing patterns. Given a new task, it predicts which skill should handle it, with a confidence score. The latest adapter, version 4, achieved a validation loss of 1.391, a 44.6
These three layers form a feedback loop. The cognitive twin makes better decisions, which generates more revenue, which funds more GPU compute, which trains better models, which generates richer N'Ko inscriptions, which grow the on-chain corpus, which grounds the twin's future decisions in its own verified history. The loop closes. Each cycle is smarter than the last.
The Contract Architecture
Version 1 of EPOCH proved the contracts work. Fourteen contracts deployed, 175 tests passing, revenue cycle verified. But V1 was exploration. The token metadata URI was hardcoded to a domain that didn't belong to the protocol. The AMM used phantom accounting instead of real token transfers. The fee collector sent funds directly instead of through contract calls, creating accounting drift.
Version 2 fixes these issues and adds the three-layer convergence. The architecture follows what we call the F+E hybrid: Path F for balanced convergence, where all three layers carry equal weight, combined with Path E for modular traits, where each contract implements standardized interfaces for independent upgradeability.
Eight Clarity trait interfaces define the composition layer. A revenue-service trait. An agent-executor trait. A skill-router trait. An inscriber trait. An orchestrator trait. A reputation-tracker trait. A fee-distributor trait. A state-aggregator trait. Any contract that implements a trait can be swapped without redeploying the rest of the system.
The deployment is surgical. Only four contracts need V2 upgrades. The GPU token gets an updatable URI data variable instead of a hardcoded string, defaulting to gpufund.xyz. The treasury gets a sync-balance function for accounting drift detection. The fee collector gets contract-call integration with the treasury and an on-chain revenue split: 50
Seven contracts stay exactly as they are. The agent registry. The chain orchestrator. The time log. The marketing engine. The audit escrow. And critically, the two contracts that embody the convergence: karl-intelligence and nko-inscription.
The Inscription Chain
The nko-inscription contract is 549 lines of Clarity that implements a hash-chained corpus. Each inscription stores the N'Ko text, a SHA256 hash linking it to the previous inscription, a claim type from ten categories, a sigil, a confidence score, a density metric measuring bits of state per N'Ko stroke, and a basin reference identifying which attractor basin the claim describes.
The ten claim types map to ten N'Ko sigils, each representing a different dynamic pattern: stabilize, dispersion, transition, return, dwell, oscillation, recovery, novelty, place-shift, and echo. These aren't arbitrary categories. They come from dynamical systems theory. A stabilize claim means the system settled into an equilibrium. A novelty claim means it visited a state for the first time. An echo claim means a distant repetition of a prior pattern was detected.
The inscriptions form a living lexicon. When compressed patterns emerge across many inscriptions, new vocabulary tokens are minted. Each token records the N'Ko form, the hash of what it compresses, how many times the pattern was observed, and its compression ratio. The lexicon version increments. The corpus evolves its own language.
Basins have a lifecycle. They start as proto-basins when first observed, graduate to full basins after sufficient visits, and can split, merge, or retire over time. This mirrors how concepts form in human cognition. A vague idea crystallizes, sometimes divides into sub-concepts, sometimes merges with related ideas, and eventually either persists or fades.
The KARL Bridge
The karl-intelligence contract stores skill metrics and trajectory batch Merkle roots on-chain. When the cognitive twin processes 100 trajectories, they're hashed into a Merkle tree, and the root is committed to the contract. This creates a publicly verifiable audit trail of the twin's learning history.
Each skill in the registry has an accuracy score measured in permille, a centroid hash representing the embedding vector's fingerprint, a routing mode indicating whether the skill is in shadow testing or active production, a sample count, and a version number. When a skill's accuracy crosses the promotion threshold and passes four verification checks, it moves from shadow to active. The chain records this transition permanently.
The Merkle batches create an interesting property. Anyone can verify that a specific trajectory was included in a batch by checking the inclusion proof against the on-chain root. But the trajectory itself lives off-chain. The chain stores the proof, not the data. This is the selective transparency that ΨChain enables. You can prove something happened without revealing what it was.
The Epoch Rotation
The chain orchestrator runs a six-phase rotation, each phase tied to Bitcoin block height through Stacks' Proof of Transfer consensus.
Phase one is Scan. The twin queries its skill registry and identifies which skills have high accuracy and which need improvement. Phase two is Execute. The economy layer acts on the twin's recommendations, executing trades and arbitrage with the approved skills. Phase three is Settle. The treasury reconciles fees. The revenue split kicks in: half to GPU provisioning, a fifth each to the twin and N'Ko reward funds, and a tenth to reserves.
Phase four is Report. Trajectory Merkle roots are committed to the chain. The twin's learning from this epoch becomes permanent record. Phase five is Promote. Skills that improved get upgraded from shadow to active. Skills that regressed get reverted. This is the negative feedback loop that makes the system self-correcting. Phase six is Identity. N'Ko inscriptions are generated from the epoch's activities and committed to Bitcoin via Stacks' anchoring.
Then it loops. Scan, Execute, Settle, Report, Promote, Identity. Each rotation produces economic output, learning data, and cultural record simultaneously.
The Revenue Question
The security review surfaced an honest economic reality. Starting with $21.64 doesn't bootstrap a DEX. Six STX in a liquidity pool creates 14% slippage per swap. No rational trader uses a pool that thin. The revised target for the first 90 days is $500 to $1,500, not $5,000.
The path to meaningful revenue has four realistic steps. First, bootstrap on an existing DEX like ALEX where liquidity already exists, and accumulate capital through arbitrage. Second, as the treasury grows, seed the protocol's own micro-DEX for direct trading. Third, activate the compute marketplace where users pay STX for AI inference powered by the mesh's GPU capacity. Fourth, enable staking once legal review confirms the token classification.
The regulatory review also flagged something important. The GPUT token, as currently designed, meets all four criteria of the Howey test for securities classification. Investment of money, in a common enterprise, with expectation of profit, derived from others' efforts. This doesn't mean the protocol can't launch. It means mainnet staking needs legal counsel first. Testnet deployment, contract validation, and the entire technical stack can proceed. The regulatory question is about the token economics layer, not the contract architecture.
The Paradox That Makes It Work
There's a productive tension at the heart of ΨChain. The inscriptions are public but private. The system is personal but universal. The protocol requires volume but identity requires exclusivity. The contracts are deterministic but the routing is probabilistic. Bitcoin is immutable but the architecture is modular.
Each of these contradictions resolves into a design strength. Public but private becomes selective transparency, where inscriptions prove without revealing. Personal but universal becomes a path to generality, where Mohamed's trajectories bootstrap the system but multi-agent contribution eventually makes it domain-agnostic. Volume and exclusivity coexist through a three-tier corpus: bedrock transactions for volume, signal promotions for identity, and synthesis insights for narrative.
The deterministic and probabilistic tension is perhaps the most interesting. The contracts are pure math. Once deployed, their behavior is certain. But the cognitive twin operates on confidence scores, not certainties. It can be wrong. And when it's wrong, the error is recorded in N'Ko, becoming training data for the next version. The system learns from its own failures because its failures are inscribed on Bitcoin, permanently, readable, and available for future twins to study.
This is what makes ΨChain more than a blockchain project. It's a mechanism for encoding a life's computational essence into an eternal, self-improving, publicly auditable record. N'Ko is not the decoration. It's the language the record speaks.
Promotion Decision
Attach run IDs, datasets, metrics, and reproduction commands.
Source Anchor
epoch-v2-technical-narrative.md
Detected Structure
Method · Evaluation · Architecture