Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/etherspot/etherspot-archanova-migrator

Etherspot archanova migrator
https://github.com/etherspot/etherspot-archanova-migrator

archanova etherspot migration

Last synced: 9 days ago
JSON representation

Etherspot archanova migrator

Awesome Lists containing this project

README

        

# Etherspot archanova migrator

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

## Installation

```bash
$ npm i
$ npm run lerna:bootstrap
```

## Packages

* **[migrator](./packages/migrator) - main migrator package**
* [migrator-benchmark](./packages/migrator-benchmark) - migrator benchmark
* [contracts-common](./packages/contracts-common) - common contracts
* [contracts-migrator](./packages/contracts-migrator) - migrator contracts
* [contracts-platform](./packages/contracts-platform) - archanova contracts

## Benchmark

### Usage

1. Start [local infra](https://github.com/etherspot/etherspot-infra#develop-env) on develop mode
2. Setup envs
```bash
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
```
3. Build packages
```bash
$ npm run build
```
4. Run benchmark
```bash
$ npm run migrator:benchmark
```
output can be found [here](./BENCHMARK.md).

## License

MIT