Skip to content

0xKitsune/world-id-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WorldID Relay

The world-id-relay is responsible for listening to new roots from the WorldIdIdentityManager and propagating them various L2s specified within the configuration file. To successfully propagate roots to a target L2, you will need a StateBridge contract deployed on L1, a BridgedWorldID contract deployed on the target L2 and a cross chain messaging protocol to send the root from L1 to the L2. For a detailed walkthrough on how to set up and deploy the necessary components, you can read more here.

The world-id-relay uses a toml file to specify state bridge configurations. To see an example check out the bin/relay.toml.

Installation

To install the world-id-relay, clone this repo and run the following command.

cargo install --path .

Usage

Usage: world-id-relay [OPTIONS] --config <CONFIG> --private-key <PRIVATE_KEY>

Options:
  -c, --config <CONFIG>            Path to the TOML state bridge service config file
  -p, --private-key <PRIVATE_KEY>  Private key for account used to send `propagateRoot()` txs
  -h, --help                       Print help

------------------------------------

Tests and Docs are still being written 🏗️.

Tests are still being written, assume bugs until tested. If you would like to help contribute on the tests or docs, feel free to open up an issue or make a PR.

------------------------------------

About

State bridge relay for WorldID

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages