Two NiceChunk players mine and inspect a resource beside a river in a reconstructed voxel world.

PROTOCOL WHITEPAPER · VERSION 1.6

NICECHUNK PROTOCOL

A deterministic voxel civilization where public inputs reconstruct the world, Solana programs settle shared state, and useful computation continuously makes that world lighter.

Deterministic world Verifiable assets Useful computation
Read the protocol

ABSTRACT

A world that can grow without storing every untouched block

NiceChunk is a persistent voxel-world protocol built around a simple division of labor: deterministic software reconstructs what can be computed, while Solana stores what must be owned, changed, governed, or independently verified.

A conventional online world asks one operator to hold the map, the inventory, the rules, and the history. Putting that entire workload on-chain would replace one bottleneck with another. NiceChunk instead derives untouched terrain from public world inputs, records player-created deltas in program-owned accounts, and uses NCM codes to describe reusable geometry compactly. Guardian nodes carry nearby realtime activity without becoming the authority for assets or settlement.

The result is a shared world that remains responsive at the edge and verifiable at its durable boundaries. Players create persistent state; miners search for shorter NCM representations that preserve the same typed state under the same dependency root; successful Proof of Useful Work reduces the storage burden without exporting reconstruction cost and converts measured efficiency into NCK rewards.

In plain language

Compatible clients can calculate the same untouched landscape. The chain anchors current ownership and accepted changes, while receipts commit transition history. Realtime nodes help players see one another. Useful-work miners reduce the bytes needed to reconstruct current state within a pinned cost policy.

A short vocabulary

Canonical state
The one protocol-accepted meaning of an asset or world record at a specific revision.
Chunk.js
The registered runtime that reconstructs protocol geometry, material semantics, and collision.
NCM
Bounded model data interpreted by a registered codec, never imported executable code.
PDA
A Solana account address derived from public seeds and its owning program.
NetworkId
A commitment to one Solana genesis hash, Core program, and GlobalConfig PDA.
DependencyRoot
A commitment to the material, shape, physics, and runtime semantics required to interpret an asset.
ReconstructionPolicyRoot
A commitment to deterministic cost meters, absolute ceilings, and permitted relative regressions.
RewardSettlementPolicyRoot
A commitment to reward mint, treasury routes, oracle guards, liability-shard scheme, caps, and fallback behavior before mining begins.
Observation context
The source, cluster, slot, blockhash, commitment, and time behind an account read.
Storage payer
The signer that funds a program account without receiving wallet-like control over its lamports.
Capital policy
The creation-time rule for PoUW eligibility and the beneficiary of eligible storage surplus.
Guardian
A regional realtime relay that improves presence without creating ownership.
Mining
Resource extraction, frontier proof, and compression proof are separate actions with separate authority.

01 · PROTOCOL THESIS

Compute the common world. Settle the uncommon change.

Persistent worlds face a three-way tension. Players expect immediate interaction, shared state must be independently checkable, and the cost of storing an expanding universe must remain bounded. NiceChunk resolves this tension by refusing to treat every byte as the same kind of truth.

01

Reconstruct first

Public seeds, coordinates, rules, and model bytes produce repeatable results.

02

Settle narrowly

Each program validates one bounded state transition and owns its records.

03

Relay without authority

Guardian carries low-latency presence while chain programs remain authoritative.

04

Compress continuously

Useful work pays for provable reductions in persistent geometric state.

02 · ARCHITECTURE

Four systems cooperate without pretending to be one

The browser, Chunk.js, Guardian, and Solana answer different questions. The browser asks what the player is doing now. Chunk.js asks what visible geometry follows from accepted inputs. Guardian asks which nearby activity should arrive quickly. Solana programs ask whether a specific shared transition is authorized and valid.

LOGIC MAP 01

The NiceChunk trust and data map

NiceChunk protocol trust and data map The player client exchanges local inputs with Chunk.js, realtime hints with Guardian regions, and signed instructions with Solana programs. Programs own separate PDA records that return validated state to deterministic reconstruction. PLAYER DEVICE · IMMEDIATE GUARDIAN REGION · REALTIME SOLANA · DURABLE SETTLEMENT PLAYERintent · wallet · input CHUNK.JSworld · models · collisiondeterministic reconstruction LOCAL STATEpreview · animation · cache GUARDIANbounded regional relay NEARBY PEERSpresence · cues · chat SOLANA PROGRAMSsigners · rules · ownershipatomic state transitions PDA RECORDSidentity · deltas · assetsmanifests · governance input + camera frame result ephemeral activity relay signed instruction write validated account data temporary hint SOLID · AUTHORITY OR VALIDATED DATA DASHED · LOW-LATENCY NON-AUTHORITATIVE MESSAGE
No layer inherits authority merely because it is faster or visually convincing. Durable ownership and shared state come from the program that owns the relevant account.

03 · DETERMINISTIC WORLD

A coordinate is a question, not a stored cube

NiceChunk divides the world into integer-addressed chunks. For untouched space, the world seed, terrain configuration, resource rules, and coordinates are sufficient to calculate the same base answer on compatible clients. The protocol therefore does not need an account for every naturally generated block.

Player-created facts are layered over that answer. A mined coordinate, a protected foundation, a building manifest, or a governed rule changes what the client should reconstruct. The base world and its deltas remain separate, making the cost of state proportional to meaningful change rather than theoretical world size.

LOGIC MAP 02

Deterministic reconstruction with validated deltas

Deterministic world reconstruction Public genesis inputs and coordinates generate a base chunk. Program-owned deltas, governed rules, and verified NCM assets are validated separately and merged by Chunk.js into the playable scene. COMPUTED BASE PERSISTENT CHANGE WORLD SEEDgenesis anchor COORDINATEx · y · z · chunk PUBLIC RULE HASHESterrain · resources · client BASE GENERATORinteger deterministic logic WORLD DELTASmined · placed · protected RULE PDASdrops · recipes · surfaces NCM MANIFESTShash · shards · bounds VALIDATEowner · layout · hash CHUNK.JS SCENEgeometry + materialscollision + lightinginventory presentation base voxels accepted overlays reject malformed or stale data VISIBLE WORLD = GENERATED BASE + VALIDATED DELTAS + VERIFIED NCM
Untouched terrain is regenerated. Only meaningful differences and owned assets need persistent records.

04 · ACTION SETTLEMENT

Fast feedback and durable truth travel on different paths

A player should not wait for a block time before a tool moves. The client therefore handles aiming, reach, collision, animation, and reversible feedback immediately. A supported shared action is then expressed as a bounded instruction containing integer coordinates and the accounts required by its program.

The program recalculates the facts it can verify, checks signatures and PDA ownership, applies all writes atomically, and rejects the whole instruction when a required check fails. The client reads the affected records again and reconstructs the result. Guardian may tell nearby players that an action is happening, but that message is never promoted into settlement evidence.

LOGIC MAP 03

One action, two latency paths, one durable outcome

NiceChunk action settlement flow A local action immediately updates reversible feedback and sends an optional Guardian hint. In parallel, a signed instruction reaches the appropriate Solana program, which validates accounts and either commits PDA state or rejects the action, causing rollback. PLAYER INTENTmine · build · forge LOCAL CHECKreach · collision · loaded rules FAST PATH · EXPERIENCE LOCAL FEEDBACKanimate · preview · pending GUARDIANregional hint PEERSreact now DURABLE PATH · AUTHORITY SESSION / WALLETsign bounded request PROGRAM CHECKsigner · PDA · rule · state PDA COMMITatomic write RECONSTRUCT RESULT ROLL BACK PENDING STATE valid locally submit pass read back reject invalid locally
The fast path improves responsiveness. The durable path decides what other clients can independently recover.

05 · SOLANA PROGRAM ARCHITECTURE

There is no single all-powerful world account

NiceChunk is divided into native Solana programs with narrow responsibilities. Each program owns predictable PDA families and validates only the state transitions in its domain. A profile cannot rewrite terrain. A Guardian endpoint cannot transfer an item. A rendering result cannot authorize a marketplace sale.

LOGIC MAP 04

Program ownership and account domains

NiceChunk Solana program architecture The immutable Core GlobalConfig anchors separate Player, Chunk, Game, Building, Guardian, and Civilization domains. Their PDA families remain program-owned and are combined only by clients and explicit validated cross-program relationships. COREGlobalConfig PDAgenesis + hashes + economics PLAYER PROGRAMProfile · AppearanceSession authorityName / invite indexesEquipment pointers CHUNK PROGRAMGenerated-block verificationBroken-coordinate deltasResource / surface rulesFoundation chunk indexes GAME DOMAINSBackpack custodySmelting recipes / progressMarket listing escrowForged item records BUILDING PROGRAMBuildSite / foundationNCM manifestPayload shardsRevision + protection GUARDIAN PROGRAMRegistry · Region endpointsOperator + blueprint commitmentsStake-linked metadata CIVILIZATION PROGRAMRuleBook · signatures · tallyPower snapshot / citizen powerExecution receipt + adapter anchors identity anchors world anchors custody anchors sites explicit authority relationships validated cross-program accounts
Program IDs are part of PDA derivation. Similar account labels under different programs do not become one shared record.

06 · IDENTITY, SESSIONS, AND CUSTODY

The owner key defines authority; session keys bound routine play

A player profile is derived from an owner wallet and connects public identity to appearance, equipment references, progress checkpoints, and owned inventory paths. Assets remain in program-owned Backpack or equipment records rather than inside a browser save file.

For frequent actions, the owner can authorize an expiring PlayerSession. The session record binds a temporary signer to the owner, a GlobalConfig, an action mask, and an expiry. Consuming programs repeat those checks. This reduces repeated wallet prompts without turning the temporary key into the owner of the player's identity.

Owner walletroot authorization
authorizes
PlayerSession PDAscope + expiry
permits
Bounded actionprogram revalidates
updates
Owned PDA statepublicly recoverable

07 · RESOURCE AND PRODUCTION ECONOMY

Resources move through verifiable transformations

World resources begin as generated coordinates or governed surface objects. Mining verifies that source, records the world change, and places a concrete resource record into custody. Smelting consumes exact Backpack inputs against a recipe and produces materials with explicit volume, quality, grade, and durability fields. Forging uses those materials to create compact equipment recipes; building consumes compatible materials and NCM instructions to create persistent structures.

LOGIC MAP 05

The resource loop and its verification gates

NiceChunk resource economy loop Generated resources pass through mining verification into Backpack custody. Smelting recipes transform exact inputs into materials, which branch to forging or building. Finished assets may be used, repaired, traded, or recovered into future production. WORLD RESOURCEcoordinate + rule MINEverify source BACKPACK CUSTODYexact slot records SMELTrecipe + yield MATERIALSvolume + properties CREATEforge or build EQUIPMENT + SITESowned useful assets USE / MARKETutility + exchange discover reward + delta consume slots produce allocate mass mint record equip / list explore again ATOMIC CUSTODYINPUTS LEAVE ONLYWHEN OUTPUTS FIT repair / recycle
Production is a custody transformation: valid inputs are consumed and outputs are written in the same atomic boundary.

08 · NCM VERIFIABLE ASSETS

Geometry becomes a compact, deterministic instruction set

NCM is NiceChunk's family of compact model representations. It describes occupied geometry, material references, dimensions, transforms, and, where required, rig or action data. Material identifiers are interpreted through a versioned dependency set; the number alone is not a permanent definition of texture, transparency, collision, or shape. NCM3 applies bounded structural validation for shared buildings. NCM4 extends character reconstruction with explicit bones and actions. NCF1 carries compact forged-equipment reconstruction data.

A building is not uploaded as executable code. Its bounded payload is validated, hashed, divided into deterministic shards, and activated through a manifest only when every required byte is present. A compatible client derives the manifest, reads the shards, verifies their commitments and dependency root, and asks the registered Chunk.js runtime to build canonical geometry, material semantics, and collision from the payload.

LOGIC MAP 06

NCM publication and independent reconstruction

NCM building publication and reconstruction A creator converts geometry and materials into canonical NCM. A validator checks bounds and derives a content hash. Upload shards remain pending until a complete manifest activates them. Players fetch the manifest, verify shards, and reconstruct the asset through Chunk.js. CREATOR PATH GEOMETRYvoxels · parts · materials NCM ENCODERcanonicalize + compress STRUCTURALVALIDATIONbounds · opcodes · volume CONTENT HASHidentity of exact bytes SHARDbounded bytes ACTIVATION BOUNDARY BUILD SITE PDAowner · foundation · revisionprotection bounds PENDING MANIFESThash · byte length · shardsstatus: uploading COMPLETE?all shards + same hash ACTIVErevision becomesdiscoverable state write deterministic shard PDAs yes no · remain pending PLAYER RECONSTRUCTION DERIVE PDAfrom site identity VERIFY INPUTSlayout + hash + dependencies CHUNK.JSdecode + mesh + collide SAME MODELsame protocol semantics fetch manifest + shards
The manifest proves which bytes define the asset; the dependency root fixes the material, shape, collision, and runtime semantics that give those bytes meaning.

Determinism is scoped to protocol outputs. Compatible implementations agree on occupied cells, material semantics, transforms, and collision. Texture resolution, accessibility settings, lighting quality, browser, and GPU can still change pixel output when those presentation choices are not committed as consensus state. NiceChunk therefore claims protocol-equivalent reconstruction, not pixel-identical screenshots.

09 · PROOF OF USEFUL WORK

Mining that makes the world lighter

Player creation expands the canonical world. Proof of Useful Work turns computation into a continuous counterforce: miners discover shorter NCM programs that reconstruct exactly the same accepted geometry under the same pinned dependencies.

NiceChunk's useful-work market is an application-layer optimization protocol. It does not replace, extend, or secure Solana consensus. A miner selects eligible NCM state and searches for a shorter encoding that preserves exactly the same protocol-defined meaning under the registered dependency root.

9.1 Target identity and semantic equivalence

Every task binds the network, world, owning program, asset class, asset PDA, active revision, active encoding hash, codec, verifier registry entry, semantic dependency root, reconstruction-cost policy, reward-settlement policy, and creation-time capital policy. The verifier decodes both representations into one typed canonical state. For NCM3, later commands overwrite earlier commands. The canonical serialization contains its domain tag, three little-endian u16 dimensions, a u32 occupied count, and final (x, y, z, material_id) u16 tuples sorted by (y, z, x). DependencyRoot fixes what accepted material IDs and shape operations mean. Owner, position, rotation, collision policy, protection relationships, and capital policy form a separate versioned commitment that compression cannot change.

Every commitment uses a registered binary schema with fixed-width or length-prefixed fields. The || notation below means schema-defined byte concatenation, not ambiguous concatenation of display strings.

NetworkId = SHA256("NCK/NETWORK/v1" || EncodeNetwork(solana_genesis_hash, core_program_id, global_config_PDA)) DependencyRoot = SHA256("NCK/DEPENDENCIES/v1" || EncodeDependencies(material_registry_id+hash, shape_registry_id+hash, physics_schema_id+hash, runtime_abi_id+hash)) ReconstructionPolicyRoot = SHA256("NCK/RECONSTRUCTION_POLICY/v1" || EncodeReconstructionPolicy(meter_id+hash, cost_vector_schema_hash, absolute_limits, relative_regression_caps, minimum_layout_byte_delta)) RewardSettlementPolicyRoot = SHA256("NCK/REWARD_SETTLEMENT_POLICY/v1" || EncodeRewardSettlementPolicy(reward_mint, route_allowlist_root, oracle_id+hash, quote_freshness, max_slippage, minimum_output_rule, settlement_bucket_count, bucket_cap_allocation_root, reservation_caps, execution_caps, fallback_mode)) TaskId = SHA256("NCK/POUW/TASK/v3" || EncodeTask(NetworkId, world_id, owning_program_id, asset_class, asset_PDA, revision, encoding_hash, codec_id, codec_version, verifier_id, DependencyRoot, ReconstructionPolicyRoot, RewardSettlementPolicyRoot, capital_policy_id)) SemanticRootv(b) = SHA256(domainv || DependencyRoot || CanonicalStatev(Decodev(b))) Equivalent := same SemanticRoot AND same DependencyRoot AND same ProtectedRoot

The Solana genesis hash prevents cross-cluster replay. Core and GlobalConfig distinguish deployments on one cluster, while the owning program distinguishes identical PDA seed bytes in separate account domains. NetworkId is never caller-defined: task creation compares it with the network domain compiled into or stored by the verified deployment. Runtime configuration, an RPC URL, a token symbol, or a website label can discover these identities but cannot replace on-chain checks.

NCM4 and forged equipment use their own typed state and dependency schema, including the protected rig, action, attachment, collision, and durability fields relevant to those assets. A changed dependency hash creates a new interpretation domain, while a changed meter or regression cap creates a new reconstruction-policy and task domain. A changed mint, route, oracle, cap, or fallback creates a new reward-policy and task domain. Equality of voxel tuples across different roots is not equivalence. The roots commit to deterministic comparison; they do not permit a client-calculated hash or matching screenshot to replace the registered verifier.

LOGIC MAP 07

Compression proof, equivalence, and migration

Proof of Useful Work compression validation A miner chooses active NCM state, searches for a shorter candidate, and submits a proof. The protocol decodes old and candidate forms, compares canonical geometry and protected semantics, checks the pinned reconstruction-cost policy and positive net byte reduction, and either rejects the candidate or atomically migrates state. ACTIVE NCM STATETaskId + pinned verifier MINER SEARCHcuboid merge · reuseordering · encoding CANDIDATE PROOFbound bytes · TaskIdminer + commitment optimize PROTOCOL VERIFICATION · ALL GATES REQUIRED FORMAT GATEbounded canonical NCM BASELINE GATEactive revision unchanged UTILITY GATEbytes · cost · net value SEMANTIC EQUIVALENCE DECODE CURRENTgeometry state A DECODE CANDIDATEgeometry state B same SemanticRoot + DependencyRoot · unchanged owner, position and protection ALL PASS?same state · bounded cost REJECTno migration · no reward ATOMIC STATE MIGRATIONnew bytes · same asset identity no yes
A shorter string is not enough. The candidate must preserve protocol meaning, pass its pinned reconstruction policy, and produce positive realized savings.

9.2 Submission, replay, and front-running defenses

A miner first commits to SHA256("NCK/POUW/COMMIT/v1" || EncodeCommit(TaskId, candidate_hash, miner, salt)). EncodeCommit is a registered canonical binary schema. After the minimum reveal delay and before expiry, only that miner can reveal the bound candidate. Finalization repeats the active revision and encoding-hash checks. An owner can keep using or revising an asset while search continues, but a revision change makes the old task stale and unable to migrate or earn a reward.

LOGIC MAP 08

Commit-reveal, concurrent edits, and one reward receipt

Proof submission and concurrency controls A miner-bound commit enters a reveal window while the owner can continue using or revising the asset. Commitment, freshness, uniqueness, equivalence, and net-value gates lead to one migration receipt. Stale, copied, duplicate, expired, or invalid proofs cannot claim a reward. TWO PATHS MAY PROGRESS · FINALIZATION RECONCILES THEM MINER-BOUND PATH COMMITTaskId · hash · miner · salt REVEAL WINDOWdelay · expiry · proof bond BINDING GATEsame miner + commitment CONCURRENT ASSET PATH ACTIVE REVISION rbaseline remains usable OWNER ACTIONuse r or publish r + 1 STILL ACTIVE?same revision + bytes UNIQUE + VALID?fresh · equivalent · net saving REJECT / STALEno migration · bounded cost ONE MIGRATION RECEIPTone candidate · one reward claim changed baseline no all pass expired / mismatch
Commit-reveal binds discovery to its miner. Baseline pinning lets owners keep control while making stale or replayed work ineligible.

The protocol rejects consumed commitments, duplicate candidate hashes, and candidates no smaller than the active representation. A governed proof bond covers bounded verification and cleanup. Per-asset queues, per-miner limits, expiry, and minimum savings stop cheap candidate spam from becoming a new state-growth attack.

9.3 Storage capital, consent, and release rights

A transaction fee, a transfer to a gameplay signer, and lamports placed in a program-owned account are different economic events. The storage payer funds the account, the asset owner receives program-defined game rights, and the program owns the account data. None of those roles alone creates a general withdrawal right.

PoUW never guesses a release right from a wallet address. An account class is eligible only when its creation-time state or inherited GlobalConfig commits to a versioned CapitalPolicyId. The policy fixes the eligible account class, release beneficiary, reward ceiling, minimum age, cumulative accounting, and payer disclosure. It is pinned by TaskId and ProtectedRoot, so a miner cannot change it.

LOGIC MAP 09

Funding, asset rights, and storage-surplus routing

Creation-time storage capital policy and Proof of Useful Work eligibility The storage payer funds a program-owned active asset account, the asset owner receives game rights rather than raw lamport control, and a creation-time capital policy pins the release beneficiary and limits. Only eligible aged active accounts can enter Proof of Useful Work. Accounts with refund paths, missing policy, or pending state keep their existing lifecycle. CREATION-TIME ECONOMIC BOUNDARY STORAGE PAYERfunds disclosed allocation ACTIVE ASSET PDAprogram-owned datastorage lamportsprotected policy ID ASSET OWNERgame rights, not raw lamports CAPITAL POLICYbeneficiary · age · ceilingsdisclosure · cumulative ledger POUW ELIGIBLE?policy + active + agedno refund conflict KEEP OLD LIFECYCLEpending · refund · no policyno retroactive sweep EQUIVALENT PROOFsame asset, fewer net bytes POUW TREASURYmeasured eligible surplus only funds program-defined rights no yes release never overrides old policy
A payer funds storage under a disclosed policy. PoUW can route only surplus from account classes that committed to that policy before the task existed.

The NiceChunk policy sends eligible surplus to a dedicated PoUW treasury. Funding an eligible active account pays for durable protocol storage; it is not a promise that the original payer can reclaim the same lamports. This is not retroactive. Accounts with a payer-refund path or no PoUW policy retain that lifecycle unless an explicitly authorized opt-in migration succeeds. Pending building uploads remain outside PoUW, and cancellation keeps its existing recipient.

9.4 Value conservation and anti-self-dealing

Banning an owner from mining its own asset would be cosmetic because another wallet can be used. NiceChunk makes self-dealing uneconomic in the value ledger instead. Baselines must be active for a minimum age, have no pending revision, and use bounded canonical syntax. Every asset carries its first eligible layout, cumulative released bytes and rent, prior receipts, and cooldown.

LifetimeRentCeiling = max(0, rent_min(first eligible layout) - rent_min(minimum retained layout)) sum(EligibleRent for asset receipts) <= LifetimeRentCeiling 0 <= reward_share_bps < 10,000 · fixed proof bonus = 0

Splitting one improvement across many receipts cannot increase the lifetime ceiling. Proof bonds, donated lamports, unrelated treasury balances, token appreciation, and bytes already credited are never storage savings. The same compact encoding can earn on different assets only when each migration independently releases real bytes; it cannot earn twice for one task or capital lot. Sybil wallets do not change these rules.

9.5 Atomic migration and actual lamport release

Candidate shards may be staged, but staging never changes the active pointer. Finalization atomically rechecks the task, activates the candidate, preserves owner and asset relationships, closes obsolete shards, transfers eligible surplus lamports, and writes a receipt. If any step fails, the old representation stays active.

Shrinking a Solana account with realloc does not automatically release excess lamports. The owning program must transfer the post-shrink surplus, or close obsolete program-owned accounts and transfer their balances to the PoUW treasury.

DeltaB = sum(data_len before) - sum(data_len after) RentDelta = max(0, sum rent_min(before) - sum rent_min(after)) EligibleRent = min(RentDelta, lamports actually released)

The calculation includes manifests, headers, shards, receipts, and claim records. Temporary accounts must be closed or counted as overhead. Taking the minimum prevents donated excess lamports from being misreported as compression value.

9.6 Net value and NCK reward settlement

NetValue = max(0, EligibleRent - VerifyCost - MigrationCost - TreasuryCostReserve - SafetyReserve) RewardSOLBudget = min(reward_share_bps × NetValue / 10,000, per_asset_cap, reservation_epoch_cap_remaining) ReservedRewardSOL = lamports actually transferred to receipt escrow = RewardSOLBudget MinerRewardNCK = NCK actually acquired with RewardSOLBudget after swap costs

The ledger deducts only costs actually paid from the PoUW release or treasury. A miner's transaction fees and external search expense remain the miner's risk and do not increase the reward basis. Slashed proof bonds first cover their own verification and cleanup; they are not EligibleRent and cannot generate a PoUW reward.

Released SOL enters a dedicated PoUW accounting path. Finalization atomically sends the fixed RewardSOLBudget into receipt-specific settlement escrow and routes only the unreserved remainder to available treasury balance. NCK acquisition uses the task-pinned route allowlist, oracle, quote freshness, maximum slippage, minimum-output rule, and execution cap. Purchased NCK enters the reward vault and is assigned to that receipt.

If the oracle is unavailable, liquidity is insufficient, or minimum output is not met, the swap pauses. The compressed asset remains active and the fixed SOL budget remains isolated; ordinary treasury spending cannot consume it. The protocol creates no unbacked or uncapped NCK liability. Reward value follows NCK actually acquired, not an optimistic quote.

9.7 Reward reservation and idempotent settlement

Asset migration and reward delivery have different liveness. NiceChunk joins them at one solvency boundary: migration finalizes only when the candidate becomes active, the old layout is retired, a unique release lot and receipt are written, and the calculated SOL reward budget reaches receipt-specific escrow in the same transaction. Failure in any one of those writes rolls back the migration.

ReleaseLotId = SHA256("NCK/POUW/RELEASE_LOT/v1" || EncodeReleaseLot(TaskId, migration_receipt_PDA, affected_account_set_root, before_lamports, after_lamports, ReservedRewardSOL)) SpendableEscrowSOL(receipt) = max(0, escrow_lamports - rent_min(escrow_data_len)) EscrowedRewardSOL(receipt) = receipt.ReservedRewardSOL · SpendableEscrowSOL(receipt) ≥ EscrowedRewardSOL(receipt) OutstandingRewardSOL = sum(EscrowedRewardSOL(receipt) for every receipt in RESERVED state) OutstandingRewardNCK = sum(assigned_nck for every receipt in FUNDED state) TreasuryAvailableSOL excludes OutstandingRewardSOL · for every bucket b: RewardVaultBalanceNCK[b] ≥ OutstandingRewardNCK[b] SettlementBucketId = LE64(first_8_bytes(SHA256("NCK/POUW/SETTLEMENT_BUCKET/v1" || TaskId))) mod settlement_bucket_count

These sums are audit identities, not instructions to scan every receipt in one transaction. Program-owned SettlementLiability PDAs and NCK reward vaults are deterministically sharded by TaskId; each bucket maintains aggregate RESERVED SOL, FUNDED NCK, and reservation and execution epoch counters. The reward policy pins the bucket count and cap allocation, and bucket caps must sum to no more than the global caps. Migration, swap, and claim lock one bucket with the affected receipt and escrow or bucket-vault accounts and update them atomically. This avoids one global writable ledger or token-vault bottleneck without multiplying authorization. Indexers can independently reconcile every bucket from receipts. Extra lamports donated to an escrow never enlarge its receipt-recorded reward principal or the miner's claim.

RESERVED → FUNDED: OutstandingRewardSOL' = OutstandingRewardSOL - ReservedRewardSOL RESERVED → FUNDED: OutstandingRewardNCK' = OutstandingRewardNCK + AssignedRewardNCK FUNDED → CLAIMED: OutstandingRewardNCK' = OutstandingRewardNCK - AssignedRewardNCK

The receipt moves only forward. RESERVED means migration is complete and its exact SOL budget, excluding the escrow account's own rent reserve, is isolated. FUNDED means one guarded exact-input swap succeeded and the receipt records the actual NCK vault delta assigned to the miner; that amount is unavailable to every other receipt or treasury action. CLAIMED means that NCK was transferred and the receipt was consumed in the same transaction. Failed guards spend nothing and leave RESERVED; a bad claim destination leaves FUNDED.

State never moves backward. Successful settlement consumes RESERVED, and successful claim consumes FUNDED, so concurrent executors cannot spend or transfer the same value twice. The current NCK_ONLY_RESERVED fallback keeps SOL isolated until an allowed NCK acquisition succeeds, potentially indefinitely if every pinned route remains unavailable. Any future expiry, SOL fallback, alternate mint, or confiscation rule requires a new RewardSettlementPolicyRoot and cannot be introduced after miners have committed work.

LOGIC MAP 10

Atomic solvency boundary and one-way reward settlement

Proof of Useful Work reward reservation and idempotent settlement A verified equivalent candidate reaches one atomic migration decision. Any missing activation, retirement, release lot, receipt, or SOL escrow write rolls the transaction back and leaves the old representation active. Success activates the compressed asset and creates a fully backed RESERVED receipt. Guarded swap failure leaves the receipt reserved without spending. One successful swap creates FUNDED, one valid claim creates CLAIMED, and duplicate settlement or claim attempts are rejected. Asset liveness does not depend on later reward-delivery liveness. ATOMIC MIGRATION AND SOLVENCY BOUNDARY FINALIZE PROOFequivalent · cost-boundnet-positive candidate ALL WRITESATOMIC?activate · retire · lot · escrow ROLL BACKold representation activeno release lot or reward RELEASE LOT + RECEIPTcandidate active · old layout retiredSOL escrow + liability ledger updatedstate = RESERVED ASSET LIVENESS COMPRESSED ASSETavailable after migrationindependent of reward retry REWARD LIVENESS RESERVEDreward SOL isolated from renttreasury cannot spend it ROUTE + ORACLE + CAPS+ MIN OUTPUT PASS?task-pinned exact-input swap FUNDEDactual NCK delta assignedledger: SOL down · NCK up VALID MINER + MINT+ DESTINATION?receipt still FUNDED CLAIMEDone transfer · NCK liability down REJECTinvalid or replayed attempt any write fails all succeed no · no spend · retry yes · atomic valid invalid duplicate settlement duplicate claim
Compression remains live after atomic migration; reward delivery can retry safely because every receipt is pre-funded and each successful state transition is consumed exactly once.

9.8 Verification backends and proof statement

Every task names a verifier-registry entry committing to the asset class, codec, semantic-schema, dependency-schema, and cost-vector-schema hashes, accepted DependencyRoot, accepted ReconstructionPolicyRoot, bounds, mode, activation window, and either a direct verifier program hash or a validity-proof verification-key hash. Direct mode executes the bounded decoder on-chain. Validity-proof mode accepts an untrusted prover's output only after the registered on-chain verifier checks it against pinned public inputs.

Once activated, a registry entry is append-only and semantically immutable. A pause may reject new tasks or finalizations under that entry, but changing its codec, dependencies, limits, key, or interpretation requires a new identifier and version domain.

PublicInputs = TaskId · VerifierId · DependencyRoot · ReconstructionPolicyRoot · ActiveEncodingHash · CandidateEncodingHash · SemanticRoot · ProtectedRoot · ActiveCostVector · CandidateCostVector bounded_decode(active) = bounded_decode(candidate) = SemanticRoot Meter(active) = ActiveCostVector.decode · Meter(candidate) = CandidateCostVector.decode DecodeCostPolicyPass(ReconstructionPolicyRoot, ActiveCostVector.decode, CandidateCostVector.decode) all registered format and expansion limits must hold
LOGIC MAP 11

Two proof backends, one semantic and cost statement

Direct and validity-proof verification backends Active and candidate bytes are bound to a task, dependency root, reconstruction policy, and verifier registry entry. Direct mode executes the bounded decoder and cost meter, while validity-proof mode checks an untrusted prover's proof against a registered key. Both paths must produce the same semantic root and valid decode-cost vectors before the owning program independently checks addresses, protected state, actual layout costs, value, and migration. BOUND BYTESactive + candidate hashes TASK + REGISTRYverifier · policy · limits REGISTEREDMODE? DIRECT VERIFIERbounded on-chain decodesemantic root UNTRUSTED PROVERproof + public inputscannot approve itself PROOF VERIFIERregistered key + statementfail closed SAME ROOTS +COST LIMITS? OWNING PROGRAMaddresses · protected statelayout costs · value · atomicity MIGRATION RECEIPTproof never acts alone REJECTpaused · invalid · mismatch direct proof yes no / unsupported
The proof establishes bounded semantic equality and decoder cost. Only the owning program can verify actual account layout and authorize economic settlement.

The proof meters decoder-owned dimensions but never decides ownership, release rights, rent, or reward. The owning program derives addresses, hashes actual bytes, rechecks TaskId, DependencyRoot, ReconstructionPolicyRoot, RewardSettlementPolicyRoot, and ProtectedRoot, verifies both account layouts and their cost-vector fields, and performs the migration. Both modes pass the same semantic and metering vectors. A paused, expired, or unsupported verifier causes rejection, not fallback to an administrator signature.

9.9 Deterministic resource accounting and anti-externalization

Fewer stored bytes do not automatically mean cheaper reconstruction. A short sequence of overlapping cuboids can perform more intermediate voxel writes than a longer direct encoding, while extra accounts, dependency reads, or working memory can move cost from storage into every future reconstruction. PoUW rejects that transfer.

Each verifier version uses an integer-only deterministic meter. Wall-clock time, browser frame rate, GPU timing, network latency, and miner-provided benchmarks vary by device and are never consensus inputs. The owning program measures real layout fields; the registered verifier meters decode fields.

LayoutCostVector = (layout_data_bytes, layout_account_count) DecodeCostVector = Meter(bytes) = (command_count, expansion_ops, peak_working_units, dependency_reads) CostVector = (LayoutCostVector, DecodeCostVector) for every protected i: candidate[i] ≤ absolute_limit[i] AND candidate[i] ≤ active[i] + relative_regression_cap[i] active.layout_data_bytes - candidate.layout_data_bytes ≥ minimum_layout_byte_delta

For NCM3, expansion operations include writes later overwritten by another command. Working units follow the registered verifier machine, not a JavaScript heap layout. Every field uses a registered fixed width and checked arithmetic; overflow, saturation, or an unknown dimension fails closed. A policy can allow a small disclosed trade-off, but changing its meter or caps creates a new task domain. Rewards still follow eligible rent actually released; claimed latency or bandwidth improvements cannot enlarge them.

LOGIC MAP 12

Useful compression cannot export reconstruction cost

Deterministic reconstruction cost policy Active and candidate bytes and layouts pass through one registered deterministic meter. The protocol compares paired cost vectors, requires the same protected state and fewer layout bytes, applies absolute ceilings and relative regression caps from the pinned reconstruction policy, then requires positive realized net value. Any failed branch rejects the migration. DETERMINISTIC COST BOUNDARY · DEVICE TIMING EXCLUDED ACTIVE REVISIONbytes · accounts · commands CANDIDATE REVISIONminer encoding + layout POLICY ROOTmeter · schema · ceilingsrelative caps · min bytes PINNED METERinteger-only accountinglayout + decode dimensionsno wall-clock benchmark PAIRED COST VECTORSbytes · accounts · commandswrites · working unitsdependency reads SAME STATE +FEWER BYTES? ABSOLUTE + RELATIVELIMITS PASS?every protected dimension POSITIVE REALIZEDNET VALUE? ATOMIC MIGRATIONone cost-bound receipt REJECTno migration · no reward yes no yes no yes no SHORTER + EQUIVALENT + COST-BOUND + NET-POSITIVE = USEFUL WORK
Absolute limits stop bombs; relative limits stop a shorter candidate from consuming an undisclosed share of every future reconstruction.

9.10 Two useful-computation markets

Proof of Frontier proves an eligible world-frontier target. Proof of Useful Work revisits accepted state and removes avoidable bytes. Neither is Solana consensus, and neither authorizes an in-world resource reward by itself.

PropertyProof of FrontierProof of Useful Work
TargetFrontier root + epochAsset PDA + revision + verifier
Useful resultVerifiable world expansionSame state with fewer net bytes
FreshnessCurrent frontier epochCurrent active asset baseline
Durable outputAccepted frontier proofEncoding + migration + reward receipts

9.11 Economic flywheel

LOGIC MAP 13

The useful-work economic flywheel

Proof of Useful Work economic flywheel Players create persistent geometry, which increases useful state. Only an active asset whose creation-time capital policy, minimum age, and lifetime savings ceiling permit Proof of Useful Work becomes a task; other assets keep their normal lifecycle. Miners compress eligible state. Protocol migration reduces allocated bytes, creates a unique release lot, and reserves a fixed SOL reward budget before treasury settlement acquires NCK. Rewards and lighter delivery return value to miners and players. PLAYERS CREATEterrain · buildings · gear PERSISTENT STATEgeometry occupies bytes POUW ELIGIBLE?policy · agelifetime ceiling MINERS REFINEshorter equivalent NCM RELEASE + RESERVElot ID · fixed SOL escrow TREASURY SETTLESrealized SOL → NCK NCK REWARDSpaid for measured value adds history yes · task no task atomic migration backed budget acquire funds useful work MEASURABLE VALUEΔ BYTES · Δ RENTΔ DELIVERY COST incentive signal next optimization frontier
Ineligible assets keep their normal lifecycle. Every eligible migration creates one release lot and isolates its reward budget before NCK settlement; the source is realized efficiency, not inflationary busywork.
Equivalent

The reconstructed state remains the same under one pinned dependency set.

Smaller

Net allocated bytes fall after proof and migration costs are counted.

Owned

Compression never changes the asset owner or grants the miner custody.

Realized

Rewards follow completed state reduction, not an off-chain estimate.

Every shorter NCM code is a road made faster for the next traveler, a fortress made cheaper to preserve for its builder, and a piece of equipment made easier to carry across the network.

10 · GUARDIAN REALTIME NETWORK

Regional presence without a hidden world authority

Guardian regions are discoverable through deterministic on-chain records. A client derives the regions around its position, reads active endpoints, verifies their bounded metadata, and attempts a low-latency connection. The relay coalesces nearby movement, chat, equipment presentation, action cues, and building announcements within a region.

Guardian messages are intentionally ephemeral. Sequence checks, spatial bounds, rate limits, and message schemas protect the relay, but persistent assets still require the relevant Solana program. A client can lose a Guardian connection and continue to reconstruct the canonical world from public inputs and on-chain records.

An active Region PDA proves registry acceptance, not endpoint reachability, current TLS control, or honest operation. Reachability requires a live handshake. A wallet identifier inside a relay frame is only a claimed presentation identity unless the session verifies a wallet-signed challenge; neither form can authorize custody or durable state.

LOGIC MAP 14

Regional discovery, realtime relay, and settlement boundary

Guardian regional network topology A client derives nearby region PDAs from its chunk position and validates registry metadata, which does not prove liveness. The client separately attempts a live handshake with the endpoint. A reachable relay carries bounded ephemeral messages while durable actions go separately to Solana programs. REGION -1,-1REGION 0,-1REGION 1,-1 REGION -1,0REGION 0,0REGION 1,0 REGION -1,1REGION 0,1REGION 1,1 WORLD POSITION → DETERMINISTIC REGION ADDRESS REGION PDAstatus · operator · endpoint REGISTRYVALID?owner · status · host REACHABLE RELAYlive handshake firstrate · sequence · radius NEARBY CLIENTSmovement · chatequipment · action cues SOLANA SETTLEMENTmining · custody · building · market · rulesindependent of relay availability derive + read attempt + handshake relay ephemeral hint signed durable action skip relay
Registry state helps discover an endpoint; a live handshake establishes reachability; only Solana programs preserve durable authority.

11 · NCK ECONOMY AND MARKET

NCK coordinates access, settlement, and useful work

NCK is the native utility asset of the NiceChunk economy. The genesis configuration accepts six decimals and a genesis issuance ceiling of one billion NCK. The mint has no continuing mint authority and no freeze authority, making the non-inflationary boundary directly inspectable rather than dependent on an administrative promise. Holder burns can reduce observed supply below that ceiling.

S_cap = 1,000,000,000 × 10^6 base units 0 <= S(t) <= S_cap

The symbol NCK does not establish token identity. An independent client verifies the NetworkId, GlobalConfig mint address, legacy SPL Token program owner, six decimals, initialized state, disabled authority options, and current supply at or below the cap.

NCK connects economic activity that originates inside the world: protocol access, Guardian participation, marketplace settlement, civilization coordination, and Proof of Useful Work rewards. The marketplace escrows exact item records rather than a visual category label. Purchase and delivery occur atomically in NCK or SOL, with fees and destinations validated by the relevant program accounts.

A non-inflationary ceiling does not mean fixed market value, guaranteed liquidity, or guaranteed rewards. Protocol revenue and PoUW rent release remain separate accounting sources. Ordinary fees follow their configured destinations; PoUW can reward only a migration receipt backed by its own eligible net value. Treasury balances, token price changes, and unrelated deposits cannot be counted as a miner's byte savings.

SYMBOLNCK
GENESIS / CEILING1,000,000,000
DECIMALS6
MINT / FREEZENONE

NiceChunk does not treat token ownership as ownership of every world state transition. Program-specific authorization, item custody, session scope, and rule lifecycle remain separate checks.

12 · CIVILIZATION RULES

World rules become addressable records with an execution trail

Civilization governance separates a proposal's text and target from signatures, power snapshots, tallies, execution, and the target program's resulting state. This matters because a passed vote is not itself proof that a resource table or recipe changed. The target adapter must accept the patch atomically, and an ExecutionReceipt binds the completed rule to that applied transition.

LOGIC MAP 15

Rule lifecycle with verifiable execution

Civilization rule lifecycle A RuleBook binds the proposal and target. Citizens sign against a power snapshot. A tally determines whether threshold conditions pass. Passing rules invoke a target adapter that updates a governed rule PDA and creates an execution receipt. Rejected or challenged rules do not execute. RULEBOOKproposal hash + target POWER SNAPSHOTtotal + citizen records SIGNATURE PDASagree · challenge · abstain FINALIZEthresholds + tallybound to rule NO EXECUTIONrejected / insufficient TARGET ADAPTERvalidate target + patchinvoke governed program GOVERNED RULE PDAresource · recipe · policynew accepted state EXECUTION RECEIPTrule + target + resultauditable completion trail fails passes public audit loop
Governance is complete only when the target state changes under its own validation and the execution trail is recoverable.

A parameter update cannot silently reinterpret an old proof. Codec and verifier changes create a new versioned task domain, and active records continue under their pinned version until an explicit migration succeeds.

13 · SECURITY MODEL

Trust is reduced by making every boundary explicit

NiceChunk assumes that a client can be modified, a relay message can be misleading, an RPC provider can return stale, fabricated, incomplete, or censored data, imported model bytes can be malformed, an upgrade authority can be compromised, and economic inputs can be manipulated. Security does not depend on hiding those possibilities. It depends on deciding which component may make each claim and requiring the owning program or deterministic verifier to repeat the relevant check.

LOGIC MAP 16

Threats terminate at different verification boundaries

NiceChunk security boundaries Untrusted clients are constrained by signer, PDA, coordinate, rule, and ownership checks. Guardian messages are constrained by schema, sequence, rate, and radius but remain non-authoritative. NCM payloads are constrained by format, bounds, dependency roots, hashes, and equivalence checks. RPC reads remain time-scoped observations whose strength depends on the disclosed ledger trust mode. UNTRUSTED INPUT MODIFIED CLIENTfalse coordinate / authority GUARDIAN MESSAGEstale / spam / out of radius NCM PAYLOADmalformed / oversized / changed RPC RESPONSEstale / fabricated / censored CONTROL PROGRAM VALIDATIONsigner · PDA · state · rule · CPI RELAY ENVELOPEschema · sequence · rate · radius NCM VALIDATORopcode · bounds · dependencies · root OBSERVATION CHECKStrust mode · slot · blockhash · account MAXIMUM ACCEPTED CLAIM ONE AUTHORIZED STATE TRANSITIONnot the whole rendered frame ONE EPHEMERAL REGIONAL HINTnever ownership or settlement ONE BOUNDED RECONSTRUCTABLE ASSETnot executable imported code ONE TIME-SCOPED OBSERVATIONsource trust remains explicit A VERIFIED LABEL IS ONLY AS STRONG AS THE EXACT CHECK THAT PRODUCED IT
Security claims stay narrow. A valid transaction does not prove an animation, and a valid model does not prove ownership.

NCM decoders enforce limits before allocation and during expansion. Payload length, dimensions, command count, operation budget, output count, and recursion depth where applicable stop a very short input from forcing unbounded memory or compute. PoUW also compares candidate and active cost vectors under the pinned reconstruction policy; remaining below a high absolute maximum is not enough.

Wrong deploymentNetworkId, program IDs, exact PDA derivation, and account owners prevent cross-cluster interpretation.

Upgradeable programLoader, ProgramData, byte hash, and upgrade authority define code provenance separately from account immutability.

Copied or stale proofTaskId, commit-reveal, expiry, uniqueness, and final baseline checks permit at most one miner-bound receipt.

Equivalent-looking modelTyped semantic, dependency, and protected-state roots are checked under the pinned verifier.

Short but expensive modelDeterministic cost vectors, absolute ceilings, and relative regression caps prevent undisclosed reconstruction-cost transfer.

RPC observationNetwork, source, slot, blockhash, commitment, and account checks scope the claim; ordinary JSON-RPC is not a consensus proof.

Historical availabilityActive bytes preserve current reconstruction; receipts preserve transition commitments; exact replay additionally requires old payload bytes.

Manipulated swapRoute allowlist, TWAP bound, slippage, minimum output, and epoch caps produce a bounded trade or no trade.

Replayed or unfunded rewardA unique release lot, receipt escrow, one-way settlement states, and atomic claims permit one fully backed budget and at most one transfer.

Hash assumptionCommitments rely on collision and preimage resistance; a replacement hash uses a new domain and verifier version.

13.1 Dependency-bound equivalence

A material ID is a reference into a registry, not its complete definition. The same integer can produce different collision, transparency, texture-layer, or shape behavior if a client silently changes that registry. PoUW therefore compares both encodings under one pinned DependencyRoot. A changed material, shape, physics, or runtime ABI hash creates a new semantic domain and requires explicit migration.

LOGIC MAP 17

Dependency-bound equivalence separates protocol state from pixels

Dependency-bound NCM equivalence and presentation scope Active and candidate encodings are decoded by one pinned codec while material, shape, physics, and runtime registries produce a dependency root. Migration is accepted only when semantic, dependency, and protected roots all match. Accepted protocol state can be presented by Chunk.js on different devices, whose pixels may differ. A changed dependency creates a new task domain instead of reinterpreting old bytes. SEMANTIC EQUALITY BOUNDARY ACTIVE ENCODINGbaseline bytes CANDIDATE ENCODINGminer bytes PINNED CODECbounded decode · canonical stateregistered verifier DEPENDENCY REGISTRYmaterials · shapes · physicsruntime ABI → DependencyRoot SEMANTIC + DEPENDENCY+ PROTECTED ROOTSall equal? PROTOCOLEQUIVALENTmigration eligible REJECTchanged meaning yes no PRESENTATION AND VERSION BOUNDARY CHUNK.JSmesh · collision · materialsunder pinned dependencies DEVICE SETTINGStextures · lighting · accessbrowser · GPU VALID PIXELSmay differ without changingprotocol state NEW DOMAINchanged dependencyexplicit migration registry change
Protocol equivalence fixes geometry, material semantics, transforms, and collision; it does not promise pixel-identical output across browsers and GPUs.

13.2 Observation, finality, and data availability

A standard Solana JSON-RPC account response is not a cryptographic proof of consensus state. TLS authenticates the endpoint operator, and requested commitment reports the fork confidence claimed by that operator; neither proves the bytes were honestly returned. High-assurance consumers use independently operated validating infrastructure or verify against separately obtained ledger state. Multiple providers can expose disagreement, but matching providers do not become consensus merely by agreeing.

Every published observation therefore names its genesis hash, slot, blockhash where available, commitment, method, source, observation time, full account address, owner, data length, and data hash. Finalized reduces rollback risk relative to weaker commitments; it does not authenticate a malicious provider.

LOGIC MAP 18

Observation confidence and historical availability are separate claims

Ledger observation trust and data availability levels Solana ledger state can be observed through an independently operated validator or named RPC providers. Provider comparison may expose disagreement but is not itself consensus proof. A scoped account claim requires disclosed genesis, slot, blockhash, commitment, source, and account checks. Separately, active bytes support current reconstruction, receipts support transition audit, and exact historical replay requires retained old payload bytes rather than a hash alone. OBSERVATION TRUST PATHS SOLANA LEDGERcluster · fork choiceconsensus state OWN VALIDATORindependent ledgerverification path RPC PROVIDER Aoperator observation RPC PROVIDER Bindependent operator OBSERVATIONSAGREE? OBSERVATION CONTEXTgenesis · slot · blockhashcommitment · source · timeaddress · owner · data hash TRUST MODE +CHECKS DISCLOSED?time-scoped claim only SCOPED OBSERVATIONnot a universal proofrepeat when freshness matters DISPUTE / REJECTwrong network · mismatchunavailable source agree disagree yes no DATA AVAILABILITY CLAIMS ACTIVE BYTESmanifest · shardsdependencies RECEIPT + ROOTSold · new · slottransaction · accounting OLD PAYLOAD HASHintegrity commitmentcannot recover bytes OLD BYTESAVAILABLE? CURRENT STATEreconstructable TRANSITIONauditable HISTORICAL REPLAYexact retired encoding HASH ONLYno exact replay yes no
RPC trust, finality, integrity, current reconstruction, transition audit, and historical replay are separate claims with separate evidence.

PoUW may close an obsolete encoding only after an equivalent candidate is active, so current-state reconstruction remains available. A migration receipt preserves old and new commitments, but replaying the exact retired encoding requires separately retained content-addressed bytes. A hash-only receipt is never relabeled as full historical availability.

14 · SCALABILITY

Scale follows from storing differences and optimizing them

The protocol decomposes growth across four resources. Deterministic generation avoids storage for untouched terrain. PDA families isolate writes and allow clients to request only relevant records. Guardian regions localize realtime traffic. NCM compresses geometric assets, while Proof of Useful Work revisits existing state and reduces its future cost.

Growth sourceProtocol responseWho pays the ongoing cost
Untouched world areaDeterministic regenerationClient compute
Player-created changesScoped PDA deltasState creator / protocol action
Realtime populationRegional Guardian routingRegion operators and connected clients
Active geometry + receiptsNCM + Proof of Useful WorkUseful-work market funded by realized savings

This architecture does not claim that persistent state is free. It makes the source of each cost visible, avoids paying for computable emptiness, and creates a mechanism that rewards measurable reductions in the state players collectively carry.

15 · RISK AND CONTROL FRAMEWORK

Decentralized does not mean risk-free

NiceChunk treats technical, operational, governance, and market failure as explicit protocol risks. Controls reduce the probability or impact of failure; they do not make failure impossible.

RiskPrimary controlsResidual consequence
Program or verifier defectNarrow programs, bounded inputs, versioned layouts, tests, audits, and pause pathsA faulty transition or delayed service can still require governed remediation.
Wrong deployment or cross-cluster replayNetworkId, owning program in TaskId, exact PDA derivation, and account-owner checksA misconfigured client can display the wrong network until it rejects the mismatch.
Program upgrade authority compromiseLoader and ProgramData inspection, published byte hashes, independently reproduced builds, and governed receiptsAn active authority remains a trust assumption until revoked or constrained on-chain.
Malicious, stale, or censored RPCDisclosed trust mode, genesis/slot/blockhash context, validator reads, or provider comparisonA consumer relying on one provider still trusts that provider's availability and honesty.
Dependency-registry driftDependencyRoot in task, verifier, and semantic commitment; explicit version migrationA client using the wrong registry can display or collide incorrectly until it rejects the mismatch.
Reconstruction-cost externalizationDeterministic cost vectors, immutable meter, absolute ceilings, and relative regression capsAn accepted candidate can use the full disclosed allowance on slower clients.
Missing historical payloadActive-byte retention, hash-linked receipts, and content-addressed archivesCurrent state can remain valid while exact historical replay is unavailable.
Capital-policy mismatch or retroactive sweepCreation-time policy commitment, protected policy root, and explicit opt-in for older accountsPolicy mistakes can delay compression or require remediation without touching the asset.
Deliberate bloat, split proofs, or collusionMinimum age, no fixed bonus, sub-100% reward share, lifetime ceiling, and cumulative receiptsAttackers can still waste their own capital and compute.
Client divergenceCommitted inputs, dependency roots, integer rules, canonical codecs, and golden vectorsAn incompatible client can render incorrectly even when chain state is valid.
Decompression bombPayload, dimension, command, operation, recursion, and output limitsMaximum-size valid assets still consume finite client resources.
Proof spam or concentrationBonds, queues, expiry, caps, and open deterministic tasksSearch advantage can concentrate rewards without granting asset authority.
Owner revision during searchBaseline-pinned TaskId and final freshness checkHonest miner work can become stale and unrewarded.
Oracle, DEX, or liquidity failureTWAP bounds, allowlisted routes, minimum output, slippage, and circuit breakersNCK rewards can be delayed or smaller than expected.
Reward replay, reserve diversion, or settlement backlogUnique release lot, receipt-specific escrow, aggregate liability ledger, one-way states, atomic swap and claim, and execution capsFully backed rewards can remain delayed indefinitely while all pinned NCK routes are unavailable.
SOL rent or fee changeCurrent rent schedule, minimum net thresholds, and governed capsPreviously attractive tasks can become uneconomic.
Guardian outage, false identity, or abuseRegistry validation, live handshake, claimed-identity labeling, bounded messages, and chain-independent settlementPresence can be unavailable or misleading while durable state remains recoverable.
Governance capturePower snapshots, thresholds, target adapters, receipts, and version pinningValid governance can still make harmful future policy choices.
Token volatilityNo promised price, yield, liquidity, or reward availabilityUsers and miners bear market risk.

Emergency controls can pause submissions, migrations, swaps, or claims independently. A pause cannot transfer an asset, rewrite its semantic root, or make Guardian data authoritative. Recovery identifies the affected version and leaves an execution receipt.

16 · TECHNICAL REFERENCE

Public limits make independent verification practical

The bounded NCM3 building profile gives every publisher, verifier, miner, and client the same envelope. Initial publication and PoUW candidate verification use the same interpretation; a format is not accepted merely because one browser can render it.

16.1 NCM3 building limits

MAX PAYLOAD65,535 B
SHARD PAYLOAD8,192 B
MAX SHARDS8
MANIFEST160 B
SHARD HEADER64 B
MAX AXIS256
MAX COMMANDS4,096
OPERATION BUDGET262,144
RELATIVE COSTPOLICY-BOUND

16.2 Version, deployment, and upgrade invariants

LOGIC MAP 19

New rules create a new domain; old bytes keep their meaning

Codec and verifier upgrade lifecycle A published specification and golden vectors pass cross-runtime tests before governance can register a new codec, verifier, dependency, meter, limit, or reward-policy version. Existing assets and open tasks stay in their pinned domain unless an explicit migration passes. The registry cannot silently reinterpret accepted bytes, cost rules, or reward rights. VERSION ACTIVATION PATH SPECIFICATIONcodec · verifier · meter GOLDEN VECTORScross-runtime agreement GOVERNANCEapproval + receipt VERSION REGISTRYcodec · cost · reward policy ASSET SEMANTICS EXISTING DOMAIN vaccepted bytes + verifier v EXPLICITMIGRATION?owner and proof gates NEW DOMAIN v + 1new verifier and commitments KEEP v SEMANTICSold bytes remain unmodified accepted none / rejected opens new domain cannot reinterpret in place
Version pinning turns upgrades into explicit migrations instead of invisible changes to already accepted state.

Every durable account has an owning program, magic or discriminator, layout version, and deterministic address relationship. Every PoUW task also pins its network, owning program, codec, verifier, dependency root, reconstruction-policy root, and reward-settlement-policy root. Semantic, metering, or reward-policy upgrades open a new versioned domain and require explicit migration; they do not reinterpret accepted bytes, cost rules, or reward rights in place.

Configuration immutability and executable-code immutability are separate claims. An external verifier checks the Solana loader owner, ProgramData relationship, current upgrade-authority option, and deployed program-byte hash. If an authority exists, it remains a trust assumption. A governance receipt proves control of upgrades only when the loader path actually enforces that relationship.

A matching deployed byte hash identifies one observed executable; it does not prove that published source reproduces it. A reproducible-build claim also publishes the source commit, dependency locks, compiler and Solana toolchain versions, build flags, environment assumptions, and artifact-hashing rule, then obtains the same byte hash from an independent build.

16.3 Independent verification checklist

  1. Declare the trust mode: independently operated validator, explicitly trusted provider, or named multi-provider comparison.
  2. Obtain genesis hash, slot, blockhash where available, commitment, and observation time from that source.
  3. Compute NetworkId and verify the Core program, GlobalConfig address, owner, magic, layout, and sealed fields.
  4. Check the Building program loader, ProgramData, deployed byte hash, and upgrade-authority state.
  5. Derive the BuildSite PDA from the verified GlobalConfig and foundation identity.
  6. Check account owner, magic, version, site owner, active revision, and bounds.
  7. Derive the active manifest and every expected shard PDA.
  8. Check shard order, lengths, completion state, and the manifest payload hash.
  9. Resolve and hash the codec, material, shape, physics, and runtime dependencies into the expected DependencyRoot.
  10. Resolve the registered deterministic meter and limits into the expected ReconstructionPolicyRoot.
  11. Resolve reward mint, route, oracle, settlement-bucket scheme, cap allocation, and fallback commitments into the expected RewardSettlementPolicyRoot.
  12. Validate NCM3 limits, reconstruct canonical state, check the cost vector, and apply rotation and offsets only from validated fields.

A PoUW migration adds nine checks: the TaskId names the prior active bytes; the task, verifier, and proof use the same DependencyRoot; the task, proof, and receipt use the same ReconstructionPolicyRoot; the task and receipt use the same RewardSettlementPolicyRoot; the capital policy permits PoUW and remains protected; old and candidate semantic roots match under the pinned verifier; the candidate cost vector passes absolute and relative limits; cumulative credit remains below the asset's lifetime ceiling; and the release lot, escrow, byte, and lamport accounting match the accounts closed or resized.

16.4 Deployment identity and feature evidence

A public label such as “active,” “verified,” or “on-chain” helps discovery but is not proof by itself. A third party scopes a protocol claim only after observation context, network identity, program provenance, account provenance, and feature-policy identity all agree.

LOGIC MAP 20

Five evidence families bound one defensible protocol claim

Deployment identity and feature claim verification Observation context, network identity, program provenance, account provenance, and feature-policy identity converge on one decision. Only when all sources, identities, and versions agree can an observer make a claim scoped to one deployment, account, version, transition, slot, and trust mode. Any mismatch makes the public label unverified. EXTERNAL VERIFICATION · LABELS ARE DISCOVERY AIDS, NOT AUTHORITY OBSERVATION CONTEXTsource · slot · blockhash · commitmenttime · disclosed trust mode NETWORK IDENTITYgenesis · Core · GlobalConfig PROGRAM PROVENANCEloader · ProgramData · byte hashupgrade authority · build evidence ACCOUNT PROVENANCEPDA · owner · magic · layoutdata hash FEATURE POLICYcodec · verifier · dependenciescost · reward · capital policy ALL SOURCES +IDENTITIES + VERSIONSmatch one observation? SCOPED EVIDENCEone network · programversion · slot · source MAXIMUM CLAIMone account or transitionat disclosed trust mode UNVERIFIED LABELreject mismatchrediscover records yes no / changed
Verification proves a bounded claim about an observed deployment; it does not turn one valid label into a guarantee about the whole application.

Finality-sensitive consumers repeat the account read at their required commitment and through their declared trust mode before treating the result as settled. Any executable upgrade changes code provenance and requires the program branch to be repeated.

16.5 Time-scoped evidence snapshots

An evidence publisher can make one observation reproducible without pretending that a hash authenticates its source. ObservationId commits NetworkId, slot, an optional blockhash, commitment, observation time, account-set root, program-provenance root, and feature-registry root.

ObservationId = SHA256("NCK/OBSERVATION/v1" || EncodeObservation(NetworkId, slot, blockhash_option, commitment, observed_at, account_set_root, program_provenance_root, feature_registry_root))

The evidence bundle includes exact account bytes or content-addressed objects, full addresses, data lengths, owners, source endpoints or validator method, schema versions, hashing rules, and unavailable records. ObservationId makes alteration detectable; it does not turn an untrusted observation into consensus truth. Strength comes from reproducing it against the disclosed ledger trust mode.

16.6 Primary specifications

17 · CONCLUSION

The world grows because players create. It lasts because the protocol can refine.

NiceChunk combines a deterministic world, program-owned state, compact geometric assets, regional realtime relays, and useful computation into one persistent civilization substrate.

Players do not need to trust a hidden map server to know what untouched terrain should be. Builders can publish structures that compatible clients independently reconstruct under pinned dependencies. Owners can recover active public records from deterministic addresses. Markets can move exact asset records atomically. Civilization rules can leave hash-linked execution trails. As active geometry accumulates, miners can earn by reducing the bytes required to reconstruct it without changing its protocol meaning or exporting undisclosed reconstruction cost. Each accepted reward is tied to one release lot, one isolated budget, and at most one claim. Historical replay remains an explicit retention claim, not an assumption hidden in a hash.

Computation serves the world when efficiency creates measurable value and every accepted proof leaves the shared universe easier to carry.
Logic diagram