NodeJS CLI tools for Electra daemon and blockchain.
The local installation is useful if you want to use Electra CLI Tools.
Prerequisites:
npm i -g electra-cli
npm i -g electra-cli
The remote installation is useful if you want to run a Bootstrap Node to help the network and publish it to help fasten the Electra wallets network bootstrap.
It is recommanded to use a real hosted server (a VPS is enough) with at least 2GB of memory.
Prerequisites:
- APT-based OS (Debian, Ubuntu, etc).
- Full root access.
cd ~
sudo apt-get update
sudo apt-get install git -y
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# or: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
source ~/.bashrc
nvm install 10
git clone https://github.com/Electra-project/electra-cli.git
cd electra-cli
npm i
npm start
Note
You may need to bind your internal IP port (5817) to your external IP one (same port) via your host online management website (Azure, AWS, etc).
cd ~/electra-cli
git pull
npm i
npm start
electra [options] [command]
To list the available commands, just type electra
.
To list the available options for each command, just type electra help [command]
.