Documentation

Quick Start

Get Started

Run the end-to-end starter workflow in minutes using the real client, payload, and scheduler surfaces.

1. Build Address Generation Crates

cargo build -p edgerun-address-payload --target wasm32-unknown-unknown
cargo build -p edgerun-address-client

2. Run Secure Local Mode

cargo run -p edgerun-address-client -- \
  --mode secure-local \
  --seed-hex 0101010101010101010101010101010101010101010101010101010101010101 \
  --prefix So1 \
  --start-counter 0 \
  --end-counter 1000000 \
  --chunk-attempts 50000

3. Run Distributed Mode

cargo run -p edgerun-address-client -- \
  --mode distributed-insecure \
  --allow-worker-seed-exposure \
  --scheduler-url http://127.0.0.1:8080 \
  --runtime-id 0000000000000000000000000000000000000000000000000000000000000000 \
  --wasm-path target/wasm32-unknown-unknown/debug/edgerun_address_payload.wasm \
  --seed-hex 0101010101010101010101010101010101010101010101010101010101010101 \
  --prefix So1 \
  --start-counter 0 \
  --end-counter 1000000 \
  --chunk-attempts 50000 \
  --escrow-per-job-lamports 1000000 \
  --max-escrow-lamports 20000000