Install wasmvm

Create a directory for the library

mkdir ~/.empe-chain/lib

Download the library to the directory

wget https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm.x86_64.so -P ~/.empe-chain/lib

Add the library to the path

echo 'export LD_LIBRARY_PATH=/home/$USER/.empe-chain/lib:$LD_LIBRARY_PATH' >> ~/.profile
source ~/.profile

Add 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 cosmovisor

Last updated