Armaxcoin (ARMX) Technical Whitepaper
ARMX-TESTNET-1). Testnet coins
have no current market value and no investment utility; verified external testnet mining
rewards are planned for a future Mainnet migration program (final ratio and terms TBA). Mainnet execution
remains locked in source code (core.MainnetLaunched = false) pending open independent security
review and Mainnet readiness gates.
1. Abstract
Armaxcoin (ARMX) is an open-source Layer-1 blockchain protocol engineered to address the impending vulnerability of classical elliptic-curve public-key cryptography to large-scale quantum computers running Shor's algorithm, while preserving the permissionless and egalitarian properties of Proof-of-Work (PoW) consensus.
ARMX replaces classical ECDSA and Schnorr signatures with NIST FIPS 204 Module-Lattice-Based Digital Signature Algorithm (ML-DSA-65), standardized in NIST Security Category 3. Testnet has used ArmaxHash v2 from block 2,500; its fixed-header hash benchmark reports 0 allocations/op, not zero allocations for the full miner, regulated by Armax-ASERT-AW (τ=3,600s since Block #13,335; preceded by 60-block LWMA-1 and TEDR Anti-Stall at Block #13,293). The protocol maintains a strict cap of 126,000,000 ARMX, an initial reward of 60.00 ARMX per block, a 120-second target block time, and a 1,050,000-block halving cadence.
2. Core Specifications & Canonical Parameters
| Parameter | Value / Consensus Rule | Technical Notes & Rationale |
|---|---|---|
| Consensus Mechanism | Proof-of-Work (PoW) | Small-hardware CPU mining via ArmaxHash v2 (active height ≥ 2,500) |
| Difficulty Retargeting | LWMA-1 (N = 60) → Armax-ASERT-AW (τ = 3,600s, Block #13,335+) | Continuous retargeting every block: LWMA-1 (blocks 0..13,334); Armax-ASERT-AW with 4-hr Surge Cap & TEDR Boost (block 13,335+) |
| Fork Choice Rule | Cumulative Chainwork | Σ (2256 / (Target + 1)) strictly supersedes raw block height |
| Reorg Depth Limit | 720 Blocks (~24 Hours) | Local reorganization-depth limit; not transaction finality and not a guarantee against reorganizations within the limit |
| Target Block Cadence | 120 seconds (2.0 minutes) | Difficulty-adjustment target; observed block intervals vary with hashrate and random solve times |
| Initial Block Reward | 60.00000000 ARMX | Single coinbase transaction at transaction index 0 |
| Halving Cadence | Every 1,050,000 Blocks (~4.0 Years) | Subsidy cuts by 50%: 60 → 30 → 15 → 7.5 … ARMX |
| Maximum Total Supply | 126,000,000 ARMX | Strict mathematical cap: 12,600,000,000,000,000 atomic Armoids (108 precision) |
| Open-Launch Treasury Split | 1,296,000 ARMX (Mainnet blocks #1–#108,000; plan v1.3, preliminary) | Zero premine and no private pre-launch mining. On Mainnet blocks #1 through #108,000 (about 150 days)
each 60 ARMX subsidy is split by consensus: 48 ARMX plus all fees to the miner (tx[0]) and
12 ARMX to the protocol treasury (tx[1]). From block #108,001 miners receive the full reward.
Implemented in Core v1.0.13 but inactive until the treasury multisig address is published; disabled on
Testnet. Planned ceilings: Testnet miner migration up to 500,000 ARMX, uncommitted reserve 246,000,
community contributors 200,000, bridge reserve 200,000, core developers 100,000, operations 50,000.
Not final; see Treasury. |
| Digital Signature Scheme | NIST FIPS 204 (ML-DSA-65) | Public key: 1,952 bytes; Digital signature: 3,309 bytes (NIST Category 3) |
| Address Encoding | BIP-173 Bech32, one prefix per network | Testnet armx1 (63 characters), Mainnet ax1 (61), Regtest axrt1, Soak axsk1; 32-byte payload, lowercase |
| Coinbase Maturity | 10 Confirmations (Testnet) / 100 (Mainnet) | Consensus maturity delay for coinbase rewards; it does not prevent every reorganization |
| Network Ports | P2P: 19335 • RPC: 19333 |
P2P enforces TLS 1.3; RPC is loopback-only (127.0.0.1) |
3. Cryptographic Primitives (NIST FIPS 204)
3.1 ML-DSA-65 Keypair Derivation
Armaxcoin adopts ML-DSA-65, standardized under NIST FIPS 204 (Module-Lattice-Based Digital Signature Standard, formerly known as Dilithium3). ML-DSA-65 security relies on the conjectured worst-case hardness of the Module Learning With Errors (M-LWE) and Module Short Integer Solution (M-SIS) problems over cyclotomic rings.
Seed64 = BIP-39(Mnemonic24, Passphrase)Seed32 = HKDF-SHA256(IKM = Seed64, Salt = "armax-pqc-v1", Info = "ml-dsa-65/account/0")(pk, sk) = ML-DSA-65.DeriveKeypair(Seed32)
- Public Key Size: 1,952 bytes (3,904 hex characters).
- Private Key Size: 4,032 bytes (8,064 hex characters).
- Signature Size: 3,309 bytes (6,618 hex characters).
- Security Classification: NIST Security Category 3. Avoid translating the category directly into a universal post-quantum bit-security estimate.
3.2 BIP-173 Bech32 Address Derivation
Account addresses are derived from the ML-DSA-65 public key using SHA-256 and formatted using BIP-173 Bech32:
Payload32 = SHA-256(0x01 || pk)Address = Bech32(HRPnetwork, Payload32)Multisig: Payload32 = SHA-256(0x02 || M || N || sorted pk1..N)
Since Core v1.0.13 each network has its own human-readable prefix: armx on Testnet (unchanged,
because Testnet address strings are bound into its transaction hashes and Genesis), ax on Mainnet,
axrt on Regtest and axsk on Soak. Wallets and nodes reject an address from another
network before signing and during validation. Mainnet and Regtest also accept ML-DSA-65 M-of-N multisig
accounts (sig_alg 0x02, 2 ≤ M ≤ 3, M ≤ N ≤ 4) for treasury custody;
every cosigner signs the ordinary transaction hash.
3.3 Keystore Architecture at Rest
To reconcile mnemonic generation and encrypted disk storage: Armaxcoin uses BIP-39 to
produce a 24-word
mnemonic recovery phrase that deterministically regenerates Seed32. When saved to
persistent
disk storage
(wallet.json), the 32-byte seed is encrypted at rest using Argon2id (64 MiB, 3
iterations,
2-way parallelism) and AES-256-GCM with a user-supplied passphrase.
3.4 Quantum Threat Analysis: Signatures vs. Proof-of-Work
It is critical to distinguish how quantum algorithms affect signature schemes versus hash functions:
- Digital Signatures: Classical schemes (ECDSA, RSA, Ed25519) are susceptible to Shor's
algorithm, which solves discrete logarithms and integer factorization in polynomial time
O(poly(n)). ML-DSA-65 module lattices have no known polynomial quantum attack, preserving signature integrity. - Proof-of-Work (ArmaxHash): Hash preimages are subject to Grover's quantum search
algorithm, which provides a quadratic speedup
O(√N). For 256-bit hashes such as BLAKE2b-256 and SHA-256, Grover reduces effective collision search from 2256 to 2128 operations. Because 2128 operations remain well beyond feasible quantum computing capacity, hash-based Proof-of-Work remains secure against quantum collapse without requiring structural signature modifications.
4. ArmaxHash, LWMA-1, & Armax-ASERT-AW Consensus
4.1 ArmaxHash Consensus Timeline
Armaxcoin transitioned through three mining eras to balance backward compatibility and algorithm optimization:
| Era / Block Range | Algorithm | Characteristics |
|---|---|---|
| Blocks 0 .. 519 | Double-SHA256 (SHA-256d) | Bootstrap genesis era |
| Blocks 520 .. 2,499 | ArmaxHash v1 (Argon2id 2 MB) | Memory-hard transition phase |
| Blocks 2,500+ | ArmaxHash v2 | Domain-separated chained BLAKE2b; fixed-header hash benchmark reports 0 allocations/op, not full-miner allocation behavior |
D1 = BLAKE2b-512("ARMX-POW-V2\0" || 0x02 || byte(len(NetworkID)) || NetworkID || Header)BlockHash = BLAKE2b-256(D1)
4.2 LWMA-1 Difficulty Adjustment (Blocks 0 .. 13,334)
From genesis up to block 13,334, Armaxcoin employed Linearly Weighted Moving Average (LWMA-1) difficulty
retargeting across an N = 60 block window (approximately 2 hours at 120s block time). Older
blocks received
progressively lower weights:
Weighti = i, for i ∈ [1, N], Σi=1..N Weighti = N(N + 1) / 2 = 1,830AdjustedTime = Σi=1..N (Clamp(Δti) · i)NextTarget = ((Σi=1..N Targeti) / N) · (AdjustedTime / (120 · 1,830))
4.3 Armax-ASERT-AW Difficulty Adjustment (Block #13,335+)
Beginning at consensus height 13,335 (Core v1.0.10 Hard Fork), Armaxcoin activates the
Armax-ASERT-AW (Absolutely Scheduled Exponentially Rising Targets with Anti-Wrap and Drift
Caps)
difficulty adjustment algorithm. Operating with a half-life parameter of τ = 3,600 seconds
(1 hour)
referenced to an immutable anchor block (Height #13,334), target calculation is strictly history-independent
and deterministic:
e = ((tprev − tanchor) − Ttarget · (h − hanchor)) / τTarget(h) = Targetanchor · 2e
The algorithm is computed via pure 256-bit fixed-point integer arithmetic using 16-bit polynomial
approximation
matching the canonical aserti3-2d standard, preventing floating-point non-determinism across
architectures.
To guarantee absolute chain liveness and prevent manipulation, Armax-ASERT-AW enforces two critical
constraints:
- 4-Hour Surge Cap (Δt ≤ 14,400s): Time deltas between consecutive blocks are strictly capped at 4 hours during difficulty exponent evaluation, eliminating difficulty cliff exploits.
- Testnet Anti-Stall TEDR Boost (+7,200s): In testnet emergency stall scenarios (Δt ≥ 1,200s), the algorithm injects a synthetic forward drift (+7,200s) to rapidly drop difficulty toward baseline (Difficulty 3) without requiring out-of-band state resets.
4.4 Cumulative Chainwork & Reorganization Finality
The canonical branch is determined by cumulative chainwork:
Chainwork = Σk=0..Height (2256 / (Targetk + 1))
Nodes reject reorganizations whose fork point is more than 720 blocks (~24 hours at target cadence) behind the current tip. This local policy does not prevent shallower reorganizations and is not transaction finality.
5. Protocol Design Trade-offs & Performance Profile
5.1 Post-Quantum Signature Overhead & Throughput Ceiling
The primary trade-off of post-quantum lattice cryptography is parameter size. While an ECDSA transaction in Bitcoin requires approximately 250 bytes, an ML-DSA-65 transaction in Armaxcoin requires:
- Public key + signature: 5,261 raw bytes (1,952-byte key + 3,309-byte signature).
- Measured transaction profile: 10,761 bytes in legacy JSON encoding (pre-Block #20,000
on Testnet); 5,320 bytes in compact binary
TxBinaryV1encoding (active on Testnet since Block #20,000 and planned from Genesis #0 on Mainnet). - Measured 2 MB block capacity: 185 user transactions + 1 coinbase (1,990,513 bytes) in
legacy JSON; 375 user transactions + 1 coinbase = 376 total (1,996,758 binary bytes)
under
TxBinaryV1. - Estimated rate at target cadence (120s): ~1.54 TPS in legacy JSON, expanding to
~3.13 TPS under
TxBinaryV1. These are estimates, not guaranteed throughput ceilings.
Higher transaction volume may be pursued through future Layer-2 work. HTLC code in the core repository is experimental and is not active in consensus; state channels are also planned research.
5.2 Verification Latency on Low-Power ARM Hardware
ML-DSA-65 signature verification requires Number Theoretic Transforms (NTT) and matrix polynomial arithmetic
over
the polynomial ring ℤq[X]/(X256 + 1).
Verification latency depends on the CPU, Go toolchain, and transaction mix. This repository does not publish a reproducible cross-platform ML-DSA verification benchmark, so no per-signature timing or full-block latency is claimed here.
The node operations guide lists 2 GB RAM as a minimum and 4 GB as recommended for a standard full node. Actual resource use depends on chain state, storage, peers, and workload.
6. Mining Decentralization Analysis (Open Engineering Questions)
The following questions must be empirically evaluated before Mainnet genesis:
- GPU Acceleration Factor: What is the hash-per-watt and cost efficiency ratio of high-end GPUs (e.g. NVIDIA RTX 4090) compared to desktop multi-core CPUs for chained BLAKE2b?
- FPGA & ASIC Feasibility: Because BLAKE2b is an established, non-memory-hard cryptographic hash, how quickly can customized ASIC or FPGA implementations achieve dominance, and does this threaten commodity decentralization?
- Hybrid PoW Assessment: If ASIC dominance emerges early, what consensus migration mechanism (e.g. progressive memory-expansion or hybrid CPU/GPU lanes) should be evaluated under BIP-style consensus proposals?
7. P2P Transport & Security (TLS 1.3 & TOFU)
Armaxcoin replaces unencrypted plaintext gossip protocols with mandatory TLS 1.3 and Trust-On-First-Use (TOFU) peer certificate pinning.
- Peer Gossip Port:
19335(Testnet). - TOFU Pinning: Nodes use self-signed certificates and pin peer fingerprints after first contact. The initial connection remains vulnerable to interception unless fingerprints are verified out of band.
- Subnet Connection Limits: The node limits concurrent connections per IPv4
/24or IPv6/48subnet. This raises the cost of some peer-concentration attacks but does not prevent every eclipse attack.
8. Storage Engine & Reorganization Undo Logs
The node storage engine is built on transactional bbolt key-value stores providing full ACID compliance. Every state mutation writes a reverse undo log entry, ensuring that chain reorganizations up to 720 blocks unwind consistently without corrupting account state across sudden power failures or system interruptions.
9. Document Version History
| Version | Date | Summary of Changes |
|---|---|---|
v1.0.13 |
Nov 2026 | Mainnet groundwork with no Testnet consensus change: per-network Bech32 prefixes (Mainnet
ax), wallet network guard, ML-DSA-65 multisig custody, dual-coinbase treasury split
(implemented, inactive), hybrid ML-KEM Mainnet P2P TLS with per-subnet pre-TLS rate limits, the offline
armreconcile migration tool, sync-gate and fork-resolution hardening, and pinned ML-DSA-65
NIST ACVP / Wycheproof vectors. |
v1.0.12 |
Nov 2026 | Desktop Wallet GUI v2 across all 4 desktop platforms (pure-Go Windows WebView2 + System Tray,
multi-wallet Argon2id vaults, 1-click embedded node with Waiting for Sync), Node Sync Gate
(HTTP 503 on /getblocktemplate), POST /mine/stop cancel-drain
handoff, integrated armaxhash.V2JobHasher prefix cache, Stratum TLS
(stratum+ssl://), paged /history?format=paged, Go 1.27.4
(GO-2026-6859), and full rolling compatibility with v1.0.11. |
v1.0.11 |
Nov 2026 | Unified Block #20,000 hard fork scheduling TxBinaryV1 binary block size accounting
(expanding 2 MB capacity from 185 to 375 ML-DSA-65 user txs) alongside C6 (+600s), adaptive 5s/30s
inherited-tip miner wait margin, bounded globalASERTDriftCache pruning (10,000 →
2,048), and full v1.0.10 rolling compatibility (#15,967–#19,999). |
v1.0.10 |
Nov 2026 | Consensus Hard Fork activating Armax-ASERT-AW DAA at Block #13,335 (anchor #13,334, τ =
3,600s, 4-hr surge cap 14,400s, TEDR Boost +7,200s), anti-cheat immutable mining jobs, 3-tier P2P
clock skew scoring, and cross-platform multi-binary release pipeline. Existing nodes must restart
with ./armcoind -resync. |
v1.0.9 |
Nov 2026 | Testnet Anti-Stall Emergency Difficulty Adjustment (TEDR Model 3 at Block #13,293), Zero-Allocation ArmaxHash v2 CPU miner hot path (up to 5.45x parallel throughput), and automated Linux/macOS GUI daemon bootstrap. |
v1.0.8 |
Nov 2026 | Testnet ecosystem update: Stratum Mobile Mining Protocol client enrichment with PPLNS round reward tracking, battery thermal throttle protection, and official standalone Android Wallet & Miner public release. |
v1.0.7 |
Nov 2026 | Testnet maintenance release with consensus fork C6 at Block 20,000 (tightened future timestamp drift window from 7,200s to 600s / 10 minutes), comprehensive repository hygiene, secret detection, and cross-platform build validation. |
v1.0.6 |
Nov 2026 | Testnet stabilization release: P2P handshake and socket cleanup hardening, bounded node memory limits, 64-bit integer JSON deserialization precision preservation, and official GPG/Authenticode release provenance. |
v1.0.5 |
Oct 2026 | Timestamp hard fork C1/C2 (MTP-55, non-decreasing timestamps) at testnet block 8,000; seed reconnect fix; display ticker tARMX on testnet; CLI hardening. v1.0.2 was never released. |
v1.0.4 |
Oct 2026 | Consensus hardening, structured RPC diagnostics, automated multi-node soak testing, and CI verification integration. |
v1.0.3 |
Oct 2026 | Clarified quantum resistance scope (ML-DSA-65 module lattice vs Grover hash analysis); updated to cumulative chainwork; added Design Trade-offs and ARM latency benchmarks; added Mining Mining Decentralization study scope. |
v1.0.1 |
Oct 2026 | Documented ArmaxHash v2 hard fork at block 2,500; added BIP-35 mempool sync details. |
v1.0.0 |
Oct 2026 | Initial open testnet publication for ARMX-TESTNET-1 launch. |
10. References & Standards
- NIST FIPS 204: Module-Lattice-Based Digital Signature Standard (ML-DSA). National Institute of Standards and Technology, August 2024. doi:10.6028/NIST.FIPS.204
- LWMA-1 Difficulty Algorithm: Tom Elvis / Zawy, Linearly Weighted Moving Average Difficulty Algorithm for PoW Blockchains. GitHub Reference Issue #3
-
ASERT Difficulty Adjustment (
aserti3-2d): Lundeberg, M. B. & Toomim, J., Absolutely Scheduled Exponentially Weighted Rising Targets (ASERT), November 2020 (adapted as Armax-ASERT-AW at Block #13,335 with τ=3,600s). ASERT Spec (2020-11-15) • Armax Consensus Proposals - BIP-173: Wuille, P., & Corallo, M., Base32 address format for native v0-16 witness outputs (Bech32), March 2017. BIP-173 Spec
- BIP-39: Palatinus, M., Rusnak, P., Voisine, A., & Breyer, P., Mnemonic code for generating deterministic keys, September 2013. BIP-39 Spec
- RFC 7693: Saarinen, M.-J., Ed., & Aumasson, J.-P., The BLAKE2 Cryptographic Hash and Message Authentication Code (MAC), November 2015. RFC 7693
- RFC 8446: Rescorla, E., The Transport Layer Security (TLS) Protocol Version 1.3, August 2018. RFC 8446