Skip to content

Start the lightning network test environment locally and link to the Alby

webfans edited this page Nov 29, 2022 · 1 revision

For most btc lightning network newcomers , starting a test version of the lightning network environment locally is very helpful for developing wallets, so that they can transfer money with confidence.

After installing the wallet in the browser and setting the username and password, the page will jump to the page for selecting the lightning network wallet.

There are many types of lightning network nodes to choose from.

Here we choose lnd

Beginners learn to build a Lightning Network test environment locally. It is easier to choose Polar. You can download it here, and it is easy to learn https://lightningpolar.com/

After installation, start Polar and check the network created by default, you can see a page similar to the following

Then select a node, click the hex tab, and copy the rest host and Admin Macaroon to the alby wallet

Then click continue, an error will be reported after submission, don't panic, we have no problem with the operation

Because the rest host used is the https interface, just follow the operation prompts of the wallet

“if there are SSL errors (e.g. ERR_CERT_AUTHORITY_INVALID), click "advanced" and proceed to accept the certificate.”

After the operation is completed, you can see that there is already an account in the wallet and there is a balance

Select another node in Polar and click Add New Account to import a new account

So we can try to transfer money before two accounts

Clone this wiki locally