eurx

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2021 License: Apache-2.0

README

EURX

The Docker image will be automatically built by Docker Hub when releases are created.

Install

Environment setup

This is an example for Ubuntu.

sudo apt install docker.io -y
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.6/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

sudo gpasswd -a $(whoami) docker
sudo chgrp docker /var/run/docker.sock
sudo systemctl enable docker
sudo systemctl restart docker
Join network
git clone https://github.com/lcnem/eurx.git
cd eurx
docker run -v ~/.eurx:/root/.eurx lcnem/eurx init [moniker] --chain-id [chain-id]
cp launch/[chain-id]/genesis.json ~/.eurx/config/genesis.json
docker-compose up -d

Deprecated way of Installation

Environment setup

This is an example for Ubuntu.

sudo apt update
sudo apt install build-essential
cd ~
wget https://dl.google.com/go/go1.16.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
echo export PATH='$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bashrc
source ~/.bashrc
Clone
git clone https://github.com/lcnem/eurx.git
cd eurx
make install
Config daemon
eurxd init [moniker] --chain-id [chain-id]
cp launch/[chain-id]/genesis.json ~/.eurx/config/genesis.json
Register daemon service
vi /etc/systemd/system/eurxd.service
[Unit]
Description=EURX Node
After=network-online.target

[Service]
User=root
ExecStart=/root/go/bin/eurxd start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
systemctl enable eurxd

License

Forked from Kava. Thanks Kava Team.

Copyright © LCNEM, Inc. All rights reserved.

Licensed under the Apache v2 License.

Directories

Path Synopsis
app
cmd
x
auction/types
Package types is a reverse proxy.
Package types is a reverse proxy.
cdp
cdp/types
Package types is a reverse proxy.
Package types is a reverse proxy.
estmdist/types
Package types is a reverse proxy.
Package types is a reverse proxy.
incentive/types
Package types is a reverse proxy.
Package types is a reverse proxy.
pricefeed/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL