Mining Guide

Mine KAI.
Secure the network.

KaiChain uses SHA-3 proof-of-work mining. Any computer can mine KAI — no special hardware needed. Pick your platform to get started.

What is mining?
You secure the blockchain. You earn KAI.
Mining is the process that creates new blocks on KaiChain. Your computer tries billions of SHA-3 hash combinations until it finds one that starts with enough leading zeros — that's the proof of work. When you find it, you broadcast the block to the network, it gets added to the chain, and 50 KAI lands in your wallet instantly.
✓
No special hardware required — KaiChain uses SHA-3/256 proof of work. There are no SHA-3 ASICs in existence. Any CPU can mine KAI right now.
â„šī¸
Early miner advantage — Difficulty starts low and only rises as more miners join. Early miners earn the most KAI per day. Bitcoin miners in 2009 mined thousands of BTC on laptops.
How it works
Three simple steps.
01
Run a KaiChain node
Download and start the node software. It connects to the network, syncs the chain, and collects pending transactions into your mempool.
02
Start the miner
Enter your KAI address and click Start Mining. The node runs SHA-3 proof-of-work continuously in the background — no clicking needed.
03
Earn KAI rewards
When your node finds a valid block, 50 KAI is sent directly to your wallet. Block rewards halve every 210,000 blocks — like Bitcoin.
Economics
What you can earn.
KaiChain block rewards depend on the current reward level, how often you find blocks, and the network difficulty. Here's what a solo miner can expect right now:
Current mining economics
50
KAI per block
~2 min
Target block time
720
Blocks per day
Solo mining (1 miner): You find all blocks = ~720 blocks/day = 36,000 KAI/day
10 miners: You find ~1/10 blocks = ~72 blocks/day = 3,600 KAI/day
100 miners: You find ~1/100 blocks = ~7 blocks/day = 360 KAI/day
âš ī¸
KAI has no market price yet. Early mining is speculative — you are accumulating KAI before any exchange listing. The value of your mined KAI depends entirely on KaiChain's future growth.
Halving Schedule
Reward decreases over time.
Like Bitcoin, KaiChain block rewards halve every 210,000 blocks. This creates predictable scarcity. Early miners always earn the most.
Halving
Block Range
Reward
${[ ['1st (now)','0 – 210,000','50 KAI'], ['2nd','210,001 – 420,000','25 KAI'], ['3rd','420,001 – 630,000','12.5 KAI'], ['4th','630,001 – 840,000','6.25 KAI'], ].map((r,i)=>`
${r[0]}
${r[1]}
${r[2]}
`).join('')}
macOS Guide
Mine KAI on your Mac.
Works on any Mac with Python 3.9+. M1/M2/M3 chips mine efficiently.
Step 1 — Install Python
Open Terminal (Cmd+Space → type Terminal). Check if Python is installed:
Terminal
python3 --version
If you see Python 3.x.x you're good. If not, download from python.org.
Step 2 — Download KaiChain
Terminal
# Download and unzip from kaichain.xyz/download
# Or clone from GitHub:
git clone https://github.com/kaichain/kaichain
cd kaichain
Step 3 — Install dependencies
Terminal
pip3 install flask flask-cors requests cryptography
Step 4 — Create your wallet
Go to wallet.kaichain.xyz and create a new wallet. Copy your KAI address — it starts with KAI.
✓
Write down your 24-word seed phrase. It's the only way to recover your wallet if you lose access.
Step 5 — Start the node
Terminal — Keep this window open
python3 api/node.py --peers https://node1.kaichain.xyz
✓ KaiChain node running on port 5000
✓ Connected to 2 peers
✓ Chain synced: 142 blocks
Step 6 — Start mining
Open a second Terminal window:
Terminal 2 — Serve the UI
cd kaichain
python3 -m http.server 8080
Then open http://localhost:8080/ui/index.html in your browser.
Go to the Mine tab → paste your KAI address → click Start Mining. Walk away. KAI appears in your wallet automatically.
â›ī¸
Mining runs continuously in the background. You don't need to click anything after starting. Come back later and check your balance.
Linux Guide
Mine KAI on Linux.
Works on Ubuntu, Debian, Fedora, and most distros. Linux is the recommended OS for running a miner 24/7.
Step 1 — Install dependencies
Ubuntu / Debian
sudo apt update && sudo apt install python3 python3-pip git -y
pip3 install flask flask-cors requests cryptography
Step 2 — Download & run
Terminal
git clone https://github.com/kaichain/kaichain && cd kaichain
python3 api/node.py --peers https://node1.kaichain.xyz
Step 3 — Run 24/7 with screen
Use screen or tmux to keep the node running after you close your terminal:
Terminal — Run forever
# Install screen
sudo apt install screen -y
# Start a detached session
screen -S kaichain
python3 api/node.py --peers https://node1.kaichain.xyz
# Detach (Ctrl+A then D)
# Reattach later:
screen -r kaichain
Step 4 — Start mining via API
Replace YOUR_KAI_ADDRESS with your actual wallet address:
curl
curl -X POST https://kaichain.xyz/api/mine/start \
-H 'Content-Type: application/json' \
-d '{"miner_address":"YOUR_KAI_ADDRESS"}'
{"success":true,"status":"mining_started"}
✓
Mining now runs in the node process itself. No UI needed on Linux. Check your balance anytime with:
curl https://kaichain.xyz/api/balance/YOUR_KAI_ADDRESS
Windows Guide
Mine KAI on Windows.
Works on Windows 10 and 11. Use PowerShell or Command Prompt.
Step 1 — Install Python
Download Python 3.11+ from python.org/downloads. During installation, check "Add Python to PATH".
PowerShell — Verify
python --version
Step 2 — Download KaiChain
Download kaichain.zip from kaichain.xyz, unzip it, then open PowerShell in that folder.
PowerShell
pip install flask flask-cors requests cryptography
python api/node.py --peers https://node1.kaichain.xyz
Step 3 — Open the UI and mine
Open a second PowerShell window and run:
PowerShell 2
python -m http.server 8080
Then open http://localhost:8080/ui/index.html in your browser → Mine tab → paste your address → Start Mining.
API Mining
Mine without the UI.
The KaiChain node exposes a full REST API. Advanced miners and server operators can control mining programmatically.
Start continuous mining
curl
curl -X POST https://kaichain.xyz/api/mine/start \
-H 'Content-Type: application/json' \
-d '{"miner_address":"KAIXXXXX..."}'
Mine a single block
curl
curl -X POST https://kaichain.xyz/api/mine/once \
-H 'Content-Type: application/json' \
-d '{"miner_address":"KAIXXXXX..."}'
Check your balance
curl
curl https://kaichain.xyz/api/balance/KAIXXXXX...
{"success":true,"balance":350.0,"ticker":"KAI"}
Stop mining
curl
curl -X POST https://kaichain.xyz/api/mine/stop
Connect to public node
To mine on the real network, connect to a public bootstrap node when starting:
Terminal
python3 api/node.py --peers https://node1.kaichain.xyz
FAQ
Common questions.
Do I need a powerful computer?â–ŧ
No. KaiChain uses SHA-3 proof of work. At current difficulty, any modern laptop can mine blocks. As more miners join, difficulty rises and faster computers have an advantage — but there are no SHA-3 ASICs, so regular CPUs remain competitive.
How much KAI will I earn per day?â–ŧ
It depends on how many total miners are on the network. With 1 miner (you) you find all blocks — ~720 per day at 2-minute target = 36,000 KAI/day. With 10 miners you'd find roughly 1/10 of blocks. The miner stats page shows real-time data.
Can I mine on multiple computers?â–ŧ
Yes. Run a node on each machine and point all of them at the same KAI wallet address. Each node mines independently. The more nodes you run, the higher your share of blocks found.
What happens if my node goes offline?â–ŧ
Nothing is lost. Your mined KAI is already recorded on the blockchain. When you restart your node, it syncs the chain from peers and picks up where it left off. Your balance is safe.
Why do I need to run a node to mine?â–ŧ
Mining requires knowing the current chain state, validating transactions, and broadcasting your block to peers immediately. All of this requires being a full network participant. There is no "pool mining" on KaiChain yet — every miner runs their own node.
Will difficulty make mining impossible eventually?â–ŧ
Difficulty adjusts every 10 blocks to target a 2-minute average. If you're the only miner, difficulty stays low enough for your hardware. It only rises when more miners join and blocks come too fast. The system is self-balancing.
Is KaiChain mining quantum safe?â–ŧ
Yes. KaiChain uses SHA-3/256 (Keccak) proof of work. SHA-3 retains 128-bit post-quantum security even against Grover's algorithm — which halves the effective security of SHA-256 used by Bitcoin. KaiChain's mining algorithm is future-proof.