DOCS
THE WHOLE MACHINE, IN ORDER: SHARES, DIFFICULTY, THE QUOTE RACE, BLOCKS, THE WINDOW, DEPLETION, AND WHAT IS READ FROM WHERE.
nearminer is a mining rig with no hardware. It sits on one Solana coin launched on pump.fun and reads that coin's trades as if they were hashes arriving at a pool. Buys are shares. Enough shares make a block. Each block is pointed at one of seven proof of work coins, and which one is decided by a live auction among NEAR Intents solvers.
The idea is to give a memecoin the full accounting of a mining pool: difficulty that retargets, blocks with hashes and Merkle roots, orphans, uncles, a payout window, coinbase maturity and an emission schedule that decays to a tail. All of it is driven by trades and by other chains' blocks. None of it is driven by a timer.
A share is a settled buy. Its weight is its size in USD at the moment it filled. Shares are numbered in the order the rig first sees them and that numbering is permanent.
A sell is a strike. It carries no weight and it voids the seller's remaining shares inside the payout window. Voiding does not rewrite history: shares that were already counted into a sealed block stay in that block's root.
| SEQ | ORDER SEEN |
| SIG | SOLANA SIGNATURE |
| KIND | BUY OR SELL |
| OWNER | TRADING WALLET |
| USD | WEIGHT |
| VOID | STRUCK BY A SELL |
| BLOCK | HEIGHT IT WAS SEALED IN |
Difficulty is an amount of share weight in USD. The rig adds up unsealed shares, plus any weight carried from an orphan, and seals a block the instant the sum reaches difficulty. The first difficulty is 1,000.
Every 16 blocks it retargets. It takes how many shares each of the last 16 blocks needed, sorts those 16 numbers, throws away the 2 smallest and the 2 largest, and averages the 12 left. If blocks have been taking fewer than 24 shares, difficulty rises; if more, it falls. One retarget can at most double it or halve it, and it never goes under 50.
This is Monero's method scaled down. Monero looks back 720 blocks and cuts 60 from each end before averaging. Cutting the ends means one whale buy or one dead stretch cannot swing the result.
| START | 1,000 USD |
| TARGET | 24 SHARES PER BLOCK |
| PERIOD | 16 BLOCKS |
| CUT | 2 LOW, 2 HIGH |
| STEP LIMIT | 0.5 TO 2.0 |
| FLOOR | 50 USD |
| NOW | |
| NEXT RETARGET |
When a block is sealed the rig sends one request per listed shaft to the NEAR Intents 1Click API: what does exactly 1 SOL buy of this coin right now. The API relays the request to competing solvers and returns the best offer, along with the solver's estimate of how long the fill would take.
Each offer is graded against reference. The offered amount is valued at the coin's listed USD price and divided by the listed USD price of SOL. The result in basis points is the grade. The highest grade wins the block. If two grades tie, the faster reply wins.
Using a fixed 1 SOL probe keeps grades comparable from block to block and from coin to coin. The quote requests are dry runs: they produce a real price from real solvers and create no deposit address.
A winner must also clear the cutoff. The cutoff starts at 97.00%. At each retarget it moves to 150 basis points under the median grade of the recent quoted blocks, and it never drops below 95.00%.
If the best quote is under the cutoff, or no solver answers, the block is orphaned. It keeps its height, its shares and its hash, but no shaft. Its weight is carried into the next block, which therefore seals sooner.
| START | 97.00% |
| MARGIN | 150 BPS UNDER MEDIAN |
| FLOOR | 95.00% |
| NOW |
The shares of a block are hashed into a Merkle tree. Each leaf is the SHA 256 of a share's Solana signature. Each parent is the SHA 256 of its two children's hex strings joined. A level with an odd count pairs its last node with itself. The top of the tree is the share root.
The block hash is the SHA 256 of six fields joined with bars: the previous block's hash, the height, the share root, the winning shaft, the grade and the quoted amount. Because each hash contains the one before it, the blocks form a chain that cannot be edited in the middle.
The blocks page rebuilds the latest tree in your browser and tells you whether it reached the stored root.
Claims on a block's coinbase are spread over the last 512 shares, not over the block's own shares. A wallet's claim is its unvoided weight in the window divided by all unvoided weight in the window.
Pools call this pay per last N shares. It was invented to stop hopping between pools, and it does the same job here: buying one second before a block and selling one second after earns close to nothing, and the sell voids what little there was.
| SIZE | 512 SHARES |
| UNIT | SHARES, NOT TIME |
| VOID ON | ANY SELL |
| IN WINDOW | |
| LIVE WEIGHT | |
| WALLETS |
Each shaft is a seam that thins as it is worked. A fresh seam sends 90% of its coinbase to the window. Every 256 blocks a shaft wins, that share halves. It stops falling at 10% and stays there for good.
Whatever does not go to the window goes to buying the coin and burning it. So a shaft that keeps winning pays holders less and burns more, and the split is set by blocks won, not by a calendar.
| SEAM | 256 WINS |
| HOLDER SHARE AT START | 90.00% |
| TAIL | 10.00% |
| FORMULA | 90% TIMES 2 TO THE POWER OF MINUS WINS OVER 256 |
Mined coins are not spendable at once on their own networks. Bitcoin, Zcash, Litecoin, Bitcoin Cash and Dash require 100 further blocks, Dogecoin 240, Monero 60. nearminer applies the same rule to its own blocks, measured on the winning coin's real chain.
When a block is found the rig stores that network's current height. Depth is the live height minus the stored one. Nothing waits on a timer; the gate is other chains' proof of work.
| BTC | 100 BLOCKS |
| ZEC | 100 BLOCKS |
| XMR | 60 BLOCKS |
| LTC | 100 BLOCKS |
| DOGE | 240 BLOCKS |
| BCH | 100 BLOCKS |
| DASH | 100 BLOCKS |
A quoted block becomes a settled block when its swap is funded. A live quote from 1Click returns a one time deposit address on Solana. SOL sent there is picked up, the winning solver delivers the coin on the destination chain, and the Verifier contract on NEAR settles both sides together. If the deadline passes unfilled, the SOL is refunded.
The deposit transaction is the block's deposit reference. A block shows SETTLED on this site only when that reference is stored on its row. Until then it shows QUOTED, which means exactly what it says: priced by solvers, not yet funded.
The design for the rig's outside wallets is NEAR chain signatures: addresses on Bitcoin, Zcash and the other chains that are derived from a NEAR account and signed for by a network of nodes, so that no single private key exists for them.
Zcash shielded outputs carry a 512 byte memo that only the holder of the viewing key can read. A nearminer block header fits inside it: height, previous hash, share root, shaft, grade and amount. Writing each header into the memo of that block's Zcash deposit puts the rig's own chain inside Zcash's shielded pool, readable by anyone given the viewing key and spendable by none of them.
Zcash also has the turnstile: the network tracks how much value entered each shielded pool and refuses any transaction that would take more out than went in. The rig keeps the same count per shaft. A payout that would exceed what a shaft actually received is invalid by construction.
Monero contributes the difficulty method, the 60 block lock and the tail. It also has reserve proofs, signatures that prove a wallet controls at least a stated balance without revealing which outputs are its own, which is how a Monero shaft would show its holdings.
Three outside sources and one builder.
| SOURCE | WHAT IS READ | HOW OFTEN | USED FOR |
|---|---|---|---|
| BIRDEYE | price, valuation, liquidity, holders, 24 hour counts, every swap on the coin | every second | charts, shares, the tape |
| 1CLICK API | token list with USD prices, dry quotes for 1 SOL into each shaft | at every block, and when quotes are 30 seconds old | grades, the quote race, the cube |
| BLOCKCHAIR | best block height, difficulty and hashrate of seven networks | each network every two minutes | depth, network cards |
| BLOCK BUILDER | shares in sequence, difficulty, cutoff | on every tick that has new shares | blocks, roots, hashes, retargets, the window |
| STATE | APPLIES TO | MEANING |
|---|---|---|
| ACCUMULATING | RIG | unsealed weight is under difficulty |
| QUOTING | RIG | a block is being sealed and solvers are being asked |
| SEALED | RIG | a block was just written |
| QUOTED | BLOCK | a shaft cleared the cutoff |
| ORPHANED | BLOCK | no shaft cleared the cutoff; weight carried forward |
| SETTLED | BLOCK | a deposit reference is stored |
| ACTIVE | SHAFT | listed and quoted on the last round |
| UNLISTED | SHAFT | not on the 1Click token list |
| NO QUOTE | SHAFT | listed, but the last request failed |
| BELOW CUTOFF | SHAFT | quoted under the cutoff on the last round |
| SHARE | TRADE | a buy with live weight |
| VOID | TRADE | a buy struck by its owner's sell |
| STRIKE | TRADE | a sell |
It is not a launchpad and it is not a bridge. It does not ask for a wallet connection to work, and nothing on this site can be operated by a visitor. It does not mine with hardware and it does not run a node on any of the seven networks; it reads them.
It makes no promise about price. Valuation and liquidity are shown because they are facts about the coin, read every second. The machine described here would run the same at any price, because all it consumes is trades.