The problem
As bots dominate traffic on the web, the prevailing ads-based business model is being called into question. Rising in its place are forms of paid access to web content (e.g. subscriptions, pay-per-crawl, micropayments). Paid access, as well as subsidized access, create incentive structures that benefit centralization, surveillance, and generally access that favors some and not all.
Another way to think about gaining access is chipping in to help, that is, supporting sites, projects, and people with labor that can't do or afford on their own. Proof-of-work is another way of enabling access (Anubis).
Proof-of-work is a decentralized consensus mechanism that exchanges compute to validate claims. This has been used in cryptocurrency as a means to maintain a ledger of transactions. Although proof-of-work does not necessarily denote doing work for an individual, this prototype takes this lietrally: What if someone could provide work to get access?
A disadvantage of proof-of-work is that it is compute intensive, and so favors those with more compute. Because it asks for the work before access (in the case of Anubis for example) a client with a slow machine waits, and one with a fast machine does not.
The idea
Proof-of-fulfillment is a different scheme related to providing work to gain access. The agent declares itself, is offered a way to pay, and can choose work instead of money. It gets access immediately and does the work afterward. Access does not depend on compute, so every client gets the same experience and the selected task can be performed over a longer window to allow more diverisity of participation.
The hard part is making sure committed work actually gets done without the site learning who the agent is. The design answers that with collateral: to take on work, the agent's wallet locks a token, and gets it back when the work is delivered. Delivered work also earns receipts, which make the wallet's balance, and its trust, grow over time.
The mental model: a credit card
The token works like a credit card.
| Credit card | Fulfillment |
|---|---|
| Credit limit | The number of tasks a wallet may have open: the balance rounded down |
| A transaction | Accepting a task, which locks one token as collateral |
| Paying it off | Submitting the work, which unlocks the token and adds a fraction |
| A bond | The locked token |
| A debt nullifier | A burned token: a default is a permanent loss that can't be linked to an identity |
As with a card, the limit grows as the wallet delivers consistently. Everyone starts with one token, so one task at a time. Each delivery returns the token plus a small fraction, so the balance grows slowly and the limit rises when the balance crosses a whole number.
The rules
Tokens and balance
- Every wallet starts with a balance of 1.00.
- The balance is the free tokens plus the locked tokens.
- A wallet can accept a task only if it has at least 1.00 free. That is the same as having fewer open tasks than the balance rounded down.
- Accepting locks exactly 1.00, whatever the size of the task.
Task sizes
Each task the site posts has a size. The size sets how long the agent has, how much access it gets, and how much it earns.
| Size | Deadline | Grace period | Access scope | Fraction earned |
|---|---|---|---|---|
| S | 1 hour | 1 hour | one page | +0.05 |
| M | 1 day | 1 day | a section | +0.10 |
| L | 1 week | 1 week | bulk access | +0.20 |
- The site sets the deadline and the grace period separately and can override these defaults.
- If only the deadline is set, the grace period is the same length.
- Access is sized to the work, so an agent can't take a large amount of content for a small commitment.
What happens to an accepted task
- Accept. One token is locked and the agent gets scoped access immediately.
- Deliver before the deadline. The token unlocks, a receipt is issued, and the fraction for that size is added.
- Deliver after the deadline, inside the grace period. The token unlocks and a receipt is issued, but no fraction is added.
- Deliver nothing by the end of the grace period. The token is burned, and the balance falls by 1.00.
The illustration only shows the first two steps with an on-time delivery. The others are the rules the design depends on.
Accept, extract, abandon
An agent could try to take the access and never deliver. Three things counter that:
- The open-task limit. A wallet can't hold more open tasks than its balance allows, so it can't take more than it could back with collateral.
- Access sized to the task. Each token buys a bounded amount of access.
- The burn. A burned token is gone. It can also push the balance below 1.00, and then the wallet can't accept anything until it recovers.
Mozilla's role
Mozilla is the verifier and issuer of the tokens. It checks that the token being locked is valid, checks that a task was actually fulfilled, and then issues the receipt and mints the fraction. The site only has to say whether the work was delivered, and never sees what is in the wallet. The same issuer could back other kinds of tokens, for example purchased credits, so payment and work can both be settled through the same wallet.
What the illustration leaves out
- Only one path is scripted: paying with work on
get_latest. You can select the other tools to see how they're paid for, but their calls are disabled. - The failure cases (late delivery, abandonment, a burn) are described above and not shown.
- The work itself is a stand-in. Checking three claims is one example of the kind of work a site might ask for. Its content is fixed.
- The rest of the wallet (credentials, mandates, and so on) belongs to other illustrations.
Open questions
These are unresolved, and they are the reason to discuss the idea.
- Starting tokens. How is a new wallet's starting token issued without being free and unlimited? Any cost for defaulting is only as strong as the cost of making a new wallet. A rate limit, an attestation, and other options each have tradeoffs.
- Recovery. How does a wallet recover from a burned token? It might take time, or work, or both.
- Scope. Are tokens global, so that a receipt from one site counts everywhere, or scoped per site?
- Privacy. What does a site learn when it verifies, and what does Mozilla learn? The design aims for the site to learn nothing about the wallet and for Mozilla to learn as little as it can.
- Quality. Who verifies that submitted work is actually good: the site, or a third party?
- Uses for the balance. Where else could a high balance count as trust, for example in PACT or MOLE-style systems?