Anonymous
Jan 21, 2018

Pending Earnings

Create a Lightning invoice for 0.00007444 BTC or less to claim article's pending earnings.

Make sure the node requesting payment is the one you specified when creating the article.
Cancel
Please pay to the node whose key you set when you published?
Oops, this invoice is for too much: use a smaller value?
Payout Failed :( Try again?
This doesn't look like a normal invoice. Try a different one?

How to run a lnd node with bitcoind in mainnet and some hints

Follow steps in https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md until

Installing lnd:

git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd cd $GOPATH/src/github.com/lightningnetwork/lnd glide install

find and edit chainparams.go and change:

var activeNetParams = bitcoinTestNetParams

to

var activeNetParams = bitcoinMainNetParams

add:

var bitcoinMainNetParams = bitcoinNetParams{ Params: &bitcoinCfg.MainNetParams, rpcPort: "8334", }

save and do:

go install . ./cmd/...

To use with bitcoind backend:

compile bitcoind with zmq support run bitcoind with --txinfex=1 in mainnet and let it sync

add to lnd.conf:

[Bitcoind]

bitcoind.rpcuser=changeme

bitcoind.rpcpass=changeme

bitcoind.rpchost=localhost:8332

bitcoind.zmqpath=tcp://localhost:18501

At the moment, if you set one of rpcuser, rpcpass or rpchost you have to set all three, as it will crash. Don't forger tcp:// in zmqpath, as it will also crash

Do first purchasements:

Start lnd and let it run in the background, open new terminal

create or unlock wallet:


Article Payment

Y'alls Peer