Skip to content

Commit

Permalink
add instructions for the lazy simplest setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed May 6, 2020
1 parent 4807cbe commit a315458
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions cmd/trustedcoin/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## The `trustedcoin` plugin.

A plugin that uses block explorers (blockstream.info, mempool.space, blockchain.com and blockchain.info) as backends instead of your own Bitcoin node.
A plugin that uses block explorers (blockstream.info, mempool.space, blockchair.com and blockchain.info) as backends instead of your own Bitcoin node.

This isn't what you should be doing, but sometimes you may need it.

(Remember this will download all blocks c-lightning needs from blockchain.info in raw, hex format.)
(Remember this will download all blocks c-lightning needs from blockchain.info or blockchair.com in raw, hex format.)

## How to install

Expand All @@ -16,6 +16,20 @@ You only need the binary you can get in [the releases page](https://github.com/f

Also call `chmod -x bcli` so the `bcli` plugin that comes installed by default doesn't conflict with `trustedcoin`.

## How to bootstrap a Lightning node from scratch, without Bitcoin Core, on Ubuntu amd64

```
add-apt-repository ppa:lightningnetwork/ppa
apt update
apt install lightningd
cd /usr/libexec/c-lightning/plugins
chmod -x bcli
wget https://github.com/fiatjaf/lightningd-gjson-rpc/releases/download/trustedcoin-v0.2/trustedcoin_linux_amd64
chmod +x trustedcoin_linux_amd64
cd
lightningd
```

## How to use

You don't have to do anything, this will just work.

0 comments on commit a315458

Please sign in to comment.