Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Elixir-node

Here’s how to set up and run a node in the Elixir project:

1. System Preparation

Ensure your system meets the following minimum requirements:

  • RAM: 4 GB
  • Disk: 30 GB (minimum)
  • CPU: 1 core
  • Network Connection: Stable with 100 Mbps bandwidth

2. Install Docker

Install Docker on your server. You can find installation instructions on the official Docker website. After installation, verify it with the command:

docker ps

3. Create a Wallet

Create a new wallet specifically for running the Elixir node. This can be done using MetaMask, for instance. Copy the wallet address and private key for later use.

4. Download and Configure the Dockerfile

Download the Dockerfile for the validator and open it in a text editor. Enter your wallet address and private key, and also set a name for your validator.

5. Build the Docker Image

Build the validator image using the following command:

docker build . -f Dockerfile -t elixir-validator

6. Start the Validator

Start the validator with the command:

docker run -it --name ev elixir-validator

To ensure the validator automatically restarts on server reboot, use:

docker run -d --restart unless-stopped --name ev elixir-validator

7. Update the Validator

To update and get the latest version of the validator, periodically execute the following commands:

docker kill ev
docker rm ev
docker pull elixirprotocol/validator:testnet-2
docker build . -f Dockerfile -t elixir-validator

Then restart the validator.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors