Whitepaper v2.0.1

MotaCoin

A Proof-of-Stake Cryptocurrency with X13 Hashing, Snapback Recovery, and Native Solana Bridge

The original chain. Built to last.

Ticker MOTA
Consensus Proof-of-Stake
Max Supply 125,000,000
Block Time 4m 18s
Stake Reward 4.20% APR
Founded 2014

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

ParameterValue
Name / TickerMotaCoin / MOTA
ConsensusProof-of-Stake (pure PoS after block 978,420)
Hashing AlgorithmX13 (PoW phase), SHA-256d stake kernel
Block Time258 seconds (4 minutes, 18 seconds)
Max Supply125,000,000 MOTA
Original Premine53,100,000 MOTA (blocks 1-2)
Recovery Premine25,000,000 MOTA (block 1,159,015)
PoS Stake Reward4.20% APR
Minimum TX Fee0.005800 MOTA
Address PrefixM (pubkey version byte 50 / 0x32)
P2P Port17420
RPC Port17421
Coinbase Maturity10 blocks
Stake Minimum Age15 minutes
Stake Maximum Age25 days
Last PoW Block978,420
Data Directory~/.MotaCoin
Domainmotacoin.net
SPL Token MintMotafkn56HH6fwtYGJk4Lz7pRSpVB1ESScTCyj4eEL1

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:

Algorithm Chain
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:

53.1M
Original Premine
~46.9M
PoW Mining
25M
Recovery Premine
125M
Total Supply

3.2 Staking Rewards

MotaCoin implements a 4.20% annual Proof-of-Stake reward, calculated proportionally to coin-days staked:

C++ — main.cpp
// 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:

C++ — main.h
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

nStakeMinAge
15 minutes — minimum coin age before staking eligible
nStakeMaxAge
25 days — maximum coin age for kernel weight
nCoinbaseMaturity
10 blocks — blocks before stake reward is spendable
nHashDrift
45 seconds — kernel timestamp search window
MAX_MINT_PROOF_OF_STAKE
42 * CENT / 10 — 4.20% annual return
LAST_POW_BLOCK
978,420 — pure PoS after this height
DEF_COMBINE_AMOUNT
250 MOTA — auto-combine small staking UTXOs
MAX_COMBINE_AMOUNT
2,500 MOTA — maximum combine threshold

4.2 Kernel Hash Formula

Kernel Hash
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
$ 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 RangeVersionRules
≤ 1,159,000v6Old: 12% staking, 0.0000002 fee, 100M cap
1,159,001 – 1,159,014v7Transition: new protocol enforced, 4.20% staking (from 1,159,013)
≥ 1,159,015v8Full: 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:

15M
Rollback Recovery
10M
Lost Funds Replacement
25M
Total Recovery
C++ — main.cpp
// 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
$ 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 VersionMeaning
230405Pre-snapback (disconnected after block 1,159,000)
230406Mobile client (exempt from enforcement)
260102Snapback-aware
260116Current — 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):

C++ — main.h
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

C++ — main.h
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.

Solana DEX
SPL MOTA Token
Deposit
Bridge Engine
Inverted Escrow
Release
MotaCoin Chain
Native MOTA (PoS)

6.2 SPL Token

PropertyValue
Mint AddressMotafkn56HH6fwtYGJk4Lz7pRSpVB1ESScTCyj4eEL1
SymbolMOTA
Decimals8 (matches mainchain)
Total Supply125,000,000 (fixed, immutable)
Mint AuthorityREVOKED
Freeze AuthorityNone

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
$ 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

  1. Send SPL MOTA to any bridge escrow wallet ATA with a memo containing your M-address
  2. Solana watcher detects the transfer after 30 confirmations
  3. Executor selects a best-fit escrow wallet using atomic SQLite locking
  4. Bridge sends equivalent native MOTA to the user's mainchain address
  5. 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:

Large
3,000,000

10 wallets · 30M total

Medium
2,000,000

25 wallets · 50M total

Small
1,125,000

40 wallets · 45M total

6.6 Bridge Security

Key Encryption
Fernet/AES with PBKDF2
UTXO Locking
Atomic SQLite transactions, 5-min stale cleanup
OP_RETURN Limit
1 per transaction, 80 bytes max, zero value enforced
Confirmations
10 MOTA / 30 Solana before processing
Rate Resilience
Staggered 300ms delays, backoff after 3x 429 errors

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.

~/.MotaCoin/MotaCoin.conf
# 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

Block Explorer Live
explorer.motacoin.net

Iquidus-based explorer with full block, transaction, and address lookup

Paper Wallet Live
paper.motacoin.net

Offline-capable paper wallet generator for cold storage

Retro Paper Wallet Live
retropaper.motacoin.net

Retro-themed paper wallet generator with vintage aesthetics

Seed Node Live
seeds.motacoin.net:17420

Primary seed node for peer discovery and chain bootstrapping

ElectrumX Live
electrum.motacoin.net:50001/50002/50004

ElectrumX server for lightweight wallet connectivity (TCP/SSL/WSS)

Bridge Service Live
Pi4A:3000 (private)

Node.js bridge engine with PM2 process management

8.2 Node Architecture

Pi4A (ProductionA)
Primary staker + Bridge engine

Role: Primary staking, bridge watcher, escrow executor

Tor: Enabled

AWS (Cloud)
Seed node + Explorer + ElectrumX

Role: Public-facing infrastructure, peer discovery

Tor: No (public seed)

WSL2 (Development)
Build environment + Staking

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:

PlatformTarget
Linux x86_64x86_64-linux-gnu
Linux ARM 32-bitarm-linux-gnueabihf
Linux ARM 64-bitaarch64-linux-gnu
Windows x64x86_64-w64-mingw32
macOS Intelx86_64-apple-darwin
macOS Apple Siliconarm64-apple-darwin

9. RPC Command Reference

MotaCoin includes 35 custom RPC commands beyond the standard Bitcoin RPC set.

9.1 Staking Commands

CommandParametersDescription
getstakinginfononeStaking status, difficulty, weight, expected time
getweightnoneTotal stake weight for confirmed outputs
getstaketx<txid>Detailed stake TX: days, amount, weight, reward %
setstakesplitthreshold<1-999999>Set minimum output size after stake split
getstakesplitthresholdnoneShow 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

CommandParametersDescription
bridgetosol<amount> <solana_addr>Bridge MOTA to Solana with OP_RETURN memo

9.3 Coin Control

CommandParametersDescription
cclistcoinsnoneList spendable UTXOs with value, age, weight, reward
ccselect<hash> <index>Select specific UTXO for spending
cclistselectednoneList currently selected UTXOs
ccreturnchange<true/false>Control change return behavior
cccustomchange<address>Set custom change address
ccresetnoneClear coin control selections
ccsend<addr> <amount>Send using selected UTXOs

9.4 Chain Analytics

CommandParametersDescription
getmoneysupply[height]Money supply at a given height
moneysupplynoneDetailed supply with 1/7/30-day inflation rates
getconfs<txid>Confirmation count for a transaction
getsubsidy[target]Current PoW subsidy
getcheckpointnoneSynchronized checkpoint info
getblockbynumber<number> [txinfo]Block details by height number

9.5 Wallet Utilities

CommandParametersDescription
getnewpubkey[account]New public key for coinbase generation
validatepubkey<pubkey>Validate pubkey, return address and ismine
deleteaddress<address>Permanently delete address from wallet
checkwalletnoneCheck wallet integrity
repairwalletnoneRepair wallet if checkwallet reports problems
resendtxnoneRe-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

CommandParametersDescription
createbootstrapnoneCreate 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

2014
MotaCoin Project Founded

Original MotaCoin project started. Early development and community formation.

March 18, 2018
Genesis Block Mined (Relaunch)

"POTUS Tweets:'And yet, there is NO COLLUSION!'" — 53.1M MOTA premine (blocks 1-2)

2018 – 2023
Proof-of-Work Mining Era

X13 hashing, declining subsidy from 75 to 1 MOTA/block across ~20 epochs. Total PoW distribution: ~46.9M MOTA.

May 2023
Block 978,420: Transition to Pure PoS

Last Proof-of-Work block mined. Chain transitions to 100% Proof-of-Stake at 12% APR.

January 2, 2026
v2.0.1 Released — Snapback Protocol

Staking rate: 12% → 4.20%. TX fee: 0.0000002 → 0.005800. Supply cap: 100M → 125M. Block 1,159,015: 25M recovery premine.

March 31, 2026
Guix Builds Complete

All 6 platforms (Linux x86/ARM32/ARM64, Windows, macOS Intel/M-series) built with deterministic Guix reproducibility.

April 2026
125M MOTA SPL Token Launched

Mint authority permanently revoked. 75-wallet escrow distribution. bridgetosol RPC added to daemon. Bridge service live on Pi4A.

Checkpoints

BlockHash
000000fea25f87416...
25000001cc75374839...
701,7200000000000011348...
770,6053bd5f669ae847624...
974,427fe79e1b25515d168...
1,159,00495ccf715bd60fced...

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.