dArkjON / Bitcore-BTX-RPC-Installer

This script helps you to install a Bitcore BTX Node.
https://bitcore.cc
2 stars 4 forks source link

Bitcore-BTX-RPC-Installer

OPTION 1: Installation with script

This script will install all required stuff to run a BitCore RPC Server.

Just 2 simple Steps and your Server is done!

Only working for Linux Ubuntu 16.04 LTS

Download and start the script

Login as root, then do:

wget https://raw.githubusercontent.com/dArkjON/Bitcore-BTX-RPC-Installer/master/btxsetup.sh
chmod +x btxsetup.sh
./btxsetup.sh

To enable firewall, you have to manually reboot server when blockchain is fully loaded!

Its loaded when "height" in message:

2018-03-24 21:58:33 UpdateTip: new best=0e18856d9315caa4e58045ec1581686de9076b916f2c791920aefad29fde6bd9 height=156975 version=0x20000000 log2_work=61.420326 tx=751075 date='2018-03-24 21:55:04' progress=0.877860 cache=10.7MiB(5039tx)

Will be equal to "Current numbers of blocks" in local wallet (GUI - Help > Debug > Information).

Switch User in Terminal

After install you can use su bitcore to switch the user and with bitcore-cli getinfo you will get all info.

OPTION 2: Deploy as a docker container

Support for the following distribution versions:

Download and execute the docker-ce installation script

Download and execute the automated docker-ce installation script - maintained by the Docker project.

sudo curl -sSL https://get.docker.com | sh

Download and execute the script

Login as root, then do:

wget https://raw.githubusercontent.com/dalijolijo/Bitcore-BTX-RPC-Installer/master/btx-docker.sh
chmod +x btx-docker.sh
./btx-docker.sh

For more details to docker related stuff have a look at:

Useful Stuff

To generate a Account-Wallet just use : bitcore getnewaddress <accoutname>

Your config file is located in cd /home/bitcore/.bitcore/bitcore.conf

After changing rpcuser & rpcpassword please restart the bitcore server.

Visit us at Telegram // Special Thanks to : wfthkttn

Fork Source : https://github.com/dArkjON/BSD-Masternode-Setup-1604