bitmark-property-system / bitmark-wallet

0 stars 0 forks source link

pay for the usage of a resource #1

Open nodestory opened 4 years ago

nodestory commented 4 years ago

User story

As a developer, I want to pay for the usage of a resource so I can use it in my program.

Acceptance criteria

  1. The payments are made in BTC through the Lightning network.
  2. The client can retrieve the macaroon upon the payment succeeds.

Suggestions from Blockchain Commons

I would start with understanding LND from lightning labs. You can use btcd, their Go implementation of Bitcoin under it, but would suggest hosting it on top of bitcoind.

If you use Macintosh’s as your desktop development environment, I would suggest you install using Bitcoin Standup which also installs tor. https://github.com/BlockchainCommons/Bitcoin-Standup At some point we want Bitcoin Standup to optionally install various lightning implementations. PRs welcome :-)

You’ll want testnet first — don’t use real money yet!

Once each of you have LND working on your desktop and laptops, set up some testnet routes, and maybe play with FullyNoded2 over Tor with testnet Bitcoin. Then install some mobile wallets that work with your own personal LND Servers.

hxw commented 4 years ago

suggested list of tasks

Above does not include execution which needs;