Introduction
Installation
Prerequisites
- Rust (latest stable version)
- Charms CLI
- WASM target for Rust
Setup
- Install Rust and WASM target:
rustup target add wasm32-wasip1
- Clone the repository:
git clone https://github.com/EchoMarkets/echo-markets.git
cd echo-markets
- Build the project:
cargo build --release --target wasm32-wasip1
The resulting WASM binary will be at ./target/wasm32-wasip1/release/echo-markets.wasm.
Alternatively, use the Charms CLI:
app_bin=$(charms app build)
- Get the verification key:
export app_vk=$(charms app vk)