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+ reserved for future) |
| 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 | PAT Merkle commitment verification (active) |
OP_CHECKFOLDPROOF |
0xfc |
v3 | LatticeFold+ batch proof (reserved, research) |
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 Proof: Optional 100-byte aggregated signature proof per block
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 (v2) | Active from genesis |
| 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) | Research, reserved, not active |
Source Code¶
Soqucoin is fully open source: github.com/soqucoin/soqucoin