Migration 1.3.1
For Linux Distributions using prebuild binary
Download the tar.gz file:
Copy
curl -LO https://github.com/chain4energy/c4e-chain/releases/download/v1.3.1/c4ed_v1.3.1_linux_amd64.tar.gz
Verify the checksum:
Copy
sha256sum c4ed_v1.3.1_linux_amd64.tar.gz
You should see the following:
Copy
922126cfdd1602239dc893fcdf2ef80f1adf596c0d9f2fc66d7263ea413a7563 c4ed_v1.3.1_linux_amd64.tar.gz
Unpack the tar.gz file:
Copy
tar -xvf c4ed_v1.3.1_linux_amd64.tar.gz
Move the binary to your local bin directory:
Copy
mkdir -p ~/go/bin
sudo mv c4ed ~/go/bin
Check the version
Copy
c4ed version
You should see the following:
Copy
1.3.1
For Linux Distributions by building binary
Clone repository
Copy
git clone --depth 1 --branch v1.3.1 https://github.com/chain4energy/c4e-chain.git
go to repo directory
Copy
cd c4e-chain/
Build binary
Copy
make install
Check the version
Copy
c4ed version
You should see the following:
Copy
1.3.1
Setup cosmovisor
Create cosmovisor upgrade dir
Copy
export DAEMON_HOME=$HOME/.c4e-chain/
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v1.3.1/bin
Put binary in proper dir
Copy
cp ~/go/bin/c4ed $DAEMON_HOME/cosmovisor/upgrades/v1.3.1/bin
Just to be sure check version
Copy
$DAEMON_HOME/cosmovisor/upgrades/v1.3.1/bin/c4ed version