MAVEN provider kit: rent out this computer's time and earn MAVEN
==================================================================

What it does: people book hours on your computer from the MAVEN page and pay in
MAVEN. This program takes the jobs, runs them, delivers the results and collects
the payment (95% to you, plus a 4% bonus). Earnings go to your own MetaMask.
The jobs are small, safe, built-in calculations; nothing else runs.

You need: Node.js 22 (nodejs.org) and a MetaMask wallet with at least 106 MAVEN.
It connects to the MAVEN network at https://rpc.mavencoin.org. MAVEN is still a
test network: its coins are for testing and have no money value.

1. In this folder, once:
       npm ci
2. Set up (pick a name, your price per hour, and YOUR MetaMask address):
       node agent/provider.mjs setup --name "My PC" --price 5 --payout 0xYourMetaMaskAddress
   It prints this computer's own wallet address.
3. From MetaMask, send at least 106 MAVEN to that address.
   100 is a deposit, locked while you take jobs and returned when you leave.
   If you deliver wrong results on purpose, part of it goes to the customer.
4. Start, and leave it running:
       node agent/provider.mjs start
   (On Windows you can instead double-click "Start MAVEN provider.bat".)

Check on it:   node agent/provider.mjs status
Change price:  node agent/provider.mjs config --price 7      (then start again)
Stop for good: node agent/provider.mjs leave
               (finishes open jobs, returns the deposit, sends everything to you;
                a delivered job can take up to 24 hours to be paid first)

This computer's wallet key is stored in your home folder, in .maven-provider.
Keep it private and back it up: it holds the deposit until you leave.
