Back to Dashboard
$WHOLE

How to Mine $WHOLE

A complete, beginner-friendly guide. No prior blockchain experience needed. Mining runs on your own computer and submits proofs to the $WHOLE contract on the Base network (mainnet).

Scan fee
0.0005 ETH
Network
Base (mainnet)
You need
Python 3.10+
Buyback & Burn
10% (opt-out)
1

Install Python

Mining uses a small Python program. If you don't have Python yet, download and install it (version 3.10 or newer). During installation on Windows, make sure to tick "Add Python to PATH".

Download Python

To check it worked, open your terminal (Command Prompt on Windows, Terminal on Mac/Linux) and run:

terminal
python --version
2

Get ETH on Base

Each scan costs a small fee of 0.0005 ETH on the Base network. You need real ETH on Base to mine. The easiest way is to bridge ETH from Ethereum mainnet using the official Base Bridge.

Open Base Bridge
Safety tip: use a dedicated mining wallet. Never share your private key with anyone. Only deposit the ETH you need for scan fees.
3

Quick start — download the miner

The easiest path. Download the ready-to-use miner file. The contract address and network are already filled in — you only add your wallet key.

Download whole-miner.py

a.Put whole-miner.py in a new folder, e.g. whole-mining.

b.Install the one dependency by running:

terminal
pip install web3

c.In the same folder, create a file named exactly .env with this content (paste your own private key):

.env
# .env  ->  save this file next to whole-miner.py
# Replace the value below with YOUR wallet private key.
PRIVATE_KEY=0xyour_wallet_private_key_here

# Optional (already filled in - only change if you know what you are doing):
# RPC_URL=https://mainnet.base.org
# CONTRACT=0x2f8A1A11Ab90Eb03D83ad3250956A537ec9037D9
# DRY_RUN=false

d.Start mining:

terminal
python whole-miner.py

That's it. The miner connects, checks cooldowns, searches for valid proofs and submits them automatically. It also verifies prizes on-chain and handles the buyback & burn flow. Leave it running. Press Ctrl + C to stop.

Want to test without spending any fee first? Set DRY_RUN=true in your .env — it generates a proof but does not submit it on-chain.

To disable the automatic buyback, set ENABLE_BUYBACK = False on line ~69 of the miner file. Your prize is never at risk — the buyback is a separate transaction that runs after you already received your reward.

4

Prefer not to download? Build it yourself

If you'd rather not download a file, you can create the miner yourself — everything is fully transparent. Just do the following:

a.Create a new empty file called whole-miner.py and paste in all of the code below (use the Copy button):

whole-miner.py
Loading source...

b.Create the .env file (same as Step 3c) and install the dependency with pip install web3.

c.Run python whole-miner.py. Done — identical to the downloaded version, just typed by you.

5

What is actually happening?

$WHOLE uses a memory-hard proof. Your computer builds a large chained array in memory, forms a Merkle tree from it, and searches for a number (a "nonce") that produces a hash with enough leading zeros. When it finds one, it submits that proof on-chain and earns rewards.

There are two types of valid proof, depending on how many leading-zero nibbles the hash has:

Smart Protections — built into the miner

Cooldown Awareness

The miner reads lastHawkingBlock and lastEpisodeBlock every loop. If neither window is ready, it waits automatically instead of wasting your 0.0005 ETH on a scan that would be rejected. It also displays a live countdown.

On-Chain Verification

After every scan, the miner parses the transaction receipt logs to confirm whether the contract actually emitted a SingularityFound or HawkingEmission event. It never trusts the local hash alone — only on-chain truth counts.

Hawking Skip

Hawking proofs found during cooldown are skipped instead of submitted. The contract would accept the tx but mark it invalid — eating your fee with no reward. The miner prevents this entirely.

Hawking Emission

Partial proof — smaller reward

Requires half the difficulty (e.g. 1 nibble when full difficulty is 2). Much easier to find — it often takes just a few attempts.

15% of the ETH in the Cosmic Reservoir

100 $WHOLE (from the 50,000 Hawking reserve)

10 $GRAV points (makes future mining easier)

Cooldown: ~24 hours (43,200 blocks) between Hawking emissions. The miner checks this automatically and skips Hawking proofs during cooldown to save your fee. Singularity still works during Hawking cooldown.

Singularity

Full proof — the big reward

Requires the full difficulty (e.g. 2 nibbles in Era 1). Harder to find, but the miner tries up to 50 million nonces per round — at 2 nibbles (1 in 256 chance) it typically finds one quickly.

100% of the ETH in the Cosmic Reservoir

Full episode reward (e.g. 500 $WHOLE in Era 1)

Advances the protocol to the next episode

Cooldown: 300 blocks (~10 min) between Singularities. The miner checks this and waits automatically — no wasted fees.

How $GRAV makes mining easier over time

Every Hawking you find earns 10 $GRAV points. These are soulbound (non-transferable) and give you a difficulty tolerance of up to −20% on your Singularity threshold. In practice, this means the more you mine, the easier future Singularities become for your wallet.

The bonus follows a logarithmic curve: it ramps up fast at first, then flattens. With just 3 Hawkings (30 GRAV) you already hit the maximum 20% reduction.

v2 Buyback & Burn — deflationary by default

The miner has a built-in buyback & burn mechanism. After every winning scan (Singularity or Hawking), it automatically sends 10% of the ETH prize to the on-chain BuybackVault contract, which instantly swaps the ETH for $WHOLE on the DEX and burns the tokens forever (sends to 0x...dead).

Default ON — no setup needed

Opt-out with one line: ENABLE_BUYBACK = False

Prize safe — buyback is a separate tx after you receive your reward

Trustless — vault contract cannot withdraw ETH or WHOLE

Verified on BaseScan — read the code yourself

If buyback tx fails, miner keeps running normally

The more miners participate, the more $WHOLE gets burned, making the remaining supply scarcer over time. This creates a natural deflationary pressure on the token.