RigSettle

Hashrate rentals, settled by validators

You rented 10 GH/s. You got 6. Who decides what you owe?

With RigSettle the buyer's payment is locked in a GenLayer Intelligent Contract. The seller's rigs mine to the buyer's pool, so the pool's public worker page is a meter neither side can edit. When the rental ends, each validator reads that page and copies the per-slot numbers into a fixed form. Plain code, not a model, works out the delivered share and splits the escrow.

  1. LockThe buyer locks the price. Validators check the pool page can be read. The seller locks a bond.
  2. MineThe seller's rigs mine to the buyer's pool for the agreed window.
  3. SettleValidators copy the pool's numbers; each works out the payout itself and they must match exactly. The seller gets the delivered share; the buyer gets the rest.

Test GEN on GenLayer Studio. Every pool, worker and coin in the examples is fictional. Also shown live on Testnet Bradbury.

See a settlement now

No waiting: every case below was already settled on chain by GenLayer validators. Open one to see the reading they agreed, the rule that applied and the payout.

Case (fictional)OutcomeTo sellerOpen
Loading…

1. Accounts

Play both parties in this browser, or connect MetaMask for one role. Temporary accounts are made in this browser only, hold test GEN from Studio's built-in faucet, and are worth nothing.

Buyer

No account

Seller

No account

2. New rental (buyer)

Fill in a fictional example:

More terms

The seller must accept before the window starts. Settlement opens one slot after the window ends and after the evidence window. The pool's worker page should list every slot of the window, including idle ones: a slot it does not list counts as zero.

Watch a live settlement

Optional. These fictional rentals have finished their window, so you can ask the validators to settle one now. GenLayer validators each read the pool page, which takes one to three minutes; the cases under "See a settlement now" are already settled if you prefer not to wait.

Loading…

3. The agreement

Create a rental above, or open one from the list below.

How settlement works

The model only copies numbers. Every decision below is plain Python in the contract, and validators must reach the same answer.

A pool estimates hashrate from the shares it accepts, so a perfect rig shows a little noise; the grace band absorbs it. An outage excuses the seller only if the status site named in the terms reports it and the meter shows the drop in the same slots. A page that cannot be read moves nothing. Payouts are sent when the settlement transaction is finalized, after GenLayer's appeal window.

Recent agreements

Loading…