Giter Site home page Giter Site logo

test-net's Introduction

Terp Network - athena-2 Testnet

This testnet will start at the patched version of Terp-Core (v0.1.2). You will need to use the distributed binary from the Terp Network packages repository.

Genesis File

Genesis File:

curl -s  https://raw.githubusercontent.com/terpnetwork/test-net/master/athena-2/genesis.json > ~/.terp/config/genesis.json

Genesis sha256

sha256sum ~/.terp/config/genesis.json
# b2acc7ba63b05f5653578b05fc5322920635b35a19691dbafd41ef6374b1bc9a

or

jq -S -c -M '' ~/.terp/config/genesis.json | sha256sum
# 8fe05de88ef9f3eb016ae19a559369fcb0fdf1aa9a27219bb20b26ccc70f8697 

terpd version

$ terpd version --long
name: Terp Core
server_name: terpd
version: v0.1.2
commit: TBD
build_tags: netgo muslc, # THIS BIT IS KEY

Seed nodes

TBD

Persistent Peers

TBD

Setup

Prerequisites: Make sure to have Golang >=1.19.

Go setup

You need to ensure your gopath configuration is correct. If the following 'make' step does not work then you might have to add these lines to your .profile or .zshrc in the users home folder:

nano ~/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin

Source update .profile

source .profile

Download and verify:

# find out where terpd is - will likely be /home/<your-user>/go/bin/terpd
which terpd

# put new binary there i.e. in path/to/terpd
wget https://github.com/terpnetwork/terp-core/releases/download/v0.1.2/terp-core -O /home/<your-user>/go/bin/terpd



#### Running in production

**Note, we'll be going through some upgrades for this testnet. Consider using [Cosmovisor](https://github.com/cosmos/cosmos-sdk/tree/master/cosmovisor) to make your life easier.** Setting up Cosmovisor is covered in the [Terp Network Documentation]().

Download Genesis file when the time is right. Put it in your `/home/<user>/.terp` folder.

If you have not installed cosmovisor, create a systemd file for your TerpNet service:

```sh
sudo nano /etc/systemd/system/terpd.service

Copy and paste the following and update <YOUR_USERNAME> and <CHAIN_ID>:

Description=Terp-Core daemon
After=network-online.target

[Service]
User=<YOUR_USER>
ExecStart=/home/<YOUR_USERNAME>/go/bin/terpd start
Restart=on-failure
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target

Enable and start the new service:

sudo systemctl enable terpd
sudo systemctl start terpd

Check status:

terpd status

Check logs:

journalctl -u terpd -f

Learn more

Running in production

test-net's People

Contributors

cyberomanov avatar discoverdefiteam avatar terpnetworkcommunity avatar xiti922 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.