Upgrade proposal detected
Dig
Dig will create IBC-compatible real estate and apply Cosmos governance to real world projects. It's compatible with many legal regimes because it's going to break the network into smaller, jurisdictionally compliant chains.
Installation (Ubuntu/Debian)
Install dependencies
sudo apt update
sudo apt install -y curl git jq lz4 build-essential
sudo rm -rf /usr/local/go
sudo curl -Ls https://go.dev/dl/go1.20.linux-amd64.tar.gz | sudo tar -C /usr/local -xz
tee -a $HOME/.profile > /dev/null << EOF
export PATH=$PATH:/usr/local/go/bin
EOF
source $HOME/.profile
Download/compile and install digd
cd $HOME
rm -rf dig
git clone https://github.com/notional-labs/dig
cd dig
# Compile version v2.0.1
git checkout v2.0.1
make build
mkdir -p $HOME/.digd/cosmovisor/genesis/bin
mv build/digd $HOME/.digd/cosmovisor/genesis/bin/
Install cosmovisor and service
curl -Ls https://github.com/cosmos/cosmos-sdk/releases/download/cosmovisor%2Fv1.3.0/cosmovisor-v1.3.0-linux-amd64.tar.gz | tar xz
chmod 755 cosmovisor
sudo mv cosmovisor /usr/bin/cosmovisor
sudo tee /etc/systemd/system/digd.service > /dev/null << EOF
[Unit]
Description=Dig Node Service
After=network-online.target
[Service]
User=$USER
ExecStart=/usr/bin/cosmovisor run start
Restart=on-failure
RestartSec=10
LimitNOFILE=8192
Environment="DAEMON_HOME=$HOME/.digd"
Environment="DAEMON_NAME=digd"
Environment="UNSAFE_SKIP_BACKUP=true"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable digd
Initialize the node
MONIKER=""
ln -s $HOME/.digd/cosmovisor/genesis $HOME/.digd/cosmovisor/current
sudo ln -s $HOME/.digd/cosmovisor/current/bin/digd /usr/local/bin/digd
digd config chain-id dig-1
digd init $MONIKER --chain-id dig-1
curl -Ls https://github.com/notional-labs/dig/raw/master/networks/mainnets/dig-1/genesis.json > $HOME/.digd/config/genesis.json
sed -i -e "s|^seeds *=.*|seeds = \"[email protected]:26656,[email protected]:6969\"|" $HOME/.digd/config/config.toml
tee $HOME/.digd/data/priv_validator_state.json > /dev/null << EOF
{
"height": "0",
"round": 0,
"step": 0
}
EOF
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.0001udig\"|" $HOME/.digd/config/app.toml
sed -i -e "s|^pruning *=.*|pruning = \"custom\"|" $HOME/.digd/config/app.toml
sed -i -e "s|^pruning-keep-recent *=.*|pruning-keep-recent = \"3000\"|" $HOME/.digd/config/app.toml
sed -i -e "s|^pruning-keep-every *=.*|pruning-keep-every = \"0\"|" $HOME/.digd/config/app.toml
sed -i -e "s|^pruning-interval *=.*|pruning-interval = \"10\"|" $HOME/.digd/config/app.toml
sed -i -e "s|^snapshot-interval *=.*|snapshot-interval = \"1000\"|" $HOME/.digd/config/app.toml
sed -i -e "s|^snapshot-keep-recent *=.*|snapshot-keep-recent = \"2\"|" $HOME/.digd/config/app.toml
Start the service and check the log
sudo systemctl start digd
sudo journalctl -u digd -f --no-hostname -o cat