Simply run the following command to add cw-orchestrator to your rust crate:
cargo add cw-orch
Make sure all the prerequisites are met before building packages with cw-orch.
Cw-orch relies on external libraries that need additional tools installed on your machine:
- Rust
- OpenSSL
- Gcc + Clang (optional, only for osmosis-test-tube)
- Go (optional, only for osmosis-test-tube)
-
Install the go compiler for osmosis-test-tube.
-
Other installs in one command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; \ sudo apt install build-essential \ pkg-config \ libssl-dev \ clang
Install the following packages:
- The rust toolchain
- The gcc compiler.
sudo apt install build-essential
- The pkg-config library
sudo apt install pkg-config
- The open-ssl development library
sudo apt install libssl-dev
- The go compiler for osmosis-test-tube
- The clang library for osmosis test tube
sudo apt install clang
- You can install all prerequisites in one command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; \ sudo pacman -Sy gcc \ pkgconf \ openssl \ go \ clang
Install the following packages:
- The rust toolchain
- The gcc compiler.
sudo pacman -Sy gcc
- The pkg-config library
sudo pacman -Sy pkgconf
- The open-ssl development library
sudo pacman -Sy openssl
- The go compiler for osmosis-test-tube
sudo pacman -Sy go
- The clang library for osmosis test tube
sudo pacman -Sy clang