Installation
Auto install
source <(curl -s https://snapshot.nodevism.com/testnet/odiseo-t/autoinstall)
Manual installation
Install depedencies
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
sudo rm -rf /usr/local/go
curl -L https://go.dev/dl/go1.21.6.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
source .bash_profile
Sett Vars
to make installstion easy i suggest u use this
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="Moiker"" >> $HOME/.bash_profile
echo "export ODISEO_CHAIN_ID="ithaca-1"" >> $HOME/.bash_profile
echo "export ODISEO_PORT="30"" >> $HOME/.bash_profile
source $HOME/.bash_profile
make sure you change "Wallet="with your own wallet name"" MONIKER="with your own name"" this indicate your node name ODISEO_PORT="with you want"" if your server is not have any node u can keep that at port 30 or sett to deffault port, the deffault port is 26.
Download Binaries
cd $HOME
rm -rf Achilles
git clone https://github.com/daodiseomoney/Achilles.git
cd Achilles
make install
Configure and inittial app
achillesd config node tcp://localhost:${ODISEO_PORT}657
achillesd config keyring-backend os
achillesd config chain-id ithaca-1
achillesd init "test" --chain-id ithaca-1
Download Genesis and Addrbook
curl -Ls https://snapshot.nodevism.com/testnet/odiseo-t/genesis.json > $HOME/.achilles/config/genesis.json
curl -Ls https://snapshot.nodevism.com/testnet/odiseo-t/addrbook.json > $HOME/.achilles/config/addrbook.json
Sett Seed and Peer
sed -i -e "s|^seeds *=.*|seeds = \"db8e8edec030bdb0583a815a9d13912b51dbda23@195.3.223.119:23656"|" $HOME/.achilles/config/config.toml
Sett Custom Port at config.toml
sed -i.bak -e "s%:26658%:${ODISEO_PORT}658%g;
s%:26657%:${ODISEO_PORT}657%g;
s%:6060%:${ODISEO_PORT}060%g;
s%:26656%:${ODISEO_PORT}656%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${ODISEO_PORT}656\"%;
s%:26660%:${ODISEO_PORT}660%g" $HOME/.achilles/config/config.toml
Sett Custom Port at App.toml
sed -i.bak -e "s%:1317%:${ODISEO_PORT}317%g;
s%:8080%:${ODISEO_PORT}080%g;
s%:9090%:${ODISEO_PORT}090%g;
s%:9091%:${ODISEO_PORT}091%g;
s%:8545%:${ODISEO_PORT}545%g;
s%:8546%:${ODISEO_PORT}546%g;
s%:6065%:${ODISEO_PORT}065%g" $HOME/.achilles/config/app.toml
Config Prunning
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.achilles/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.achilles/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"20\"/" $HOME/.achilles/config/app.toml
Sett Minimum Gas Prices
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.25uodis"|g' $HOME/.achilles/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.achilles/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.achilles/config/config.toml
Create Service
sudo tee /etc/systemd/system/achillesd.service > /dev/null <<EOF
[Unit]
Description=odiseo
After=network-online.target
[Service]
User=testnet
ExecStart=/home/testnet/go/bin/achillesd start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
Enable And Start Service
sudo systemctl daemon-reload
sudo systemctl enable achillesd
sudo systemctl restart achillesd && sudo journalctl -u aachillesd -f
Last updated