Introduction

Installation


Prerequisites

  • Rust (latest stable version)
  • Charms CLI
  • WASM target for Rust

Setup

  1. Install Rust and WASM target:
rustup target add wasm32-wasip1
  1. Clone the repository:
git clone https://github.com/EchoMarkets/echo-markets.git
cd echo-markets
  1. 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)
  1. Get the verification key:
export app_vk=$(charms app vk)
Previous
Features