A single repository that spins up a local OMGX system based on dockers. This repo is a good starting point for becoming familiar with the system, run integration tests, and deploy your contracts to a local net.
- docker
- At least version 19.03.12
- docker-compose
- At least version 1.27.3
- Recommended Docker memory allocation of >=8 GB.
$ git clone git@github.com:omgnetwork/omgx_integration.git
$ cd omgx_integration
Docker will automatically use local images (if found), or Docker will pull the latest ones from Dockerhub. To pull the latest images, run:
$ docker-compose -f docker-compose-local.yml pull
To run the entire system (L1 + L2) locally:
$ ./up_local.sh
This will spin up both chains, deploy all the needed contracts, and fund several test wallets.
Please see the omgx_integration-test repo (coming soon). These should all exit with code 0.