Code Monkey home page Code Monkey logo

bitcore-btx-rpc-installer's Introduction

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:

  • Fedora 7 (x86_64-centos-7)
  • Fedora 26 (x86_64-fedora-26)
  • Fedora 27 (x86_64-fedora-27)
  • Fedora 28 (x86_64-fedora-28)
  • Debian 7 (x86_64-debian-wheezy)
  • Debian 8 (x86_64-debian-jessie) - tested
  • Debian 9 (x86_64-debian-stretch)
  • Debian 10 (x86_64-debian-buster)
  • Ubuntu 14.04 LTS (x86_64-ubuntu-trusty) - tested
  • Ubuntu 16.04 LTS (x86_64-ubuntu-xenial) - tested
  • Ubuntu 17.10 (x86_64-ubuntu-artful)
  • Ubuntu 18.04 LTS (x86_64-ubuntu-bionic) - tested

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:

  • Bitcore-BTX-RPC-Installer/BUILD_README.md
  • Bitcore-BTX-RPC-Installer/RUN_README.md

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.