MotaCoin
A Proof-of-Stake Cryptocurrency with X13 Hashing, Snapback Recovery, and Native Solana Bridge
The original chain. Built to last.
Abstract
MotaCoin (MOTA) is a Proof-of-Stake cryptocurrency built on a Bitcoin-derived codebase (Bitcoin → Peercoin → NovaCoin → MotaCoin). Originally founded in 2014 and relaunched with a new genesis in March 2018, it features X13 proof-of-work hashing for the initial distribution phase, a full transition to pure Proof-of-Stake at block 978,420, 4.20% annual staking rewards, and a 125 million fixed supply.
Version 2.0.1 introduces the Snapback Recovery Protocol — a chain-level rollback mechanism that recovered the network from a consensus fault, redistributed 25 million MOTA to affected users, and upgraded the economic model in a single coordinated hard fork. It also adds a native Solana bridge via an inverted escrow architecture: all 125 million MOTA SPL tokens were pre-minted on Solana with mint authority permanently revoked.
The chain is live and operational, with staking nodes running on dedicated hardware, a block explorer at explorer.motacoin.net, and 35 custom RPC commands for staking management, bridge operations, coin control, and chain analytics.
1. Chain Parameters
| Parameter | Value |
|---|---|
| Name / Ticker | MotaCoin / MOTA |
| Consensus | Proof-of-Stake (pure PoS after block 978,420) |
| Hashing Algorithm | X13 (PoW phase), SHA-256d stake kernel |
| Block Time | 258 seconds (4 minutes, 18 seconds) |
| Max Supply | 125,000,000 MOTA |
| Original Premine | 53,100,000 MOTA (blocks 1-2) |
| Recovery Premine | 25,000,000 MOTA (block 1,159,015) |
| PoS Stake Reward | 4.20% APR |
| Minimum TX Fee | 0.005800 MOTA |
| Address Prefix | M (pubkey version byte 50 / 0x32) |
| P2P Port | 17420 |
| RPC Port | 17421 |
| Coinbase Maturity | 10 blocks |
| Stake Minimum Age | 15 minutes |
| Stake Maximum Age | 25 days |
| Last PoW Block | 978,420 |
| Data Directory | ~/.MotaCoin |
| Domain | motacoin.net |
| SPL Token Mint | Motafkn56HH6fwtYGJk4Lz7pRSpVB1ESScTCyj4eEL1 |
2. X13 Hashing Algorithm
MotaCoin uses the X13 hashing algorithm for its Proof-of-Work phase — a chained sequence of 13 cryptographic hash functions applied in series:
Blake → BMW → Groestl → Skein → JH → Keccak → Luffa → CubeHash → Shavite → SIMD → Echo → Hamsi → Fugue
Each function processes the output of the previous one, producing a final 256-bit hash. This multi-algorithm approach provides resistance against ASIC optimization and ensures broad cryptographic diversity — even if one algorithm is compromised, the remaining twelve maintain security.
After block 978,420, the chain transitioned to pure Proof-of-Stake and X13 is no longer used for block production. The stake kernel uses SHA-256d, the same hash function used by Bitcoin for its Proof-of-Work.
3. Economic Model
3.1 Supply Distribution
MotaCoin's 125 million supply was distributed across three phases:
3.2 Staking Rewards
MotaCoin implements a 4.20% annual Proof-of-Stake reward, calculated proportionally to coin-days staked:
// PoW reward — blocks 1-2 premine int64_t GetProofOfWorkReward(int64_t nFees, int nHeight) { int64_t nSubsidy = 0; if (nHeight == 1) nSubsidy = 42000000 * COIN; // 42M MOTA if (nHeight == 2) nSubsidy = 11100000 * COIN; // 11.1M MOTA return nSubsidy + nFees; } // PoS reward — 4.20% annual return int64_t GetProofOfStakeReward(int64_t nCoinAge, ...) { int64_t nRewardCoinYear = 42 * CENT / 10; // 4.20% int64_t nSubsidy = nCoinAge * nRewardCoinYear / 365 / COIN; return nSubsidy + nFees; }
3.3 Fee Structure
Transaction fees were upgraded at block 1,159,015 as part of the v2.0.1 Snapback Protocol:
static const int64_t MIN_TX_FEE_OLD = 0.0000002 * COIN; // Pre-upgrade static const int64_t MIN_TX_FEE_NEW = 0.005800 * COIN; // Post-upgrade (~29,000x increase)
Deflationary pressure: The 0.005800 MOTA minimum fee means every transaction removes a small amount from the circulating supply, creating mild deflationary pressure over time.
4. Proof-of-Stake Consensus
MotaCoin uses a HyperStake-derived Proof-of-Stake kernel, inherited through the Peercoin → NovaCoin lineage. After block 978,420, the chain is pure PoS — no Proof-of-Work blocks are accepted.
4.1 Kernel Parameters
4.2 Kernel Hash Formula
hash = SHA256d(nStakeModifier + blockFrom.nTime + txPrev.offset
+ txPrev.nTime + txPrev.vout.n + nTimeTx)
hash < bnTargetPerCoinDay × nCoinDayWeight
nCoinDayWeight = nValueIn × nTimeWeight / COIN / 86400
A UTXO successfully stakes when the kernel hash is below the target difficulty weighted by the coin's age and value. Larger, older UTXOs are proportionally more likely to find valid stakes.
4.3 Difficulty Adjustment
Difficulty adjusts every block using an exponential moving average, preventing runaway difficulty swings while keeping block times close to the 258-second target.
4.4 Stake For Charity / MultiSend
$ MotaCoind stakeforcharity add "McharityAddress..." 10 # Automatically sends 10% of every stake reward to the charity address $ MotaCoind multisend "MpayrollAddress..." 25 # Auto-send 25% of every mature stake to the specified address
5. Snapback Recovery Protocol
The Snapback Protocol is MotaCoin's chain-level recovery mechanism, introduced in v2.0.1. When the chain experienced a consensus fault around block 1,159,000, the protocol enabled a coordinated rollback and economic upgrade in a single hard fork — without requiring a new genesis block or chain restart.
5.1 Three-Phase Activation
| Block Range | Version | Rules |
|---|---|---|
| ≤ 1,159,000 | v6 | Old: 12% staking, 0.0000002 fee, 100M cap |
| 1,159,001 – 1,159,014 | v7 | Transition: new protocol enforced, 4.20% staking (from 1,159,013) |
| ≥ 1,159,015 | v8 | Full: 25M premine, 0.005800 fee, 125M cap, 4.20% staking |
5.2 Recovery Premine
At exactly block 1,159,015, a special PoS block minted 25 million MOTA for chain recovery:
// Recovery premine at block 1,159,015 if (nHeight == PREMINE_BLOCK) return 25000000 * COIN + nFees;
5.3 The reorganizetoheight RPC
The core recovery tool. Existing wallet users ran this command to roll their chain back to the safe point:
$ MotaCoind reorganizetoheight 1159000 # Disconnects all blocks above height 1,159,000 # Clears mempool, orphan pool, stale stake entries # Chain continues from the safe point on new rules
5.4 Protocol Version Enforcement
After the snapback point, nodes running old software are automatically disconnected:
| Protocol Version | Meaning |
|---|---|
230405 | Pre-snapback (disconnected after block 1,159,000) |
230406 | Mobile client (exempt from enforcement) |
260102 | Snapback-aware |
260116 | Current — full v2.0.1 with fee/supply activation |
5.5 Block Version Enforcement
Blocks must carry the correct version for their height. Blocks with incorrect version numbers are rejected with DoS(100):
static const int PRE_SNAPBACK_VERSION = 6; // blocks ≤ 1,159,000 static const int POST_SNAPBACK_VERSION = 7; // blocks 1,159,001 – 1,159,014 static const int PREMINE_VERSION = 8; // blocks ≥ 1,159,015 static const int CURRENT_VERSION = 8;
5.6 Supply Cap Upgrade
static const int64_t MAX_MONEY_OLD = 100 * 1000000 * COIN; // 100M before upgrade static const int64_t MAX_MONEY_NEW = 100 * 1250000 * COIN; // 125M after upgrade
6. Solana Bridge
6.1 Inverted Escrow Architecture
MotaCoin's bridge uses an inverted escrow model. Unlike traditional bridges where mainchain coins sit in escrow and wrapped tokens are minted on demand, MotaCoin pre-minted all 125 million MOTA as a Solana SPL token with mint authority permanently revoked. The bridge releases SPL tokens when users deposit mainchain MOTA, and reclaims them when users bridge back.
6.2 SPL Token
| Property | Value |
|---|---|
| Mint Address | Motafkn56HH6fwtYGJk4Lz7pRSpVB1ESScTCyj4eEL1 |
| Symbol | MOTA |
| Decimals | 8 (matches mainchain) |
| Total Supply | 125,000,000 (fixed, immutable) |
| Mint Authority | REVOKED |
| Freeze Authority | None |
Immutable supply: The Solana mint authority is permanently revoked. No new MOTA tokens can ever be created on either chain. The total supply across both chains always equals 125M.
6.3 MotaCoin → Solana (bridgetosol RPC)
$ MotaCoind bridgetosol 1000 "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" { "txid": "abc123...", "amount": 1000.00000000, "escrow_address": "MSo1C3RAQtKbeGtPPiLDpZZB1PaxcZPJY6", "solana_address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" }
The command sends the specified amount to the escrow address with an OP_RETURN output containing the Solana destination. After 10 on-chain confirmations, the bridge reads the OP_RETURN data and releases the corresponding SPL tokens.
6.4 Solana → MotaCoin
- Send SPL MOTA to any bridge escrow wallet ATA with a memo containing your M-address
- Solana watcher detects the transfer after 30 confirmations
- Executor selects a best-fit escrow wallet using atomic SQLite locking
- Bridge sends equivalent native MOTA to the user's mainchain address
- 0.5% bridge fee deducted
Important: The memo field must contain a valid MotaCoin address starting with M. Deposits without a valid memo cannot be processed automatically.
6.5 Escrow Distribution
The 125M SPL supply is distributed across 75 escrow wallets in graduated tiers:
10 wallets · 30M total
25 wallets · 50M total
40 wallets · 45M total
6.6 Bridge Security
7. Tor Integration
All MotaCoin staking nodes route P2P traffic through Tor using the SOCKS5 proxy at 127.0.0.1:9050. This hides the IP addresses of staking nodes from the P2P network, preventing targeted attacks against validators.
# Tor proxy configuration proxy=127.0.0.1:9050 listen=1 discover=0 # Seed nodes (non-Tor for discoverability) addnode=seeds.motacoin.net
8. Infrastructure
8.1 Public Services
Iquidus-based explorer with full block, transaction, and address lookup
Offline-capable paper wallet generator for cold storage
Retro-themed paper wallet generator with vintage aesthetics
Primary seed node for peer discovery and chain bootstrapping
ElectrumX server for lightweight wallet connectivity (TCP/SSL/WSS)
Node.js bridge engine with PM2 process management
8.2 Node Architecture
Role: Primary staking, bridge watcher, escrow executor
Tor: Enabled
Role: Public-facing infrastructure, peer discovery
Tor: No (public seed)
Role: Guix builds, development, backup staking
Tor: Enabled
8.3 Cross-Platform Wallets
MotaCoin v2.0.1 ships with Guix-built deterministic binaries for all 6 major platforms:
| Platform | Target |
|---|---|
| Linux x86_64 | x86_64-linux-gnu |
| Linux ARM 32-bit | arm-linux-gnueabihf |
| Linux ARM 64-bit | aarch64-linux-gnu |
| Windows x64 | x86_64-w64-mingw32 |
| macOS Intel | x86_64-apple-darwin |
| macOS Apple Silicon | arm64-apple-darwin |
9. RPC Command Reference
MotaCoin includes 35 custom RPC commands beyond the standard Bitcoin RPC set.
9.1 Staking Commands
| Command | Parameters | Description |
|---|---|---|
getstakinginfo | none | Staking status, difficulty, weight, expected time |
getweight | none | Total stake weight for confirmed outputs |
getstaketx | <txid> | Detailed stake TX: days, amount, weight, reward % |
setstakesplitthreshold | <1-999999> | Set minimum output size after stake split |
getstakesplitthreshold | none | Show current split threshold |
reservebalance | [reserve] [amount] | Set balance excluded from staking |
hashsettings | <drift/interval> [sec] | Configure hash drift and interval |
stakeforcharity | <command> | Auto-donate % of stake rewards |
multisend | <command> | Auto-send % of matured stakes |
9.2 Bridge Commands
| Command | Parameters | Description |
|---|---|---|
bridgetosol | <amount> <solana_addr> | Bridge MOTA to Solana with OP_RETURN memo |
9.3 Coin Control
| Command | Parameters | Description |
|---|---|---|
cclistcoins | none | List spendable UTXOs with value, age, weight, reward |
ccselect | <hash> <index> | Select specific UTXO for spending |
cclistselected | none | List currently selected UTXOs |
ccreturnchange | <true/false> | Control change return behavior |
cccustomchange | <address> | Set custom change address |
ccreset | none | Clear coin control selections |
ccsend | <addr> <amount> | Send using selected UTXOs |
9.4 Chain Analytics
| Command | Parameters | Description |
|---|---|---|
getmoneysupply | [height] | Money supply at a given height |
moneysupply | none | Detailed supply with 1/7/30-day inflation rates |
getconfs | <txid> | Confirmation count for a transaction |
getsubsidy | [target] | Current PoW subsidy |
getcheckpoint | none | Synchronized checkpoint info |
getblockbynumber | <number> [txinfo] | Block details by height number |
9.5 Wallet Utilities
| Command | Parameters | Description |
|---|---|---|
getnewpubkey | [account] | New public key for coinbase generation |
validatepubkey | <pubkey> | Validate pubkey, return address and ismine |
deleteaddress | <address> | Permanently delete address from wallet |
checkwallet | none | Check wallet integrity |
repairwallet | none | Repair wallet if checkwallet reports problems |
resendtx | none | Re-broadcast all unconfirmed wallet TXs |
makekeypair | [prefix] | Generate a new public/private key pair |
rescanfromblock | <height> | Rescan wallet from specific block |
9.6 Chain Management
| Command | Parameters | Description |
|---|---|---|
createbootstrap | none | Create clean bootstrap.dat from best chain |
reorganizetoheight | <height> | Disconnect all blocks above height (Snapback) |
sendalert | <msg> <key> ... | Broadcast a network alert to all nodes |
10. Chain History
Original MotaCoin project started. Early development and community formation.
"POTUS Tweets:'And yet, there is NO COLLUSION!'" — 53.1M MOTA premine (blocks 1-2)
X13 hashing, declining subsidy from 75 to 1 MOTA/block across ~20 epochs. Total PoW distribution: ~46.9M MOTA.
Last Proof-of-Work block mined. Chain transitions to 100% Proof-of-Stake at 12% APR.
Staking rate: 12% → 4.20%. TX fee: 0.0000002 → 0.005800. Supply cap: 100M → 125M. Block 1,159,015: 25M recovery premine.
All 6 platforms (Linux x86/ARM32/ARM64, Windows, macOS Intel/M-series) built with deterministic Guix reproducibility.
Mint authority permanently revoked. 75-wallet escrow distribution. bridgetosol RPC added to daemon. Bridge service live on Pi4A.
Checkpoints
| Block | Hash |
|---|---|
| 0 | 00000fea25f87416... |
| 25 | 000001cc75374839... |
| 701,720 | 0000000000011348... |
| 770,605 | 3bd5f669ae847624... |
| 974,427 | fe79e1b25515d168... |
| 1,159,004 | 95ccf715bd60fced... |
11. Conclusion
MotaCoin is the original chain — the ancestor of PotCoin and MaryJaneCoin — and v2.0.1 proves that a mature PoS chain can evolve without starting over. The Snapback Recovery Protocol demonstrated that chain-level issues can be resolved through coordinated rollback rather than abandonment.
The inverted Solana bridge, with mint authority permanently revoked on 125M pre-minted SPL tokens, provides DEX liquidity without any trust in ongoing token minting. With 4.20% annual staking rewards, 35 custom RPC commands, cross-platform Guix-built binaries, and live infrastructure spanning block explorer, paper wallets, ElectrumX, and Solana bridge, MotaCoin v2.0.1 is a complete cryptocurrency ecosystem.
Your stake. Your chain. Your MotaCoin.