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 on Base with 100 MAVEN
and a little ETH. MAVEN is a token on Base; network fees are paid in ETH (a few
cents' worth lasts thousands of jobs). Right now MAVEN runs on Base's TEST
network (Base Sepolia): 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 that address 100 MAVEN and a little ETH (on Base).
   The 100 MAVEN 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.
   No MAVEN yet? Email requests@mavencoin.org with that address and a line about
   your computer. If approved, the MAVEN project locks a 100 MAVEN starter deposit
   for it; your first earnings repay it. You still need a little ETH for fees.
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.
