New Day Design Document

Design goals

We’re designing a way to support investigative journalism through the WMS. We have the following requirements:

Technological requirements

  1. Use the Web Monetization Standard

  2. Use some form of cryptocurrency to transfer value between readers and producers.

Economic/political requirements

  1. There should be a fixed sum of fiat money spent by users each billing period (month).

  2. We shouldn’t be able to recreate the reading habits of each individual user (we should be oblivious to the specific news sites they visit).

  3. All the money should be distributed to the creators (unlike Coil which keeps the unspent tokens).

  4. The value of an article should not be determined by the amount of time people spend reading it.

  5. Attention is valued differently from reader to reader - the renumeration scheme should affect that.

  6. Other reader’s behaviour should not affect the value of my time (if I read the news for an hour per month and the majority of people read two hours of news per month that should not devalue my time).

If I decide to spend 5 EUR per month on my news consumption that means I value my total time spent reading the news this month at 5 EUR. If I only read one article that means that article provided the 5 EUR value this month. If I read 100 articles the total subjective value of my media consumption is still 5 EUR which translates to 5 cents per article.

Legal requirements

  1. The exchange of crypto tokens for money needs to follow Slovenian legislation.

  2. VAT needs to be properly managed.

  3. GDPR compliance is a must.

Proposed user flow

  1. A new user comes to newday.com and registers for an account.

  2. They provide an email and a credit card.

  3. We set a recurring charge on the card for 5 EUR per month.

  4. The user is directed to install our browser extension.

  5. The user logs into our service through the browser extension.

  6. The user reads articles and streams payments to news sites.

Proposed “system” flow

  1. When a user is charged fiat money a new ERC-20 token is created and 2678400 (60 * 60 * 24 * 31) tokens are issued and transferred to the user’s account. We mint a new ERC-20 token for each user each month. This allows us to calculate the user-specific value of the token at the end of the month/billing period while still preserving the user’s privacy (since we don’t care which user sent the tokens to the news site, but we do care that each of the user’s tokens are unique).

We are researching how ERC-1155 falls into this. It looks like it’s possible to issue multiple ERC-20 tokens with one smart contract. https://eips.ethereum.org/EIPS/eip-1155#usage

See also Enjin Coin for reference.

  1. When a user visits a news site they stream their current ERC-20 tokens to the news site’s wallet through our ILP node. A reference implementation exists here: https://github.com/interledgerjs/ilp-plugin-ethereum. One thing to consider are the transaction fees. We should probably implement a mechanism to settle transactions as infrequently as possible. (Seeing as we have enough tokens for every second of the month we can settle the transactions on the first of the coming month for the whole of the passed month).

  2. At the end of the month (or more precicely at the beginning of the following month) all news sites report their token balances to us. We group these together to calculate the EUR value of each of the fungible tokens and buy them from news sites.

  3. On the last day of each month we charge users’ credit cards, mint new ERC-20 tokens for each of them thus completing the cycle and returning to step 1.

Visualisation


Token value and exchange simulation

The tokens are named A1, A2, B1, B2, C1, and C2 to make it easier to follow the example. In reality they have random unique identifiers that in no way signify any user-specific information.

Wallet

Beginning of month 1

End of month 1

Beginning of month 2

End of month 2

Beginning of month 3

Anne

-5 EUR
+2678400 A1-tokens

-100 A1

-5 EUR
+2678400 A2-tokens

  • 250 A2-tokens

-5 EUR
+2678400 A3-tokens

Billy

-5 EUR
+2678400 B1-tokens

-1000 B1

-5 EUR
+2678400 B2-tokens

  • 800 B2-tokens

-5 EUR
+2678400 B3-tokens

Caroline

-5 EUR
+2678400 C1-tokens

-200 C1

-5 EUR
+2678400 C2-tokens

  • 600 C2-tokens

-5 EUR
+2678400 C3-tokens

News A

0 A1-tokens
0 B1-tokens
0 C1-tokens

50 A1
1000 B1
180 C1

(50 * 0.05) + (1000 * 0.005) + (180 * 0.025) = 12 EUR
0 A2-tokens
0 B2-tokens
0 C2-tokens

250 A2
100 B2
100 C2

(250 * 0.02) + (100 * 0.00625) + (100 * 0.0083)= 6.5 EUR
0 A3-tokens
0 B3-tokens
0 C3-tokens

News B

0 A1-tokens
0 B1-tokens
0 C1-tokens

50 A1
0 B1
20 C1

(50 * 0.05) + (0 * 0.005) + (20 * 0.025) = 3 EUR
0 A2-tokens
0 B2-tokens
0 C2-tokens

0 A2
700 B2
500 C2

(0 * 0.02) + (700 * 0.00625) + (500 * 0.0083) = 8.5 EUR
0 A3-tokens
0 B3-tokens
0 C3-tokens

End of month token values

  • A1: 5 / 100 = 0.05 EUR

  • B1: 5 /1000 = 0.005 EUR

  • C1: 5 / 200 = 0.025 EUR

  • A2: 5 / 250 = 0.02 EUR

  • B2: 5 / 800 = 0.00625 EUR

  • C2: 5 / 600 = 0.0083 EUR