Compute Contracts Protocol (alpha)
Compute Contracts Protocol is a marketplace built from five signed records that take a machine from spec to receipt: a compute.vm payload and a four-hop RFP -> bid -> accept -> receipt chain.
The records link together like this:
compute.vm <- RFP <- Bid <- Accept <- Receipt
Each record has an inline network.attested signature. The arrows are strongRefs that link each hop to the one before it.
Live Market
Every RFP, bid, accept, and receipt is a public record. You can watch them arrive live from the relays and Jetstreams at watch.socialweb.computer. Right now, all bids are free (market.bids.free).
Sharing Capacity
If your organization already owns a Linux host with /dev/kvm, it can run as a bidder for your members without shared root passwords or an internal ticket queue. A member's RFP is just another signed record, and your bidder decides whose RFPs to consider according to its policy mode.
| Mode | Who |
|---|---|
only-me | Only your own DIDs (your account and its agents). Everything stays internal. |
mutuals | Accounts you vouch for that vouch for you back. |
tangled-vouch | Anyone you vouched for on Tangled's graph, revocable with a denounce (default). |
Running a Bidder
A bidder advertises capacity by publishing a market.offering record and a heartbeat, and requesters find it through the relays to submit RFPs. The bidder responds with a bid, provisions the VM, and writes a receipt when it takes the contract.
sudo "$(command -v socialweb-computer)" install bidder --handle <your handle> --bidder-operator-signin <your handle>
Linux with /dev/kvm: docs/bidder.md; an agent of your account or your account itself:
Who you run as.