Voltage.cloud - Setup and unlock a Lightning Network node on cloud. Simple steps suggested
from Voltage.cloud to setup a node by Voltage API and LND API.
Requirements:
- Node.js installed on your system.
- Create an API KEY from [https://account.voltage.cloud/api-keys](https://account.voltage.cloud/api-keys).
- An `.env` file in your project's root directory containing your `API_KEY`.Use the .env-sample as template.
Scripts:
node voltage-unlock.js --node <node-id> [--macaroon-path <path-to-encrypted-macaroon>] [--seed-path <path-to-encrypted-seed>]
Steps:
# Setup the node
$ node voltage-add.js
➜
Creating your node...
Using the apikey: XXXXXXXXXX
Created the node: ebafbd83-b3c6-4cb6-8e4d-b452123246e8N
Found node's status of provisioning
Found node's status of provisioning
Found node's status of provisioning
Found node's status of provisioning
Found node's status of waiting_init
Got seed phrase: ability,.......,alone
Initializing wallet with password: XXXXXXXXXXXXXXXXXX
Got Node's Macaroon: AgE...HuA=
Successfully created your node!
Saved encrypted macaroon under macaroons/encrypted.seed
Saved encrypted macaroon under macaroons/encrypted.macaroon
# Files would be under macaroons/{encrypted.macaroon, seed.encrypted}
$ node voltage-unlock.js -n ebafbd83-b3c6-4cb6-8e4d-b452123246e8N \
-m macaroons/encrypted.macaroon \
-s macaroons/encrypted.seed
➜
Seed path: macaroons/encrypted.seed
Uploading the macaroon to your node...
Uploaded macaroon
Uploaded seed
References:
- Voltage: Creating a node. https://docs.voltage.cloud/api/creating-a-node-example
-
Notifications
You must be signed in to change notification settings - Fork 1
bluebycode/voltage-node-setup
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Programatic steps to setup a Lightning Network node by Voltage API on their cloud