Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Technical Preview 2 #2
Technical Preview 2 is our second preview version and is not fully functional, but is useful to demonstrate the progress of development.
Status of this version
Code base: https://github.com/BTCGPU/lnd
Have some fun
If you can set up a BTG LN node successfully, please connect to me:
Instructions (BTG testnet only)
This guide will help you compile your own LND for BTG and send / receive Lightning payments between LND nodes. Note that this guide is for testnet only. We use Ubuntu as the example environment.
Step 1: Run BTG core node on testnet
Step 2: Install LND
Generally the instructions are similar to the official LND installation guide (link), but you need to use our repo
Step 3: Configure LND
After installing LND, we connect LND to the BTG core client
Step 4: Play with LND
The technical preview 1 has the functionality to run the tutorial:
Prepare the wallet
Connect to another node
Note that when connecting two nodes, the one who accepts the connection should have its port (9735 by default) public accessible. To connect to a peer, you need to know its identity pubkey.
When the connection is established, you can check the connected peers by
Caveat: Please be aware that a
Request money by invoice
That's it! The instant transaction is done.
1. Cannot find package when running
Macaroons are flexible authorization credentials. You can read more here -
Example of remote call
There is public url and Macaroons are required. Check
Start the lnd again, if the files are still missing - the wallet was created with
added a commit
Aug 3, 2018
Make you reachable from others
Add the following items to the config file under