WebCoin

The lightweight blockchain you can mine anywhere — from Arduino to your browser. Built for learning, powered by SHA-256.

5+
Supported Boards
5
Mining Platforms
SHA-256
Hash Algorithm
10-200
Block Reward

Mine Anywhere, Anytime

WebCoin runs on everything — from 8-bit microcontrollers to modern web browsers

Arduino Uno/Nano

ATmega328P @16MHz with SHA-256 optimized for AVR microcontrollers.

50-80 kH/s

Arduino Mega

ATmega2560 @16MHz. More memory for better mining performance.

80-120 kH/s

Arduino Due

ARM Cortex-M3 @84MHz. 32-bit architecture for faster SHA-256 hashing.

150-200 kH/s

ESP32

Dual-core Xtensa @240MHz with WiFi + Bluetooth. Powerful mining on a budget.

200-500 kH/s

PC (Python)

Multi-threaded CPU miner with cross-platform support.

500-2000 kH/s

Web Browser

Mine directly in your browser with real-time statistics.

100-500 kH/s

Node.js Terminal

Command-line miner for servers and Raspberry Pi.

500-1500 kH/s

Secure by Design

secp256k1 signatures + AES-256 encrypted keys + SHA-256 mining.

Military Grade

Choose Your Platform

Every device can mine. Pick yours and get started in minutes.

Arduino Uno/Nano

  • ATmega328P @16MHz
  • 2KB RAM, 32KB Flash
  • 50-80 kH/s
  • USB powered
C++

Arduino Mega

  • ATmega2560 @16MHz
  • 8KB RAM, 256KB Flash
  • 80-120 kH/s
  • More memory
C++

Arduino Due

  • ARM Cortex-M3 @84MHz
  • 96KB RAM, 512KB Flash
  • 150-200 kH/s
  • 32-bit power
C++

ESP32

  • Dual-core @240MHz
  • 520KB RAM, 4MB Flash
  • 200-500 kH/s
  • WiFi + BLE
C++

PC

  • Multi-threaded CPU
  • Interactive setup
  • 500-2000 kH/s
  • Cross-platform
Python

How It Works

Simple, transparent, and educational blockchain mechanics

1

Create Wallet

Generate a secure wallet with secp256k1 key pair. Your private key is encrypted with AES-256.

2

Get Mining Job

Connect to WebCoin server and receive a mining job with current block height and difficulty.

3

Mine the Block

Find a nonce that produces a SHA-256 hash with required leading zeros. Higher difficulty = more zeros.

SHA-256 Mining Algorithm
function calculateBlockHash(block) {
    const txString = block.transactions
        .map(tx => JSON.stringify(tx)).join('');
    return CryptoJS.SHA256(
        block.height + 
        block.previousHash + 
        block.timestamp + 
        txString + 
        block.nonce
    ).toString();
}

// Mining loop:
// while (!hash.startsWith('0'.repeat(difficulty))) {
//     block.nonce++;
//     hash = calculateBlockHash(block);
// }

Tokenomics

Fair and transparent distribution

Mining Rewards 70%
Community & Ecosystem 15%
Development Fund 10%
Marketing & Partnerships 5%
21M
Max Supply
10-200
Block Reward
60s
Block Time
1-10
Difficulty Range

Frequently Asked Questions

Everything you need to know about WebCoin

What is WebCoin?
WebCoin is a lightweight educational blockchain system. It features multi-platform mining (Arduino, PC, Web, Terminal), secp256k1 cryptography, AES-256 encryption, and now SHA-256 for proof-of-work. It's designed for learning, experimentation, and having fun with blockchain technology.
How do I start mining?
Choose your platform:
Web: Visit the demo, create a wallet, go to Mine tab
Arduino: Upload miner.ino, run the Python bridge script
PC: Run python PC_Miner.py and follow interactive setup
Terminal: node src/miner.js <wallet> <private_key>
Why did WebCoin switch from SHA-1 to SHA-256?
SHA-256 offers dramatically better security. SHA-1 is vulnerable to collision attacks and is no longer considered secure for production systems. By upgrading to SHA-256, WebCoin ensures your mined blocks are protected by the same hash function used by Bitcoin. The performance difference is negligible on modern hardware.
What are the expected hash rates?
Approximate hash rates by platform:
• Arduino Uno/Nano: 50-80 kH/s
• Arduino Mega: 80-120 kH/s
• Arduino Due: 150-200 kH/s
• ESP32: 200-500 kH/s
• PC (Python): 500-2000 kH/s
• Web Browser: 100-500 kH/s
How are mining rewards calculated?
Rewards scale with difficulty: reward = min_reward + (difficulty × (max_reward - min_reward) / max_difficulty). With min_reward=10 and max_reward=200, higher difficulty means higher rewards. This encourages securing the network with stronger mining effort.
Is WebCoin secure?
Yes! WebCoin implements industry-standard security:
• SHA-256 for proof-of-work
• secp256k1 for digital signatures
• AES-256-CBC for private key encryption
• bcrypt for password hashing
• JWT for authentication
• Helmet/CORS/rate limiting for API protection

Ready to Start Mining?

Join the WebCoin community and start mining on any device you own — from an Arduino to your browser.