Quick Start
Overview
This document provides guidance on setting up and running four main components:
Seeder
Repository: Seeder GitHub
Key Management System
Repository: Distributed Key Generation GitHub
Secure RPC
Repository: Secure RPC GitHub
Sequencer
Repository: Sequencer GitHub
Note: A cluster is a group of sequencers with a leader. This process can run with a single sequencer as well. Do not be confused by the
.envvariables referencing clusters.
Key Details
Language and Build Requirements: All components are written in Rust and must be built using
cargo build --releasein the root directory of each repository.Environment Variables:
Create an
env.shfile at<repository>/scripts/execute/env.shbased on the contents ofenv_example.sh.Ensure the ports defined in
env.share available.Shared variables across components must have consistent values.
Another
env.shis needed at<repository>/scripts/rpc-call/env.shfor RPC-related scripts, also derived fromenv_example.sh.
Initialization Scripts:
Each component is initialized and run using scripts located in the repository:
<repository>/scripts/execute/01_init_....sh<repository>/scripts/execute/02_run_....sh
Inter-Component Integration:
Some components require registration with others via JSON RPC calls to internal RPC URLs. The necessary scripts are found in
<repository>/scripts/rpc-call, except for the Secure RPC component, which does not require this step.
Last updated