This guide for «GNO Test3» testnet.
Guide was successfully tested on several dedicated servers (Hetzner AX41-NVMe and AX51-NVMe for example).
Requirements
There is no official requirements, but this node is running without problems on AX41-NVME server:
CPU: AMD Ryzen™ 5 3600
RAM: 64 GB DDR4
SSD: 2 x 512 GB
OS: Ubuntu 20.04 LTS
* It could work on weaker servers, but we haven’t tested it yet.
Installation
Step 1. Install packages and upgrades
sudo apt update && sudo apt upgrade -y
sudo apt install make clang pkg-config libssl-dev libclang-dev build-essential git curl ntp jq llvm tmux htop screen -y
Step 2. Install go
wget https://golang.org/dl/go1.18.4.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz
Step 3. Add dependencies
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
rm -rf go1.18.4.linux-amd64.tar.gz
Step 4. Install GNOland
git clone https://github.com/gnolang/gno/ && cd gno
make build
cd
mv gno/build/gnokey /usr/bin && chmod +x /usr/bin/gnokey
Generate seedphrase:
gnokey generate
Add wallet, where «Keyname» is the name of your wallet.
gnokey add <KEYNAME> --recover
Step 5. Stake
Go to this site for faucet
If you’ve already got test tokens, you need to send transaction for user registration:
gnokey maketx call <WALLET_ADDRESS> --pkgpath "gno.land/r/demo/users" --func "Register" --gas-fee 1000000ugnot --gas-wanted 2000000 --send "200000000ugnot" --broadcast true --chainid "test3" --args "" --args "<USERNAME>" --args "" --remote "test3.gno.land:36657"
Where "WALLET_ADDRESS" is the address of your node/wallet. You got it when you added your wallet. It looks like g***hdgn****02***m***90*tq*** and "USERNAME" is the name of your node in the list of users on the GNOland site. After executing this command, check your node here by your "USERNAME".