sudo apt install npm
sudo apt install node-typescript
(use the commandtsc
to convert TypeScript code to JavaScript code)npm i @types/node
npm install web3
npm install net
npm install fs
npm install eosjs
npm install eosjs-keygen
- add your specific geth.ipc path to
trial.ts
- replace values in the
Trial
constructor - execute
set_up_accounts.ts
and copy account data to the other virtual machines - replace values in
ethereum_benchmark.sh
orethereum_benchmark_baseload.sh
to fit your needs and setup
- replace values in the
Trial
constructor - replace values in
eosio_benchmark.sh
oreosio_benchmark_baseload.sh
to fit your needs and setup
- use the
.py
files or the.ipynb
(Jupyter Notebook) files to visualise the results: