Benchmarking Bridge Aggregators
  • Introduction
  • Getting started
    • Installation
    • Setup
    • Compatibility + Troubleshooting
  • Running the Benchmarker
    • Package.json
    • Setup
    • Benchmark
    • Result-gen
    • Test
    • Clear
  • Repository Overview
    • Repository Structure
    • /script
    • /src
    • /test
    • /benchmark-data
    • /benchmark-plots
    • /benchmark-tables
    • miscellaneous
  • Maintainers
Powered by GitBook
On this page
  • Using the Benchmarker
  • Pre-requisites:

Was this helpful?

  1. Getting started

Installation

PreviousIntroductionNextSetup

Last updated 1 year ago

Was this helpful?

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.

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

yarn

* 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

conda

Benchmarker

To get the benchmarker onto your computer, run:

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

https://book.getfoundry.sh/getting-started/installation
https://github.com/nvm-sh/nvm
https://classic.yarnpkg.com/en/docs/install#debian-stable
https://pypi.org/project/pip/
https://docs.conda.io/projects/conda/en/stable/