Setup
This section walks you through setting up the project:
Once you've cloned the repository.
If you face an error that says:
Detected dubious ownership in repository at '<path>/benchmarking-cross-chain-bridges'
Just copy paste the exception line that goes something like
and then re-run
If yarn package installation and foundry package installation are successful you will see:
This is required for the benchmark plot and table generators. Depending on the python package manager you use, you can run either.
If you only want to benchmark the token-aggregators, you're done here. If not then proceed with the optional setup which configures the benchmarking tool to execute message-aggregators and execute token-swaps
Optional Setup for executing swaps and message-aggregators (not required for benchmarking token-aggregators)
And fill out .env
.env
The public and private keypair does not need to hold funds. The scripts that send trades are disabled by default.
The RPCs are required to interact with on-chain contracts for foundry, approval transactions, and executing trades.
Socket API Key is required by Socket to receive a transaction with route data. You can request it at a google form located in:
The Block explorer APIs are for verifying contracts
Last updated