Skip to content
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.

electracoin-ECA/electra-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electra CLI

NodeJS CLI tools for Electra daemon and blockchain.

The MIT License npm David David

NSP Status Known Vulnerabilities

Contents

Installation and Update

Local

The local installation is useful if you want to use Electra CLI Tools.

Electra CLI Tools Installation

Prerequisites:

npm i -g electra-cli

Electra CLI Tools Update

npm i -g electra-cli

Remote

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.

Bootstrap Node Installation

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).

Bootstrap Node Update

cd ~/electra-cli
git pull
npm i
npm start

Usage

Electra CLI Tools Usage

electra [options] [command]

To list the available commands, just type electra.

To list the available options for each command, just type electra help [command].

About

[DEPRECATED] - To be used only on specific request from the Electra team

Resources

License

Stars

Watchers

Forks

Packages

No packages published