Migration to v0.3.0
For Linux AMD Distributions
Download the tar.gz file:
curl -LO https://github.com/empe-io/empe-chain-releases/raw/master/v0.3.0/emped_v0.3.0_linux_amd64.tar.gzVerify the checksum (change filename for ARM):
sha256sum emped_v0.3.0_linux_amd64.tar.gzYou should see the following:
2bfe1bc92b5d5e20e72bcc7a3b24661fb30d74a050a915e4c6eaeba9fe41811b emped_v0.3.0_linux_amd64.tar.gzUnpack the tar.gz file:
tar -xvf emped_v0.3.0_linux_amd64.tar.gzMove the binary to your local bin directory:
mkdir -p ~/go/bin
sudo mv emped ~/go/binInstall wasmvm library
Create a directory for the library
mkdir ~/.empe-chain/libDownload the library to the directory
wget https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm.x86_64.so -P ~/.empe-chain/libAdd the library to the path
echo 'export LD_LIBRARY_PATH=/home/$USER/.empe-chain/lib:$LD_LIBRARY_PATH' >> ~/.profile
source ~/.profileCheck the version
emped versionYou should see the following:
0.3.0Setup cosmovisor
Create cosmovisor upgrade dir
export DAEMON_HOME=$HOME/.empe-chain/
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v0.3.0/binPut binary in proper dir
cp ~/go/bin/emped $DAEMON_HOME/cosmovisor/upgrades/v0.3.0/binJust to be sure check version (should be 0.3.0)
$DAEMON_HOME/cosmovisor/upgrades/v0.3.0/bin/emped versionAdd wasmvm path to cosmovisor service
Add the following line to the cosmovisor service file under the [Service] section. Remember to change user_path to your actual path
Environment="LD_LIBRARY_PATH=/home/user_path/.empe-chain/lib:$LD_LIBRARY_PATH"Restart the cosmovisor service
sudo systemctl daemon-reload
sudo systemctl restart cosmovisorFor Linux ARM Distribution
If (and only if) you're running ARM Linux, download this file instead:
curl -LO https://github.com/empe-io/empe-chain-releases/raw/master/v0.3.0/emped_v0.3.0_linux_arm64.tar.gzVerify the checksum
sha256sum emped_v0.3.0_linux_arm64.tar.gzYou should see the following:
c46e8a589e62febbd2b9b6b14f610e504e35d7a547ed6bac380fcdd01acd6f8f emped_v0.3.0_linux_arm64.tar.gzUnpack the tar.gz file:
tar -xvf emped_v0.3.0_linux_arm64.tar.gzInstall wasmvm library
Create a directory for the library
mkdir ~/.empe-chain/libDownload the library to the directory
wget https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm.aarch64.so -P ~/.empe-chain/libAdd the library to the path
echo 'export LD_LIBRARY_PATH=/home/$USER/.empe-chain/lib:$LD_LIBRARY_PATH' >> ~/.profile
source ~/.profileCheck the version
emped versionYou should see the following:
0.3.0Last updated