Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/etherspot/etherspot-archanova-migrator
- Owner: etherspot
- License: mit
- Created: 2021-02-26T11:32:12.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-06T02:32:29.000Z (over 1 year ago)
- Last Synced: 2023-09-08T02:28:04.841Z (about 1 year ago)
- Topics: archanova, etherspot, migration
- Language: TypeScript
- Homepage:
- Size: 1.01 MB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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