Merge branch '2023-11-testnet-command-examples' into 'main'
doc: Added sample testnet CLN + CLBOSS commands See merge request lightning-signer/vls-container!10
This commit is contained in:
commit
1731716944
20
README.md
20
README.md
@ -77,6 +77,26 @@ Generate Blocks
|
|||||||
docker container exec bitcoind-regtest bitcoin-cli generatetoaddress 50 $NODE_ADDRESS
|
docker container exec bitcoind-regtest bitcoin-cli generatetoaddress 50 $NODE_ADDRESS
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Testnet CLN + CLBOSS Commands
|
||||||
|
|
||||||
|
```
|
||||||
|
# Create a connection to a random node (maybe from 1ML.com)
|
||||||
|
docker container exec lightningd-test lightning-cli --testnet connect \
|
||||||
|
02ae1e6091d2a9c4db5096558668d2456b1c0e9067cb72273eab1199bcfb208888 67.227.190.47:9735
|
||||||
|
|
||||||
|
# Allocate an onchain address to fund the node
|
||||||
|
docker container exec lightningd-test lightning-cli --testnet newaddr
|
||||||
|
|
||||||
|
# List onchain and channel funds
|
||||||
|
docker container exec lightningd-test lightning-cli --testnet listfunds
|
||||||
|
|
||||||
|
# Show CLBOSS status
|
||||||
|
docker container exec lightningd-test lightning-cli --testnet clboss-status | less
|
||||||
|
|
||||||
|
# Show node summary status
|
||||||
|
docker container exec lightningd-test lightning-cli --testnet summary
|
||||||
|
```
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
|
||||||
- [bitcoind](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/23/alpine/Dockerfile) by @ruimarinho
|
- [bitcoind](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/23/alpine/Dockerfile) by @ruimarinho
|
||||||
|
Loading…
x
Reference in New Issue
Block a user