LNDhubの概要
概要
http://lndhub.io/about を読む。
オープンソースの銀行と自称している。
LNDHub is an opensource wrapper for Lightning Network Daemon. It provides separate accounts with minimum trust for end users.
We want to hide the complexity of running a node, and take over the work of a hub operator. Users want to make payments without the hassle of operating a node, opening channels, take care of liquidity or watching these channels.
信頼を最小にしてアカウントを提供し、ノードの複雑性をラップして、簡単に使わせる。って感じか。
この仕組はある種中央集権的だが、Lightningで利用する残高はそれほど大きい額ではないので問題にならないと考えている。Lndhubの集権化もあるが、これはだれでもinstallできるので、それぞれがnodeを立ててもいい。
tech
bitcoind、lnd、redisを事前にインストールする。あとは起動すると、http://lndhub.io/ こんなページがローカルに展開される。
かなりシンプルなnode.jsコードで書かれている。 読もう。