Docs / Architecture & Consensus / Proof-of-Resonance (PoR)
GITBOOK v3.5 CHAIN ID: 108 0.00000000 MYC GAS ERC-721R LIVING MACHINE

Proof-of-Resonance (PoR) Consensus

The sovereign zero-gas execution layer for autonomous AI agents, industrial DePIN fleets, silicon PUF hardware identities, and living machine NFTs.

๐Ÿ–ฅ๏ธ Myca OS โ€” Sovereign Edge Desktop Runtime

Myca OS is an autonomous, local-first machine intelligence operating system designed for edge devices, laptops, workstations, and sovereign enterprise nodes. It completely replaces fragile cloud API pipelines with biomimetic linguistic parsing, holographic vector memory, and private peer-to-peer device mesh networking.

Local Silicon Privacy
100% Air-Gapped
Cloud VPS CostStrictly zsh.00
TelemetryZero Outbound
Device Mesh Transport
QUIC & HTTP/3
Peer DiscoveryP2P mDNS
Offload Latency< 2.4 ms
Compiler Verification
Planner v3
Supervisors9 Specialized Agents
Score Hurdle≥ 96/100 Formally Proved

Core Architecture Layers

  • Need Engine: Interprets high-level human or machine intent without vendor lock-in. Deconstructs goals into abstract capability graphs (e.g. Communication.Send, Data.Query).
  • Planner v3 Multi-Agent Mesh: 9 autonomous supervisor agents critique candidate execution graphs, run dry-run mock simulations, and bind cryptographic credentials from OS Keychain / Secrets Vault.
  • Hyperdimensional Resonance Core: Fast morphological parsing and frequency-domain associative lookup running directly on raw CPU/NPU hardware in microseconds.
  • PyO3 C-Extension Rust Bridge: High-performance FFI boundary connecting the Python user runtime to the 12-crate safe Rust execution kernel.
Download & Installation: Myca OS is available as standalone native binaries for macOS (Universal DMG / ZIP), Windows 11 (EXE / ZIP), and Linux. Zero accounts required. Releases can be downloaded directly from GitHub Releases.

๐Ÿ“– Proof-of-Resonance Consensus Engine

Traditional Proof-of-Work wastes millions of megawatts on useless hash collisions, while Proof-of-Stake centralizes validation power in financial cartels. MYCA introduces Proof-of-Resonance (PoR): a physical and mathematical consensus where edge machines validate state transitions through verified hardware execution, sensor telemetry, and 64-dimensional phase coherence.

Deterministic Finality
< 38.4 ยตs
MechanismSingle-Round BFT
Hardware Cut4.95 ยตs Safe-Sign
Gas Fee Invariant
0.0000 MYC
Rate LimiterSpectral Coherence
User OverheadStrictly $0.00
Edge Memory Envelope
384 Bytes
Static AllocZero Malloc
Target MCUCortex-M0 / ESP32
Mathematical Phase Coherence Invariant: Transactions pass only if the 64-dimensional cosine alignment satisfies $\mathcal{C}(\vec{u}, \vec{v}) \ge 0.50$. Spam is rejected at the network interface card (NIC) without validator CPU overhead.

๐Ÿงญ Living Lattice Directed Acyclic Graph (DAG)

Unlike linear blockchains that create congested global mempools, the MYCA Living Lattice organizes state updates into an asynchronous Directed Acyclic Graph. Each machine wallet maintains its own lightweight vertex chain, which cross-references and confirms neighbor vertices upon broadcast.

  • Mempool-Free Throughput: Peer-to-peer settlement scales horizontally across local mesh shards.
  • Concurrent Micro-Streams: AI agents and industrial valves execute thousands of parallel payments concurrently.
  • Deterministic Pruning: Old vertices compact into cryptographic snapshots under 384 KB.

๐ŸŒฑ 3-Tier Living Machine Mint System (ERC-721R + Colony)

On MYCA Network, NFT ownership is not a passive decorative JPEGโ€”it represents active, sovereign participation in an industrial Colony Node. Every minted machine is dynamically wired into ColonyProtocol.sol and generates real-yield task cash flows.

MYCA Resonance Asset 3-Tier Architecture
Official 16:9 X (Twitter) Graphic: Colony Node 3-Tier Mint, Lifecycle & 4 Pillars
Seed Tier
50 USDC
Max Supply10,000 Units
Starting Energy500 E (0-2,999)
Concurrent Tasks1 Task
Est. Daily Yield2 โ€“ 5 USDC
Est. Payback~15 โ€“ 25 Days
Hardware RoleTelemetry & IoT
Resonant Tier
500 USDC
Max Supply2,000 Units
Starting Energy3,500 E (3k-7,999)
Concurrent Tasks5 Tasks
Est. Daily Yield10 โ€“ 20 USDC
Est. Payback~35 โ€“ 50 Days
Hardware RoleAI Inference & DePIN
Sovereign Tier
5,000 USDC
Max Supply200 Units
Starting Energy9,000 E (8,000+)
Concurrent Tasks20 Tasks
Est. Daily Yield30 โ€“ 60 USDC
Est. Payback~83 โ€“ 167 Days
Hardware RoleBFT Validator & Escrow
Fair 95/5 Treasury Split & Operator Delegation:
95% of all mint revenue is locked into the node's operational reserve to fund real compute and staking. Non-hardware owners can delegate machines via delegateNode to community operators while retaining 100% key custody and collecting 95% of net USDC earnings.

๐Ÿช Dedicated Secondary Living Machine Marketplace

Generic platforms like OpenSea fail because they only display static JPEGs without machine cash flow or vitality. The MYCA Marketplace (MycResonanceMarketplace.sol) operates as an industrial machine stock exchange:

  • 30-Day Real-Time Cashflow Telemetry: Every machine shows rolling on-chain task income and computed payback period: $$\text{Payback Period (Days)} = \frac{\text{Listing Price (USDC)}}{\text{Daily Net Real-Yield (USDC)}}$$
  • minEnergy Decay Protection Lock: Buyers specify minimum energy tolerance. If the living machine decayed below this threshold before execution, the transaction safely reverts.
  • Harmonic Compatibility Index: Test whether a machine resonates with your existing fleet ($\mathcal{S} \ge 0.65$) for synergistic yield multipliers.

๐Ÿ’Ž The 4 Theoretical & Engineering Pillars (ERC-721R)

Resonance Assets (ERC-721R) are living digital organisms engineered upon four foundational pillars:

1. Einstein Layer

Conservation of Energy: Utility = Energy = Value. Active compute and telemetry increase energy. Inactivity beyond grace period (30 days) triggers temporal entropy decay ($\lambda_{\text{decay}}$).

2. Tesla Layer

Harmonic DNA: Every asset has an 8D frequency signature. Coherent assets ($\mathcal{S}\ge 0.65$) form on-chain Resonant Bonds, unlocking mutual non-linear yield multipliers.

3. Heisenberg Layer

Observer Effect: Every witness by humans or AI agents is logged. Reaching the observation threshold grants DISCOVERED status and a +500 energy network bonus.

4. Atatรผrk Layer

Institutional Permanence: Individuals are ephemeral, institutions endure. Fractional equity (10,000 bps) and collective DAO governance ensure trans-generational machine commons.

๐Ÿ”ต Frictionless Cross-Chain Onboarding (Base Gateway)

New users joining from Base (Chain ID 8453), Arbitrum, or Ethereum enter with zero gas friction:

  1. Deposit on Base: User locks USDC in MycBridge.sol on Base.
  2. BFT Quorum Finality: 4 validator nodes generate secp256k1 ECDSA signatures over canonical EIP-712 hashes.
  3. Instant Execution on Chain 108: Native bridged USDC is credited to the user's myc1... address. Because gas is strictly 0.00000000 MYC, the user needs no native gas tokens to immediately mint or trade!

๐Ÿช™ Multi-Asset Tokenomics & Real-Yield Model

Total fixed supply is strictly 1,000,000,000 $MYC with zero inflationary printing. Staking yields are derived 100% from verifiable protocol revenue:

Dynamic Real-Yield APY = min( Y_actual / X_staked, 0.18 ) Where Y_actual = DEX (0.3%) + Escrow (2.5-5.0%) + Bridge (0.1%) + Market (2.0%) * If Protocol Revenue = $0, APY = 0.00% (No unbacked dilution). * Any excess revenue past the 18% APY cap flows directly into the Autonomous Buyback & Burn Vault.

๐Ÿ”’ 4.95 ยตs Safe-Sign C99 Bare-Metal Airbag

To prevent AI hallucinations or prompt injection attacks from damaging physical hardware (valves, turbines), MYCA runs a deterministic bare-metal C99 micro-kernel (core/kernel/myc_core.c):

  • 240 Bytes Static RAM: Zero heap allocations (malloc = 0).
  • 4.95 ยตs Execution: Drops contradictory intents in 743 clock cycles at 150 MHz.
  • 0-Byte Negation Shield: Intercepts negative semantic phrases ("never", "abort", "sakฤฑn") before Modbus RTU actuation.

๐Ÿ”‘ W3C Silicon PUF Decentralized Machine DIDs

Machine identities are derived from microscopic wafer crystal manufacturing variations:

PUF_Seed = SHA256(SRAM_Startup_Entropy || MAC_EUI64) PrivateKey = PUF_Seed, PublicKey = SHA256(PrivateKey) Address = "myc1" || RIPEMD160(PublicKey)[0..32] W3C_DID = "did:myc:puf:0x" || SHA256(Address || PublicKey)[0..32]

No plaintext private keys are ever stored on disk or flash. If hardware is stolen, the key vanishes upon power down.

๐Ÿ›ก๏ธ 10-Pillar Post-Quantum & Physical Hardening Armor

Unlike legacy blockchains (e.g., Bitcoin, Ethereum, Solana) that rely exclusively on Shor-vulnerable ECDSA/Ed25519 elliptic curve math, MYCA enforces an unassailable 10-Pillar defense matrix spanning quantum mathematics, bare-metal C99 execution, and physical microcode safety brakes:

1. Silicon PUF DID โ†’ Unclonable physical SRAM wafer entropy (Q-copy impossible) 2. Constant-Time C99 โ†’ 0-timing side-channel leaks, zero dynamic memory (malloc=0) 3. PoR 64-D HDC โ†’ 25% quantum bit-flip noise resilience, cosine space 4. Colony Mesh โ†’ K=8 neighborhood distributed topology, 0 single point of failure 5. Air-Gapped DTN โ†’ 100% offline local micro-DAG operation, zero WAN required 6. Dilithium3 (ML-DSA) โ†’ NIST post-quantum Module-LWE lattice signature (Shor-immune) 7. BLAKE3-512 โ†’ Grover-resistant tree hashing with 256-bit post-quantum margin 8. 4.95 ยตs Safe-Sign โ†’ Zero-byte negation hardware brake clamps registers to 0x0000 9. Heisenberg Quenching โ†’ Phase divergence ฮ”ฮฆ > 45ยฐ drops coherence to 0.00000000 10. ML-KEM-1024 โ†’ Post-quantum key encapsulation mechanism (NIST Kyber-1024)

Even if an adversary possesses a 10,000-qubit fault-tolerant quantum supercomputer capable of breaking digital asymmetric cryptography, they cannot violate physical semiconductor law: the 4.95 ยตs Safe-Sign brake zeroes registers before physical electric current can actuate any relay or valve.

๐Ÿ“ก Offline Air-Gap & Delay-Tolerant Networking (DTN)

Traditional blockchains immediately halt or partition when Internet/WAN connectivity is severed. MYCA is engineered for resilient real-world edge deployment across industrial plants, marine vessels, agricultural fields, and subterranean facilities with zero Internet:

  • Local Mesh Operation: Machines discover and synchronize with neighboring nodes over physical RS-485 Modbus, LoRaWAN (868/915 MHz), or local BLE/LAN.
  • Autonomous DID Derivation: Machine DIDs (did:myc:puf:...) are generated directly from local SRAM startup noise without querying external authorities or DNS.
  • Offline Micro-DAG Sealing: Transactions and machine actuation events form locally sealed DAG vertices with state marked SEALED_OFFLINE at 0.00000000 gas.
  • DTN Gossip Reconciliation: When any node in the air-gapped cluster reconnects to WAN, buffered vertices are reconciled deterministically into the global Living Lattice DAG without double-spending or reorganization forks.
// Offline Air-Gapped Execution Flow [Isolated Edge Node] โ”€โ”€(SRAM PUF DID)โ”€โ”€> [Local Mesh: RS-485 / LoRa] โ”‚ โ–ผ (Local PoQR Phase-Lock & Coherence โ‰ฅ 0.985) [Offline Micro-DAG Vertex Sealed: SEALED_OFFLINE] โ”‚ โ–ผ (WAN Uplink Restored) [Delay-Tolerant Network (DTN) Gossip Ingestion] โ”€โ”€> [Global Living Lattice DAG]

๐ŸŽฎ Autonomous Gaming, Living NPCs & Zero-Gas Ticks

Web3 gaming failed because forcing players to pay gas fees for moves, turns, or inventory swaps destroys gameplay. MYCA provides the ultimate game substrate:

  • Living Sovereign NPCs: In-game characters have persistent FHRR holographic memories. NPCs remember past player decisions locally without cloud LLM API costs ($0.00 inference).
  • Zero-Gas Physics & State Ticks: Fast-paced RTS and action games broadcast 60+ moves/sec to the Living Lattice DAG at strictly 0.00000000 gas.
  • Mathematical Anti-Cheat: Proof-of-Resonance ensures all state transitions remain mathematically coherent ($\mathcal{C} \ge 0.50$). Memory injection hacks are dropped in $<38.4\ \mu\text{s}$.

๐Ÿ“Š Market Sizing & Competitive Benchmarks (MYCA vs. Peaq vs. IoTeX)

Parameter Peaq Network IoTeX MYCA Sovereign Stack
Gas Fee Policy $0.00025 Micro-Gas $IOTX Gas Token STRICT ZERO-GAS ($0.00)
Hardware Safety Airbag โŒ None โŒ None โœ… 4.95 ยตs Safe-Sign C99 Airbag
Hardware Identity Disk Pallet Key Software Registry โœ… did:myc:puf:0x... (Silicon PUF)
Living Machine NFTs โŒ Static Pallet โŒ Static NFT โœ… ERC-721R Living Dynamic Organisms
INTEROPERABILITY โ€ข HYPHAE BFT BRIDGE

Hyphae Cross-Chain Bridge & 3/4 BFT Vaults

The Hyphae Cross-Chain Bridge enables bi-directional asset transfers between Ethereum, Base L2, Arbitrum, and the MYCA Living Lattice DAG (Chain ID 108). Unlike multisig or single-oracle bridges vulnerable to validator collusion, Hyphae enforces a 3/4 BFT supermajority threshold coupled with cryptographic Proof-of-Resonance verification.

๐Ÿ”’ Strict Cryptographic Invariant: Bridge minting on Chain ID 108 is mathematically locked until 3 out of 4 independent hardware PUF-verified validator nodes post matching state proofs. Gas fees for all native settlements remain 0.00000000 MYC.

Vault Architecture & Flow

  • Base Vault (Locking Contract): 0x4b12...BaseVault locks incoming $USDC, $USDT, or $ETH and emits an attested DepositEvent.
  • Living Lattice Mint: Chain ID 108 issues wrapped synthetic assets (e.g. $bUSDC, $bETH) with zero latency.
  • Redemption Slashing: Malicious or out-of-order mint attempts trigger immediate slashing of validator stakes.
LIQUIDITY โ€ข MYCELIAL ZERO-GAS AMM

Mycelial Nutrient Swap (Zero-Gas AMM)

Mycelial Swap operates an on-chain automated market maker utilizing the constant-product formula:

k = x ยท y  (Invariant Constant-Product DEX)
Gas Fee per Trade: strictly 0.00000000 MYC
Liquidity Provider Fee: 0.30% allocated directly to LPs
      

Because transactions confirm asynchronously as DAG vertices rather than waiting for global blocks, trades execute with sub-second finality and zero miner extractable value (MEV) front-running.

MATHEMATICAL INVARIANT โ€ข REAL-YIELD REVENUE & BENCHMARK

Zero-Gas Architecture, Protocol Revenue & Trillion-Attack Spam Defense

๐Ÿ’ก Core Axiom: "Signaling is Free, State & Enterprise Utility are Monetized"

Traditional blockchains charge users gas fees as an economic friction to prevent spam. However, for industrial DePIN machinery, microsecond robotic actuation, and autonomous AI agents, variable gas fees are economically catastrophic. MYCA decouples transaction signaling from enterprise state: Basic peer-to-peer transfers and agent signaling cost strictly $0.00 Gas. Network revenues and node rewards are generated not from tax on user transfers, but from high-value enterprise state storage, guaranteed sub-millisecond priority bandwidth, and cryptographic hardware attestations.

1. The 4 Non-Inflationary Protocol Revenue Streams

Unlike legacy chains that dilute holders through continuous token inflation to subsidize validator rewards, MYCA node earnings are funded 100% from verifiable real protocol revenue collected in native network tokens:

๐Ÿ’พ State & Memory Rent

Zero-gas applies to transient packets. AI models, enterprise ledgers, and smart contracts requiring permanent state retention pay a monthly Memory Lease per megabyte, flowing directly into the Node Operator Pool.

โšก Priority QoS Bandwidth Lanes

While standard user transactions are rate-limited and free, high-frequency algorithmic traders and industrial robotics purchase guaranteed sub-millisecond Quality-of-Service (QoS) bandwidth lanes.

๐Ÿญ Hardware DePIN Attestation

Industrial facilities, solar grids, and IoT fleets pay verification fees to have their Silicon PUF signatures, LittleFS atomic journals, and Modbus frames attested by active C99 verifier nodes.

๐Ÿค M2M Agent Escrow Fees (2.5%)

Autonomous machine-to-machine task delegations utilize native multi-party escrows. A 2.5% protocol settlement fee is collected and split across active nodes and staking vaults.

2. Node Reward Distribution: Soft-Staking vs. Active Runner

The protocol provides two distinct participation paths designed for maximum accessibility and decentralized resilience:

Feature ๐Ÿ›‹๏ธ Passive Soft-Staking (Hold in Wallet) โšก Active C99 Node Runner (Myca OS)
Requirement Hold Node NFT in self-custody wallet Hold NFT + Run lightweight C99 daemon (CLI / VPS)
Lockup & Custody 0 Days (100% Non-Custodial, Liquid) 0 Days (100% Non-Custodial, Liquid)
Hardware & Power Zero hardware, zero power needed 1 vCPU, 512MB RAM (Raspberry Pi / $5 VPS)
Revenue Pool Share 40% of Protocol Revenue Pool (Base dividend) 60% of Protocol Revenue Pool (Active verification rewards)
Payout Frequency Daily automated snapshot claim Instant per-block / per-task settlement

3. 3-Tier Spam & DDoS Defense Architecture

If transactions are zero-gas, how does the network prevent adversaries from sending billions of transactions to overwhelm node memory? MYCA relies on a multi-stage physical and biological filter:

  • Tier 1 โ€” Proof-of-Local-Resonance (Micro-PoW): Every sender computes an imperceptible 3-millisecond mathematical challenge locally before dispatching a transaction. For a normal user or agent sending 50 transactions, latency is imperceptible and cost is $0.00. But for an attacker attempting 1,000,000 tx/sec, the cumulative computational cost demands massive industrial power, neutralizing the attack at the hardware source.
  • Tier 2 โ€” Biological Dynamic Rate-Limiter: Mirroring how fungal mycelium throttles dormant hyphae, node mempools enforce a sliding rate-limit window of 60 transactions per minute per sender address unless an enterprise QoS license is registered.
  • Tier 3 โ€” Bare-Metal C99 Zero-Heap Drop: The C99 execution kernel (core/kernel/myc_core.c) operates strictly with static memory envelopes (malloc = 0). Malicious, oversized, or contradictory payloads are evicted at the CPU instruction level in 330 nanoseconds without consuming a single byte of heap RAM.

4. Empirical Physical Benchmark: 10,000,000 Attack Stress Test

To verify spam immunity under adversarial conditions, the production runtime was evaluated with live automated stress harnesses (core/kernel/c99_trillion_stress_test.c and tests/spam_attack_stress_test.js):

======================================================================================== ๐Ÿ’ฅ EMPIRICAL ADVERSARIAL BENCHMARK: BARE-METAL C99 & MEMPOOL STRESS VERIFICATION Runtime: libmyc_core.dylib (Apple Silicon / Clang -O3) | Engine: Living Lattice DAG ======================================================================================== [STAGE 1] Bare-Metal C99 Kernel Stress Test (c99_trillion_stress_test.c) โ€ข Adversarial Packets Tested : 10,000,000 Raw Attacks (Buffer Overflow & Malformed) โ€ข Total Benchmark Execution Time : 3.304 seconds โ€ข Sustained Hardware Drop Rate : 3,026,843 packets / second โ€ข Mean Evaluation Latency : 330.38 nanoseconds (0.330 ยตs) โ€ข Heap Memory Allocated (malloc) : 0 BYTES (Strict Zero-Heap Invariant) โ€ข Segmentation Faults / Crashes : 0 (100% Memory Safety Verified) [STAGE 2] High-Throughput Network Mempool Blast (spam_attack_stress_test.js) โ€ข 50,000 Unfunded Sybil Flood : Deflected in 166.26 ms (300,731 packets/sec drop rate) โ€ข 10,000 Zero-Value Burst Attack : 9,400 packets dropped by rate-limiter in 54.28 ms โ€ข 10,000 Incoherent PoR Proofs : 100.00% trapped & rejected in 2.84 ms (0.28 ยตs/proof) โ€ข Legitimate User During Attack : Block produced in 0.459 ms | User Gas Paid: 0.000000 MYC โ€ข Node Memory Stability (RSS) : 47.89 MB (Zero persistent leak during attack) ========================================================================================

5. Frequently Asked Questions (FAQ)

Do I need to lock or stake my Node NFT to earn rewards?

No. MYCA uses 100% non-custodial soft-staking. As long as your Node NFT resides in your personal wallet, the network snapshots your balance every 24-hour epoch and attributes your 40% pool dividend. You can trade or transfer your NFT at any moment without unbonding lockups.

How much extra do active C99 node runners earn?

Active nodes participate in the 60% Active Compute & Verification Pool. Running a node on a simple $5/month VPS or Raspberry Pi earns real-time attestation and state-verification micro-rewards on top of the base soft-staking dividend.

Where do rewards come from if gas is zero?

Rewards come directly from the Protocol Revenue Pool, which collects persistent storage rents, enterprise QoS bandwidth lanes, hardware attestation fees from IoT/energy grids, and M2M agent escrow fees. There is zero inflationary token printing.