Skip to content

vahidzekic/Wahacoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30,052 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wahacoin (WAHA)

A decentralized, open-source peer-to-peer Proof-of-Work cryptocurrency.

Wahacoin is a custom fork of Bitcoin Core (v22.0) utilizing the SHA-256 cryptographic algorithm. It is designed from the ground up for fair distribution and long-term network security through a progressive hardware rollout strategy.

Author / Lead Developer

Vahid Zekić — Designer, developer, and maintainer of the Wahacoin project.

Wahacoin was conceived, engineered, and is actively maintained by Vahid Zekić. All core protocol modifications, network architecture decisions, and the progressive decentralization strategy are his original work.


Technical Specifications

Parameter Value
Ticker WAHA
Algorithm SHA-256 (double-hash)
Consensus Proof-of-Work
Max Supply 105,000,000 WAHA
Block Reward 250 WAHA (initial)
Halving Interval 210,000 blocks (~4 years)
Block Time Target ~10 minutes
P2P Port 9333
RPC Port 9332
Address Prefix W (Base58), wha1 (Bech32)
Smallest Unit 1 wahatoshi (10⁻⁸ WAHA)

Progressive Decentralization Strategy

To prevent immediate network takeover by well-funded mining operations and to ensure stable, fair early distribution, Wahacoin employs a 3-Phase Hardware Rollout. The network is scaled physically through controlled phases of increasing computational power.

Phase 1 — CPU Era (Months 1–3)

The network launches at zero difficulty. Block validation is handled exclusively by high-performance server-grade processors (e.g., Dual Intel Xeon architectures). This phase fosters early stability, allows core infrastructure to be battle-tested, and ensures that initial coin distribution is gradual and accessible.

  • Mining is performed directly via wahacoind with setgenerate.
  • No external mining software required.
  • Focus: Network stability, wallet tooling, and peer discovery.

Phase 2 — GPU Transition (Months 3–6)

As network difficulty scales organically, GPU mining is introduced. CUDA-based setups and OpenCL miners connect to the node via the standard getblocktemplate RPC interface. This phase transitions the network away from CPU dominance and begins to establish a competitive hashrate floor.

  • Miners connect via RPC (-rpcuser, -rpcpassword).
  • Recommended: NVIDIA GPUs with cgminer or bfgminer (SHA-256 kernel).
  • Focus: Hashrate growth, difficulty stabilization, exchange readiness.

Phase 3 — ASIC Domination (Month 6+)

Industrial-grade SHA-256 ASIC miners (e.g., Bitmain Antminer S19, Bitaxe Ultra) are connected to the network via Stratum V1/V2 mining pools. This locks the network difficulty at a high tier, providing ultimate cryptographic security equivalent to Bitcoin-class protection.

  • Requires a Stratum-compatible mining pool (e.g., CKPool, OCEAN).
  • ASICs connect to pool; pool connects to wahacoind via RPC.
  • Focus: Industrial-grade security, global decentralization, long-term sustainability.

Building from Source

Wahacoin compiles as a standard C++ Autotools project. The following instructions target headless mining/validation nodes without GUI.

Prerequisites

  • macOS: Xcode Command Line Tools, Automake, pkg-config, libevent, Boost
  • Linux (Debian/Ubuntu): build-essential, libtool, autotools-dev, automake, pkg-config, libevent-dev, libboost-all-dev

macOS (Homebrew)

xcode-select --install
brew install automake libtool pkg-config libevent boost

Linux (Debian/Ubuntu)

sudo apt-get update
sudo apt-get install -y build-essential libtool autotools-dev automake \
  pkg-config libevent-dev libboost-system-dev libboost-filesystem-dev \
  libboost-thread-dev libsqlite3-dev

Compilation

Clone the repository and build:

git clone https://github.com/vahidzekic/Wahacoin.git
cd Wahacoin

./autogen.sh

./configure \
  --disable-tests \
  --disable-bench \
  --without-gui \
  --without-bdb \
  CXXFLAGS="-Wno-enum-constexpr-conversion -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION"

make -j$(nproc || sysctl -n hw.ncpu)

Note: The CXXFLAGS above are required for modern Apple Clang (17+) and libc++ toolchains that have removed deprecated C++17 constructs used by the vendored Boost library.

Running the Node

./src/wahacoind -daemon

The node will create its data directory at:

  • macOS: ~/Library/Application Support/Wahacoin/
  • Linux: ~/.wahacoin/

Configuration file: wahacoin.conf

Useful RPC Commands

./src/wahacoin-cli getblockchaininfo    # Network status
./src/wahacoin-cli getmininginfo        # Mining statistics
./src/wahacoin-cli getpeerinfo          # Connected peers
./src/wahacoin-cli getnewaddress        # Generate a new WAHA address

Node Communication

Wahacoin nodes communicate over standard Bitcoin-derived protocols:

  • P2P Network (port 9333): Block and transaction propagation between full nodes.
  • JSON-RPC (port 9332): Programmatic interface for wallets, miners, and monitoring tools.
  • ZeroMQ (optional): Real-time block/transaction notifications for external services.

Repository Structure

src/
├── consensus/       # Consensus rules (PoW validation, merkle, tx verification)
├── policy/          # Fee rate, relay policies, dust thresholds
├── rpc/             # JSON-RPC server and method implementations
├── wallet/          # HD wallet, key management, coin selection
├── qt/              # GUI application (optional, wahacoin-qt)
├── init.cpp         # Node initialization and startup sequence
├── validation.cpp   # Block and transaction validation engine
├── chainparams.cpp  # Network parameters (genesis, ports, magic bytes)
└── miner.cpp        # Block template construction for mining

License

Wahacoin is released under the terms of the MIT License. See COPYING for more information.

Copyright (c) 2009-2021 The Bitcoin Core developers
Copyright (c) 2026 The Wahacoin Core developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

WahacoinBuilt for endurance. Mined with purpose.

About

Wahacoin - cryptocurrency based on Bitcoin

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors