Skip to content

Open a channel manually

Ali Sezgin Hasan edited this page Sep 15, 2021 · 5 revisions

You need a channel in order to send messages on the Sphinx network! We suggest a zero-fee channel to one of our routing hubs:

Peer to one of our nodes

lncli connect [email protected]:9735

Open a channel to our node, keep in mind that:

  • Channel size should be 50,000 sats or higher
  • The "push" amount to our routing node should be 2% since 1% is set aside as a channel reserve and is unusable
  • Make sure you push sats to our side (remote balance), otherwise you won't be able to receive any sats and messages
  • Set the sat_per_byte amount to what mempool recommends
lncli openchannel SPHINX_PEER_PUBKEY --local_amt=100000 --push_amt=2000 --sat_per_byte=50

Copy the transaction ID and you can track when it gets confirmed on your node or using a website like mempool.space or blockstream.info (it's less private to use the websites than your home node)


Once your channel is confirmed, update your channel policy:

chan_point refers to the channel_point of your channel in the listchannels command

lncli updatechanpolicy --base_fee_msat=0 --fee_rate=0.003 --time_lock_delta=40 --chan_point=***