$ npm i
$ npm run lerna:bootstrap
- migrator - main migrator package
- migrator-benchmark - migrator benchmark
- contracts-common - common contracts
- contracts-migrator - migrator contracts
- contracts-platform - archanova contracts
- Start local infra on develop mode
- Setup envs
export LOCAL_A_PROVIDER_PRIVATE_KEY=0x... # use infra account deployer private key export LOCAL_A_PROVIDER_ENDPOINT=http://localhost:8545 export BENCHMARK_ERC20_TOKENS_COUNT=5 # default 5 export BENCHMARK_ERC721_TOKENS_COUNT=5 # default 5
- Build packages
$ npm run build
- Run benchmark
output can be found here.
$ npm run migrator:benchmark
MIT