CLI

Colibri comes with a native comandline interface. The can be used to create proofs and verify them, which allows easy use within shellscripts, cronjobs or while testing or developing.

Configuration

while you can pass arguments to the the proofer or verifier, when it comes to configuring the backend apis, you can use create a config-file. colibri tools will try to find it in the following order:

  1. look for a file with the path specified in the C4_CONFIG environment variable

  2. look in the current directory for a file named c4_config.json

  3. use defaults.

this file is a json-file in the form:

{
  "eth_rpc": ["https://nameless-sly-reel.quiknode.pro/<APIKEY>/", "https://eth-mainnet.g.alchemy.com/v2/<APIKEY>", "https://rpc.ankr.com/eth/<APIKEY>"],
  "beacon_api": ["https://lodestar-mainnet.chainsafe.io"]
}

Last updated