lightning-askrene-create-channel -- Command to add a channel to layer (EXPERIMENTAL)
SYNOPSIS
askrene-create-channel layer source destination short_channel_id capacity_msat htlc_min htlc_max base_fee proportional_fee delay
DESCRIPTION
WARNING: experimental, so API may change.
The askrene-create-channel RPC command tells askrene to populate one direction of a channel in the given layer. If the channel already exists, it will be overridden. If the layer does not exist, it will be created.
- layer (string): The name of the layer to apply this change to.
- source (pubkey): The source node id for the channel.
- destination (pubkey): The destination node id for the channel.
- short_channel_id (short_channel_id): The short channel id for the channel. If a channel with this short channel id already exists in layer, the source, destination and capacity_msat must be the same.
- capacity_msat (msat): The capacity (onchain size) of the channel.
- htlc_min (msat): The minimum value allowed in this direction.
- htlc_max (msat): The maximum value allowed in this direction.
- base_fee (msat): The base fee to apply to use the channel in this direction.
- proportional_fee (u32): The proportional fee (in parts per million) to apply to use the channel in this direction.
- delay (u16): The CLTV delay required for this direction.
RETURN VALUE
On success, an empty object is returned.
AUTHOR
Rusty Russell <[email protected]> is mainly responsible.
SEE ALSO
lightning-getroutes(7), lightning-askrene-disable-node(7), lightning-askrene-inform-channel(7), lightning-askrene-listlayers(7), lightning-askrene-age(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning