1. Generate a secret key. The secret key is a 32-byte random value used to construct the hash chains.
You can generate this value using the `openssl` command:
`openssl rand -hex 32`
1. Generate an ethereum wallet for the provider. You can do this in foundry using `cast wallet new`.
Note both the private key and the address; you will need both for subsequent steps.
1. Register a randomness provider for this service: `cargo run -- register-provider --chain-id <chain id> --secret <secret> --private-key <private-key>`.
The chain id is the key of the blockchain in `config.yaml`, the secret is from step (2), and the private key is from step (3).
Note that you need to run this command once per blockchain configured in `config.yaml`.
Once you've completed the setup, simply run the following command, using the secret from step (2) and the wallet address from step (3) as the provider:
```bash
cargo run -- run --secret <secret> --provider <provider>
```
This command will start the webservice on `localhost:34000`.