402 Payment Required

CORE LIGHTNING - 1 Setup & Backup

How to install/upgrade Bitcoin Core: https://bitcointv.com/w/pmtwHrc88tWdJURL7boZGB Run Bitcoin Core over Tor: https://bitcointv.com/w/k2FxcXz7adoG19qC942rUU Run Bitcoin Core over I2P: https://bitcointv.com/w/tdi2BXqPF...

2022-05-28

Episode notes

How to install/upgrade Bitcoin Core:
https://bitcointv.com/w/pmtwHrc88tWdJURL7boZGB

Run Bitcoin Core over Tor:
https://bitcointv.com/w/k2FxcXz7adoG19qC942rUU

Run Bitcoin Core over I2P:
https://bitcointv.com/w/tdi2BXqPF2fhj6991Qn8vM

How to install the Tor daemon:
https://bitcointv.com/w/sh8yMyAwixtC3ZxXaoWh33?start=1m40s

Bitcoin Core RPC Authentication setup:
https://bitcointv.com/w/hw6ygtGSLUzgJhaKRsxgek?start=5m3s

Lightning Labs LND Series:
https://bitcointv.com/w/p/2DAfBL4uuNm2pjhPdRXTF

Core Lightning Github:
https://github.com/ElementsProject/lightning
-----

- Requirements:

$ sudo apt-get install autoconf automake build-essential git libtool libgmp-dev libsqlite3-dev python3 python3-pip net-tools zlib1g-dev libsodium-dev gettext
$ pip3 install --upgrade pip
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3


- Build Core Lightning:

$ poetry install
$ ./configure
$ poetry run make
$ sudo make install


- Core Lightning config File:

alias=my_alias
rgb=00000

daemon
network=bitcoin
log-file=/path/to/your/home/.lightning/lightning.log
log-level=debug

fee-base=1000
fee-per-satoshi=1
min-capacity-sat=5000000

large-channels
funding-confirms=2
autocleaninvoice-cycle=86400
autocleaninvoice-expired-by=86400

proxy=127.0.0.1:9050
bind-addr=0.0.0.0:9736
addr=statictor:127.0.0.1:9051/torport=9736
always-use-proxy=true

# wallet
encrypted-hsm

# backup
wallet=sqlite3:///path/to/your/home/.lightning/bitcoin/lightningd.sqlite3:/path/to/your/backup/lightningd.sqlite3

-----
bc1qny4am3clu0gcsq3hvja4vcdhwd529hgmnlavfh