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
Using the Spark-Wallet App with our Lightning Network
IMPORTANT: If you are not a developer, then ignore the following installation instructions and simply install the Spark-Wallet node package with
npm install -g spark-wallet.
- You should first install
nodejsby following this tutorial.
- Then clone Spark-Wallet with
git clone https://github.com/shesek/spark-wallet.git
- Go into the newly created directory and run
npm installto get all needed node packages.
- Create a new directory in your $HOME, e.g. /home/username/.spark-wallet
- Create a new file
configin this directory with these entries:
ln-path=/home/username/.lightning login=MyUserName:MyPassword port=9737
They will be used by spark-wallet to find your running
lightningd and also to configure the web-app (user/pwd entries are for the app, not for
spark-wallet by executing
npm start. You will see outputs similar to this:
- Now you can connect with your Spark Application via browser
The username/password from
.spark-wallet/conf are now needed to logon.
This is how the app will look like (the payment entries will be different)