Skip to content

Instantly share code, notes, and snippets.

@dougvk
Last active January 20, 2018 23:39
Show Gist options
  • Save dougvk/8bb7842de14ec839751cdf5e8921630e to your computer and use it in GitHub Desktop.
Save dougvk/8bb7842de14ec839751cdf5e8921630e to your computer and use it in GitHub Desktop.
Generate an address for your lightning node

Generate your lightning node wallet address

root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli newaddr
{ "address" : "3Dx1XCcBsTtUQmWW6KD8PfMx6fB9saejYM" }

Wait for 6 confirms, then check balance

root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli listfunds
{ "outputs" :
[
{ "txid" : "[HIDDEN]", "output" : 0, "value" : 300000 } ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment