This short tutorial will guide you with the process of connecting a node with your cryptocurrency wallet script installation.
The first step will be to download the appropriate source code from your admin panel. Once you're done with it, you'll be needed to enter some details related to database (at the node server), node authentication code, main site URL and other coin related settings.
You'll find the NODE_AUTH_CODE at your main site admin panel. We highly recommend that you use our Node Installer tool located at the admin panel instead of manual installation.
In case of Ethereum node, it's necessary that you restrict the traffic to only localhost to prevent others from accessing the JSON-RPC endpoint.
It can be done by the following command:
iptables -A INPUT ! -s 127.0.0.1 -p tcp -m tcp --dport PORT_NUMBER -j DROP
However, Ethereum usually runs on port 50124 with our code, so the above command changes to:
iptables -A INPUT ! -s 127.0.0.1 -p tcp -m tcp --dport 50124 -j DROP
You must upload the Bitcoin node code at /root/.basilisk-bitcoin and Ethereum at /root/.basilisk-ethereum and fill the settings at Config.php file.
As you're done with that, you must create a cron job at your node server.
0 * * * * /usr/bin/php /root/.basilisk-[TYPE]/Controller.php
At this point you're nearly done with the everything. However, in case of Bitcoin-type coins, you'll have to update the coin configuration file too usually named coin.conf.
Finally, start your coin daemon. In case of Ethereum, copy and paste the command listed at your admin panel.