Difference between revisions of "Umbrel - Installing BoS"

From PlebNet Wiki
Jump to navigation Jump to search
Line 26: Line 26:
and paste the following inside:
and paste the following inside:


<code>  
<code> {
{
     "cert_path": "/home/umbrel/umbrel/lnd/tls.cert",
     "cert_path": "/home/umbrel/umbrel/lnd/tls.cert",
     "macaroon_path": "/home/umbrel/umbrel/lnd/data/chain/bitcoin/mainnet/admin.macaroon",
     "macaroon_path": "/home/umbrel/umbrel/lnd/data/chain/bitcoin/mainnet/admin.macaroon",
     "socket": "localhost:10009"
     "socket": "localhost:10009"
}
} </code>
</code>

Revision as of 16:03, 24 July 2021

Installing BOS

These are the commands to enter in a command line interface for Umbrel.

Step 1: Install npm

sudo apt install npm

Step 2: Install Balance of Satoshis

sudo npm install -g balanceofsatoshis

sudo apt update

curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -

sudo apt-get install -y nodejs

mkdir -p .bos/umbrel/

cd .bos/umbrel

Step 3: Create the credentials file:

 sudo nano credentials.json  

and paste the following inside:

{

   "cert_path": "/home/umbrel/umbrel/lnd/tls.cert",
   "macaroon_path": "/home/umbrel/umbrel/lnd/data/chain/bitcoin/mainnet/admin.macaroon",
   "socket": "localhost:10009"

}