Comment
Author: Admin | 2025-04-27
As the primary secret key for your Dojo’s REST API. This value will allow other services to easily communicate with Dojo when necessary.NODE_ADMIN_KEY is the primary password for your Dojo instance. You will type this whenever you want to access your Dojo’s configuration panel.NODE_JWT_SECRET serves as the primary salt for your Dojo’s Web Token system and is the value that ensure there is a strong encryption for every Dojo session.NODE_API_KEY=random_node_api_keyNODE_ADMIN_KEY=random_node_admin_keyNODE_JWT_SECRET=random_node_jwt_secretConfiguring the Bitcoin Block ExplorerLastly, you need to edit the “docker-explorer.conf.tpl” file. It controls the internal block explorer for Dojo:nano /home/$USER/dojo/docker/my-dojo/conf/docker-explorer.conf.tplEdit two variables in this configuration file: EXPLORER_INSTALL= and EXPLORER_KEY=. The first tells Dojo that you want to install the block explorer, while the second serves as the password for the application.EXPLORER_INSTALL=onEXPLORER_KEY=random_keyAlso read: What Is DeFi And How Does It WorkInstalling the Dojo Bitcoin Node in UbuntuNext, start the Dojo installation script by running the following command:/home/$USER/dojo/docker/my-dojo/dojo.sh installThe installation script will download all the necessary tools that it needs to build Dojo’s docker container, then start a compilation process where it will build both the tools and programs that it needs.The script will start the Dojo executable and immediately synchronize with the Bitcoin network and will indicate this with a difference in layout and color of the terminal. Press Ctrl + C to fork the process to the background.Checking on Dojo’s Sync ProgressAs discussed above, synchronizing with the Bitcoin network can take from a few hours to a few days. It is important to keep track of the node’s progress and look for any potential issues during the sync.There are two ways to check Dojo’s progress. First, use the “dojo.sh” file to generate a running log of the server. It’s especially useful if you want a quick way to look at the server’s progress. For example, running this command will display all the logs related to the Bitcoin full node:/home/$USER/dojo/docker/my-dojo/dojo.sh logs bitcoindIt is also possible to check Dojo progress through its dedicated web portal. However, you need to make sure your computer has a copy of the Tor browser to run the following command to print all of the onion addresses that Dojo uses:/home/$USER/dojo/docker/my-dojo/dojo.sh onionNext, you need to copy and load the address for the “Dojo API and Maintenance Tool” through the Tor browser to load a small prompt where you can type the admin key that you added earlier.Dojo will display a brief summary of your node as well as the various states of its services, which is helpful if you want a more comprehensive look at your Dojo instance.Also read: What You Need to Know About Cryptocurrency Hardware WalletsPairing Samourai Wallet With DojoOnce your Dojo node is properly synchronized with the Bitcoin network, you can pair your mobile wallet
Add Comment