|
|
|
@ -23,23 +23,27 @@ export class HelpComponent implements OnInit {
|
|
|
|
|
constructor() {}
|
|
|
|
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
|
this.helpTopics.push(new HelpTopic('Getting started', 'Funding you node is the first step to start ' +
|
|
|
|
|
'operating on Lightning Network. To fund your node go to the *On-chain* menu of the application.' +
|
|
|
|
|
' Click on the *Receive* section of *On-Chain Transactions*, generate a new address' +
|
|
|
|
|
' and send funds on that address. Once the node is funded, next step is to connect with network peers ' +
|
|
|
|
|
'and open channels with them.'));
|
|
|
|
|
this.helpTopics.push(new HelpTopic('Connect with peers', 'To connect with peers go the *Peer/Channels* ' +
|
|
|
|
|
'menu under the *Lightning* menu. To connect with a peer you need a pubkey and host information in the ' +
|
|
|
|
|
'pubkey@ip:port format. You can connect with a peer on the *Peers* section or choose the *ADD PEER* ' +
|
|
|
|
|
'option from the Alias drop-down on *Channels* section. Once the peer is connected, you can open ' +
|
|
|
|
|
'channels with them'));
|
|
|
|
|
this.helpTopics.push(new HelpTopic('Opening Channels', 'To open channel with a peers go the *Peer/Channels* ' +
|
|
|
|
|
'menu under the *Lightning* menu. On the *Channels* section, select the Alias of the connected peer from ' +
|
|
|
|
|
'the drop-down, specify the amount to commit to the channel. There are a variety of options which can be ' +
|
|
|
|
|
'specified while opening a channel. \n' +
|
|
|
|
|
'1. Private Channel - When this option is selected, the channel is opened privately and not broadcast. \n' +
|
|
|
|
|
'2. Priority (advanced option) - Specify either Target confirmation Block or Fee in Sat/Byte. \n' +
|
|
|
|
|
'3. Spend Unconfirmd Output (advanced option) - Allow channels to be opened with unconfirmed UTXOs.'));
|
|
|
|
|
this.helpTopics.push(new HelpTopic('Getting started', 'Funding your node is the first step to get started.\n' +
|
|
|
|
|
'On the *On-chain* menu:\n' +
|
|
|
|
|
'1. Generate a new address on the *Recieve* tab.\n'+
|
|
|
|
|
'2. Send funds to the address.\n' +
|
|
|
|
|
'3. Wait for the balance to be confirmed on-chain before proceeding further.\n' +
|
|
|
|
|
'<a href="http://localhost:3000/rtl/lnd/onchain">On-Chain</a>.'));
|
|
|
|
|
this.helpTopics.push(new HelpTopic('Connect with peers', 'Connecting with network peers is the next step.\n' +
|
|
|
|
|
'Go the *Peer/Channels* page under the *Lightning* menu :\n' +
|
|
|
|
|
'1. Get the peer pubkey and host address in the pubkey@ip:port format.\n' +
|
|
|
|
|
'2. On the *Peers" enter the peer address and connect.\n' +
|
|
|
|
|
'3. Once the peer is connected, you can open channel with the peer.\n'+
|
|
|
|
|
'<a href="http://localhost:3000/rtl/lnd/peerschannels">Peers/Channels</a>.'));
|
|
|
|
|
this.helpTopics.push(new HelpTopic('Opening Channels', 'Opening channel with the peer is the next step.\n' +
|
|
|
|
|
'Go the *Peer/Channels* page under the *Lightning* menu:\n' +
|
|
|
|
|
'1. On the *Channels* section, select the Alias of the connected peer from the drop-down\n' +
|
|
|
|
|
'2. Specify the amount to commit to the channel.\n' +
|
|
|
|
|
'3. There are a variety of options available while opening a channel. \n' +
|
|
|
|
|
' a. Private Channel - When this option is selected, the channel is opened privately and not broadcast. \n' +
|
|
|
|
|
' b. Priority (advanced option) - Specify either Target confirmation Block or Fee in Sat/Byte. \n' +
|
|
|
|
|
' c. Spend Unconfirmd Output (advanced option) - Allow channels to be opened with unconfirmed UTXOs.\n' +
|
|
|
|
|
'<a href="http://localhost:3000/rtl/lnd/peerschannels">Peers/Channels</a>.'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|