EndlessVanguard / bitcoin-remunerate-api

A scheme for trustless, decentralized, anonymous, remuneration for content creators.
1 stars 0 forks source link

bitcoin remunerate api

js-standard-style ci-build-status

A scheme for trustless, decentralized, anonymous, remuneration for content creators.

Dependencies

routes

All routes are prepended with a api version number. It is currently /0/

Generating PAYABLE_ADDRESS for new visitors

  1. generate a public and private bitcoin key
  2. save the private key to somewhere (otherwise we can never spend the money)
  3. Attach the public key (bitcoin address) to the HTTP response header.

Authenticating a consumer

When users come to /secret-article?key=, we check https://blockchain.info/rawaddr/'s total_received field.

If that is greater than, say $0.10*BTC/USD then return the article in question. Else redirect user to a page saying we want CASH!!!

HOW DO WE MAKE SOME BITS OFF DIS!?

schemes of use

onboarding flow

use case: medium

use case: white papers