Installation Node
Hardware requirements
The following requirements are recommended:
- 4 or more physical CPU cores
- At least 200GB of SSD disk storage
- At least 8GB of memory (RAM)
- At least 100mbps network bandwidth
Install dependencies Required
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
Install go
We are gonna use GO Version 1.22.5 If you already have GO installed you can skip this
ver="1.22.5"
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
Install binary
cd $HOME
rm -rf tacchain
git clone https://github.com/TacBuild/tacchain.git
cd tacchain
git checkout v0.0.12
make install
Verify that you’ve installed successfully
tacchaind version --long | grep -e version -e commit
Initialize Node
Please change <MONIKER>
To your own Moniker.
tacchaind init <MONIKER> --chain-id tacchain_2391-1
Download Genesis file and addrbook
- Genesis
curl -L https://snapshot-t.vinjan.xyz/tacchain/genesis.json > $HOME/.tacchaind/config/genesis.json
- Addrbook
curl -L https://snapshot-t.vinjan.xyz/tacchain/addrbook.json > $HOME/.tacchaind/config/addrbook.json
Custom Port
sed -i -e "s%:26657%:31657%" $HOME/.tacchaind/config/client.toml
sed -i -e "s%:26658%:31658%; s%:26657%:31657%; s%:6060%:31060%; s%:26656%:31656%; s%:26660%:31660%" $HOME/.tacchaind/config/config.toml
sed -i -e "s%:1317%:31317%; s%:9090%:31090%" $HOME/.tacchaind/config/app.toml
Gas Prices
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"4000000000000utac\"/" $HOME/.tacchaind/config/app.toml
Indexer Off
sed -i 's|^indexer *=.*|indexer = "null"|' $HOME/.tacchaind/config/config.toml
create service file and start node
Create service file Create a wardend.service
file in the /etc/systemd/system
folder with the following code. You can change USER
with your Linux user name. You need sudo previlege to do this step.
sudo tee /etc/systemd/system/tacchaind.service > /dev/null <<EOF
[Unit]
Description=tacchain
After=network-online.target
[Service]
User=$USER
ExecStart=$(which tacchaind) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
- Enable Service and Start Node
sudo systemctl daemon-reload
sudo systemctl enable tacchaind
sudo systemctl restart tacchaind
sudo journalctl -u tacchaind -f -o cat
Snapshot
Create Validator
Heads up to the Cheat Sheets to create validator