Before running the sequencer, you must start a local Solana test validator and deploy the bridge program. The sequencer listens to bridge events over a WebSocket connection, which requires the validator to be running.
surfpool startsolana config set --url http://127.0.0.1:8899solana program deploy ../../onchain-programs/bridge/target/deploy/bridge.soAfter deployment:
- Copy the deployed program ID
- Update it in
lib.rs - Re-deploy the program so the change is applied
RUST_LOG=info cargo run -p core --releasecargo run -p core --example bench_throughput --releasecargo run -p core --example bridge --releasecargo run -p core --example full_lifecycle --releasecargo run -p core --example transaction --releasecargo run -p provercargo build -p coreLicensed under the Apache License, Version 2.0.