Skip to content

Protocol Specification

Soqucoin is derived from Dogecoin Core 1.14.x with fundamental cryptographic upgrades. The consensus rules maintain Scrypt PoW compatibility with existing ASIC hardware while replacing all signature and privacy primitives with quantum-resistant alternatives.

Key Differences from Dogecoin

Component Dogecoin Soqucoin
Signatures ECDSA (secp256k1) ML-DSA-44 (FIPS 204)
Address Format Base58Check Bech32m
Address Hashing SHA-256 + RIPEMD-160 SHA-256 (witness v1)
Privacy None SoquObscura (in development)
Batch Verification None PAT (LatticeFold+ deprecated, see its page)
Stablecoin None USDSOQ (native L1)
Merge Mining AuxPoW (parent: LTC) AuxPoW (parent: LTC)
Block Time 60 seconds 60 seconds

Consensus Opcodes

Soqucoin extends the script engine with four custom opcodes for post-quantum operations:

Opcode Hex Witness Version Purpose
OP_CHECKPATAGG 0xfd v2 (unfundable) PAT commitment check; retained in the engine but non-load-bearing. PAT is verified as a block-level attestation, not through this opcode (see PAT)
OP_CHECKFOLDPROOF 0xfc v3 LatticeFold+ batch proof (deprecated; the deployment does not activate on any network)
OP_LATTICEBP_RANGEPROOF 0xfa v4 Confidential-tx range proof (reserved, research)
OP_USDSOQ_* 0xf4-0xf7 v5 USDSOQ authority operations

All opcodes are dispatched through VerifyScript()EvalScript() with full witness version routing.

Transaction Format

Soqucoin uses SegWit (Segregated Witness) for all transactions. The witness data carries Dilithium signatures instead of ECDSA:

Version | Flag (0001) | Inputs | Outputs | Witness | Locktime
                              ┌──────────────┘
                              ├── Dilithium Signature (2,420 bytes)
                              └── Public Key (1,312 bytes)

Block Structure

Standard Bitcoin/Dogecoin block structure with two additions:

  • AuxPoW Header: For merge-mined blocks from parent chain (LTC/DOGE)
  • PAT Attestation: A coinbase output committing SHA3-256 of the block's 100-byte batch proof over all Dilithium spends. Optional to emit, verified by every node when present, and scheduled to become mandatory at a consensus-set height

Network Parameters

Parameter Stagenet (current) Mainnet (at launch) Regtest
P2P Port 28333 33388 18444
RPC Port 28332 33389 18332
Address Prefix ssq1p sq1p sq1p
Target Spacing 60 seconds 60 seconds 1 second

Soft Fork Activation

Feature Status
PAT block attestation Active from genesis (verified coinbase commitment); witness v2 outputs are permanently unfundable
USDSOQ (v5) Active on stagenet and regtest; not active on mainnet (pending Halborn Phase 2 audit)
Confidential tx (v4) Research, not active (superseded by SoquObscura)
LatticeFold+ (v3) Deprecated; the deployment does not activate on any network. Successor: SoquObscura (research, not scheduled)

Source Code

Soqucoin is fully open source: github.com/soqucoin/soqucoin