Installation

Using the Benchmarker

The repository over at the Hyperledger Organization contains the most stable updates of the benchmarker.

Pre-requisites:

Foundry:

This is a smart contract development toolchain that lets you compile, test, run scripts and essentially interact with smart contracts from your computer.

https://book.getfoundry.sh/getting-started/installation

Node js package managers

You can use npm or yarn * to install the packages used by the benchmarker.

We used node v18.17.1 and yarn 1.22.19

npm

https://github.com/nvm-sh/nvm

yarn

https://classic.yarnpkg.com/en/docs/install#debian-stable

* We tried setting it up with Bun but we encoutered some errors.

As we used yarn the scripts in package.json are configured to use yarn. If you use npm you need to replace the occurrences of yarn with npm.

Python package manager

You can use pip3 or conda to install the python packages involved.

We used python 3.9.18 and anaconda to install the package

pip3

https://pypi.org/project/pip/

conda

https://docs.conda.io/projects/conda/en/stable/

Benchmarker

To get the benchmarker onto your computer, run:

git clone https://github.com/hyperledger-labs/benchmarking-cross-chain-bridges.git

Last updated