What is Nostr?
nitesh_btc / Nitesh ⚡️
npub1qgw…7y7n
2023-03-16 23:08:59
in reply to nevent1q…rxz8

nitesh_btc on Nostr: There isn't a guide but you basically need 2 nodes. I mean you could do with 1 node ...

There isn't a guide but you basically need 2 nodes. I mean you could do with 1 node but whomever you're peering with has to trust you because you're using magic money.
On both the nodes you will need to add protocol.option-scid-alias=true and protocol.zero-conf=true in their conf files.
Install balanceofsatoshis on both nodes.

On the node receiving the inbound zero-conf channel run
bos inbound-channel-rules --trust-funding-from <pubkey of node opening channel>
And keep the command running.

On the node opening the channel from run
bos open <pubkey of the 2nd node> --amount <channel capacity you want> --type private-trusted --avoid-broadcast

Use public-trusted as type if you want the world to know about your channel.

All this is LND nodes btw, idk how to do it with other implementations.
Author Public Key
npub1qgwhaaa2lsp54rl0hfx7qa3z678ax6wlre0em475rhpvl7n54cpqgg7y7n