This document describes how to open a channel with c-lightning
by using a PSBT as the funding transaction for my learning.
If you use lnd
please go to here that is well documented.
Also, here is the c-lightning offical document for each command that are shown below.
fundchannel_start
is a lower level RPC command that allows a user to initiate channel establishment with a connected peer.
Assume my node is already connected to 02b861cc95a061d0536a2e6d96992274c284490bc1e3782d5b59004a2aba7767a7
.
Below the command returns the funding_address
and the scriptpubkey
for the channel funding output with 200000 sats.