Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 681 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 681 Bytes

Zeroconf Plugin for CLN

A plugin for selectively allowing zeroconf channels from a peer.

Quickstart

Assuming you have a running lightningd and a working lightning-cli:

git clone https://github.com/voltagecloud/zero-conf-cln.git zero-conf-cln
lightning-cli -k plugin subcommand=start \
                        plugin="$PWD"/zero-conf-cln/zero-conf-cln.py \
			zeroconf-allow=<peer_hex_pubkey>

To start lightningd with the plugin enabled:

git clone https://github.com/voltagecloud/zero-conf-cln.git zero-conf-cln
lightningd ... \
           --plugin="$PWD"/zero-conf-cln/zero-conf-cln.py \
           --zeroconf-allow=<peer_hex_pubkey> \
	   ...