- 4 core CPU
- Memory: 4GB
- Disk: 100GB
- Ubuntu 20.04
# update the local package list and install any available upgrades
sudo apt-get update && sudo apt upgrade -y
# install toolchain and ensure accurate time synchronization
sudo apt-get install make chrony build-essential gcc git jq -y
Follow the instructions here to install Go.
Alternatively, for Ubuntu LTS, you can do:
wget https://golang.org/dl/go1.17.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.17.5.linux-amd64.tar.gz
Unless you want to configure in a non standard way, then set these in the .profile
in the user's home (i.e. ~/
) folder.
cat <<EOF >> ~/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source ~/.profile
go version
Output should be: go version go1.17.5 linux/amd64
Fetch and install the current Mainnet MeMe version.
git clone https://github.com/MeMeCosmos/meme
cd meme
git checkout main
make install
Note: there is no tag to build off of, just use main for now
memed init $MONIKER_NAME --chain-id meme-1
wget -O $HOME/.memed/config/genesis.json https://github.com/MeMeCosmos/mainnet/meme-1/genesis.json
Add these seeds here to the ~/.memed/config/config.toml file
Make sure to add the provided seed and the community peers found in seed.txt
and peers.txt
by filling the seeds
and persistent_peers
fields resp.
sed -i -E 's/minimum-gas-prices = \"\"/minimum-gas-prices = \"0.025umeme\"/g' ~/.memed/config/app.toml
# To create new keypair - please make sure you save the mnemonics!
memed keys add <WALLET-NAME>
# Restore existing odin wallet with mnemonic seed phrase.
# You will be prompted to enter mnemonic seed.
memed keys add <WALLET-NAME> --recover
Note : All validators set commission to at least 5% Create your validator using the following transaction:
memed tx staking create-validator \
--pubkey=$(memed tendermint show-validator) \
--amount=1000000umeme \
--chain-id meme-1 \
--identity="<KEYBASE-ID>" \
--moniker="<MONIKER>" \
--details "<DESCRIPTION>" \
--website="<WEBSITE>" \
--security-contact="<EMAIL>" \
--website="" \
--commission-max-change-rate=0.01 \
--commission-max-rate=0.20 \
--commission-rate=0.05 \
--gas-prices=0.025umeme \
--from=<WALLET-NAME>
priv_validator_key.json
tee /etc/systemd/system/memed.service > /dev/null <<EOF
[Unit]
Description=MeMe Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$GOBIN/memed start
Restart=always
RestartSec=3
LimitNOFILE=65535
StandardOutput=file:/var/log/memed.log
StandardError=file:/var/log/memed.log
[Install]
WantedBy=multi-user.target
EOF
touch /var/log/memed.log
systemctl enable memed
systemctl start memed
priv_validator_key.json
memed tx distribution withdraw-rewards <Operator Address> --from <WALLET-NAME> --commission --chain-id=meme-1 --fees 10000umeme
Your validator : memevaloperxxxxxxxxxxxx
memed tx slashing unjail --from <WALLET-NAME> --chain-id meme-1
curl https://get.starport.network/MeMeCosmos/meme@latest | sudo bash
memeChain/meme
should match the username
and repo_name
of the Github repository to which the source code was pushed. Learn more about the install process.