This is the code repository of the official mun testnet validator node source code.

Related tags

Validation mun
Overview

How to join Munchain network

Infrastructure

**Recommended configuration:**
- Number of CPUs: 4
- Memory: 16GB
- OS: Ubuntu 22.04 LTS
- Allow all incoming connections from TCP port 26656 and 26657
Static IP address
- The recommended configuration from AWS is the equivalent of a t2.large machine
with 300GB EBS attached storage.

Installing prerequisites

sudo apt update
sudo apt upgrade -y
sudo apt install build-essential jq -y

Install Golang:

Install latest go version https://golang.org/doc/install

wget -q -O - https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh | bash -s -- --version 1.18
source ~/.profile

To verify that Golang installed

go version

// Should return go version go1.18 linux/amd64

Clone repository

git clone https://github.com/munblockchain/mun
cd mun

Install the executables

sudo rm -rf ~/.mun
go mod tidy
make install

clear

mkdir -p ~/.mun/upgrade_manager/upgrades
mkdir -p ~/.mun/upgrade_manager/genesis/bin

Symlink genesis binary to upgrade

cp $(which mund) ~/.mun/upgrade_manager/genesis/bin
sudo cp $(which mund-manager) /usr/bin

Initialize the validator with a moniker name (Example moniker_name: solid-moon-rock)

mund init [moniker_name] --chain-id testmun

Add a new wallet address, store seeds and buy TMUN to it. (Example wallet_name: solid-moon-rock)

mund keys add [wallet_name] --keyring-backend test

Fetch genesis.json from genesis node

curl --tlsv1 https://node1.mun.money/genesis? | jq ".result.genesis" > ~/.mun/config/genesis.json

Update seed in config.toml to make p2p connection ( Please use seed2 or seed3, since it has a connection limit)

seed1 = "[email protected]:26656" seed2 = "[email protected]:26656" seed3 = "[email protected]:26656"

nano ~/.mun/config/config.toml
seeds = "[email protected]:26656"

Replace stake to TMUN

sed -i 's/stake/utmun/g' ~/.mun/config/genesis.json

Create the service file "/etc/systemd/system/mund.service" with the following content

sudo nano /etc/systemd/system/mund.service

Paste following content(*Please make sure to use correct name of user, group and DAEMON_HOME path at the below.)

[Unit]
Description=mund
Requires=network-online.target
After=network-online.target

[Service]
Restart=on-failure
RestartSec=3
User=root
Group=root
Environment=DAEMON_NAME=mund
Environment=DAEMON_HOME=/root/.mun
Environment=DAEMON_ALLOW_DOWNLOAD_BINARIES=on
Environment=DAEMON_RESTART_AFTER_UPGRADE=on
PermissionsStartOnly=true
ExecStart=/usr/bin/mund-manager start --pruning="nothing" --rpc.laddr "tcp://0.0.0.0:26657"
StandardOutput=file:/var/log/mund/mund.log
StandardError=file:/var/log/mund/mund_error.log
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target

Tips

  • How to get user and group name
whoami
  • How to get DAEMON_HOME path
cd ~/.mun
pwd

Create log files and starts running the node

make log-files

sudo systemctl enable mund
sudo systemctl start mund

Verify node is running properly

mund status

After buying TMUN, stake it to become a validator.

Tips

You should wait until the node gets fully synchronized with other nodes. You can cross check with the genesis node by visiting https://node1.mun.money/status and check the latest block height. You can also check your node status through this link http://[Your_Node_IP]:26657/status.

Or visit https://blockexplorer.mun.money

A transaction to become a validator by staking 50K TMUN

mund tx staking create-validator --from [wallet_name] --moniker [moniker_name] --pubkey $(mund tendermint show-validator) --chain-id testmun --keyring-backend test --amount 50000000000utmun --commission-max-change-rate 0.01 --commission-max-rate 0.2 --commission-rate 0.1 --min-self-delegation 1 --fees 200000utmun --gas auto --gas=auto --gas-adjustment=1.5 -y
You might also like...

Simple password validator made with Javascript 💛

Simple password validator made with Javascript 💛

Password Validator Simple password validator made with Javascript 💛 Branch history base-code: a complex logic to password validator. In next branches

Jul 25, 2022

What does the Cosmos Hub validator set looks like without ICF delegations?

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Sep 2, 2022

Discuzz Open source Comment System

Discuzz  Open source Comment System

Discuzz Open source Comment System Table of contents Homepage Features Usage Firebase Web Component React Component Advanced usages Contributing Chang

Dec 24, 2022

SmartContract UI Open source Blockchain's Smart Contract Tool

SmartContract UI  Open source Blockchain's Smart Contract Tool

SmartContract UI Open source Blockchain's Smart Contract Tool Table of contents Homepage Features Usage Config ABI Import from deployed contract Selec

Dec 16, 2022

:white_check_mark: Easy property validation for JavaScript, Node and Express.

property-validator ✅ Easy property validation for JavaScript, Node and Express Built on top of validator.js, property-validator makes validating reque

Dec 14, 2022

Reading emails from Gmail provider using Node.js along with Google API

Reading emails from Gmail provider using Node.js along with Google API

💻 Project summary Reading emails from Gmail provider using Node.js along with Google API (study only). 🛠 Technologies Project was built using Node.j

Jan 8, 2022

[DISCONTINUED] jQuery plugin that makes it easy to validate user input while keeping your HTML markup clean from javascript code.

jQuery Form Validator [DISCONTINUED] Validation framework that let's you configure, rather than code, your validation logic. I started writing this pl

Dec 30, 2022
Owner
MUN Blockchain
This is the public code repository for the MUN Remittance Blockchain based on #Cosmos
MUN Blockchain
Simple validator for Steuerliche Identifikationsnummer (German personal tax number) according to the official docs (see readme).

simple-de-taxid-validator Important Code of this validator is taken (with small changes like optimization or removing not needed elements) from THIS R

Wojciech 3 Feb 24, 2022
A simple environment variables validator for Node.js and web browsers

A simple environment variables validator for Node.js and web browsers

Mathieu Acthernoene 25 Jul 20, 2022
A JSONSchema validator that uses code generation to be extremely fast

is-my-json-valid A JSONSchema validator that uses code generation to be extremely fast. It passes the entire JSONSchema v4 test suite except for remot

Mathias Buus 948 Dec 31, 2022
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

Ajv JSON schema validator The fastest JSON validator for Node.js and browser. Supports JSON Schema draft-06/07/2019-09/2020-12 (draft-04 is supported

Ajv JSON schema validator 12k Jan 4, 2023
ForgJs is a javascript lightweight object validator. Go check the Quick start section and start coding with love

Hey every one im really happy that this repo reached this many stars ?? ,but this repo needs your contibution I started to better document the code th

Hamdaoui Oussama 1.7k Dec 21, 2022
Tiny Validator for JSON Schema v4

Tiny Validator (for v4 JSON Schema) Use json-schema draft v4 to validate simple values and complex objects using a rich validation vocabulary (example

Geraint 1.2k Dec 21, 2022
Super Fast Complex Object Validator for Javascript(& Typescript).

Super Fast Object Validator for Javascript(& Typescript). Safen supports the syntax similar to the type script interface. This makes it easy to create

Changwan Jun 31 Nov 25, 2022
Easy HTML Form Validator

Easy HTML Form Validator

Ali Nazari 314 Dec 26, 2022
Facile is an HTML form validator that is inspired by Laravel's validation style and is designed for simplicity of use.

Facile is an HTML form validator that is inspired by Laravel's validation style and is designed for simplicity of use.

upjs 314 Dec 26, 2022
Fast, compiled, eval-free data validator/transformer

spectypes Fast, compiled, eval-free data validator/transformer Features really fast, can be even faster than ajv detailed errors, failure will result

null 65 Dec 29, 2022