Installation
Prerequiretes
Hardware
Minimun Spesification
CPU
4 Cores
RAM
8 GB
Disk
200GB SSD
Installation
Download Go
wget https://go.dev/dl/go1.23.6.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
source ~/.profile
go version
Download binary file
git clone https://github.com/trstlabs/intento.git
cd intento
make install
sudo cp ~/go/bin/intentod /usr/local/bin/
intentod version
Initialize the node
intentod init <your-name> --chain-id intento-ics-test-1
Download Genesis
FILEID=1rGxSgPLoAzKsj8uXPgohbQOmcnyeJ27-
FILENAME=$HOME/.intento/config/genesis.json
CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate \
"https://docs.google.com/uc?export=download&id=$FILEID" -O- | \
sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p')
wget --load-cookies /tmp/cookies.txt \
"https://docs.google.com/uc?export=download&confirm=${CONFIRM}&id=${FILEID}" \
-O ${FILENAME}
rm -f /tmp/cookies.txt
Download Addrbook
FILEID=1215EPJ6fUKfaHoMLxsz6VfS2bn26L47H
FILENAME=$HOME/.intento/config/addrbook.json
CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate \
"https://docs.google.com/uc?export=download&id=$FILEID" -O- | \
sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p')
wget --load-cookies /tmp/cookies.txt \
"https://docs.google.com/uc?export=download&confirm=${CONFIRM}&id=${FILEID}" \
-O ${FILENAME}
rm -f /tmp/cookies.txt
Configure Seeds and Peers
PEERS="$(curl -sS https://testnet-rpc-intento.provewithryd.xyz/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
sed -i -e "s|^seeds *=.*|seeds = '"$SEEDS"'|; s|^persistent_peers *=.*|persistent_peers = '"$PEERS"'|" $HOME/.intento/config/config.toml
Customize Pruning
sed -i \
-e 's|^pruning *=.*|pruning = "custom"|' \
-e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
-e 's|^pruning-interval *=.*|pruning-interval = "10"|' \
$HOME/.intento/config/app.toml
Set Minimum Gas Price, and Disable the Indexer
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.001uinto\"|" $HOME/.intento/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.intento/config/config.toml
Create Systemd Services
tee /etc/systemd/system/intentod.service > /dev/null <<EOF
[Unit]
Description=Intento testnet node
After=network-online.target
[Service]
User=root
ExecStart=/usr/local/bin/intentod start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
Enable and Start Services
systemctl daemon-reexec
systemctl daemon-reload
systemctl enable intentod.service
systemctl start intentod.service
Last updated