Ellipticoind is an Ellipticoin node written in Elixir.
Installation instructions for Ubuntu 18.0.4 (Bionic Beaver)
-
Ensure you’re running version 18.0.4 of Ubuntu. If you’re running on a different version of Ubuntu or a different operating system you’ll have to build from source for now.
-
Install the required dependencies:
$ apt-get update && apt-get install postgresql redis-server -
Create a postgres user:
$ su -c "createuser ellipticoin" postgres -
Create a postgres db:
$ su -c "createdb ellipticoin" postgres -
Create a user that will run the ellipticoind:
$ adduser --disabled-password --gecos "Ellipticoin" ellipticoin -
Execute the remaining commands as the ellipticoin user:
su ellipticoin -
Change the working directory to the home folder of the user you just created:
$ cd /home/ellipticoin -
Download the latest release:
wget https://github.com/ellipticoin/ellipticoin-ellipticoind/releases/download/0.1.0-alpha/ellipticoind-ubuntu-18-04-0.1.0.tar.gz -
Extract it:
$ tar -xf ellipticoind-ubuntu-18-04-0.1.0.tar.gz -
Migrate the database:
$ ./bin/ellipticoind migrate -
Generate a private key for your ellipticoind:
$ ./bin/ellipticoind generate_private_key New private_key: LZf9CkbgnZzBKQWfd9ywu9B8XF+wZbRzulAr3ZLogWPIKAJesHzDBDTHJ2foOB/gjLcqLQyfYu8ORK97G05zPg== -
Update your private key in
etc/config.exs. -
Run the server in the foreground to make sure everything is set up correctly:
$ ./bin/ellipticoind foreground -
Start the server in the background:
$ ./bin/ellipticoind start
- Clone the repo:
git clone https://github.com/ellipticoin/ellipticoin-ellipticoind && cd ellipticoin-blacksmith-ellipticoind - Update
ETHEREUM_PRIVATE_KEYand anything else you'd like to customize inconfig/dev.secret.exsandconfig/dev.exs - Run:
mix dep.get - Run:
mix run --no-halt