Host machine requirements:
- GNU/Linux Operating System
- Python 3.8+
- Docker + docker-compose
Clone the repository (including the submodules)
$ git clone --recurse-submodules https://github.com/skellet0r/curve-zksync.git
Install python requirements
$ pip install -r requirements.txt
Pull docker images for the zkSync v2 devnet
$ docker pull matterlabs/geth:latest $ docker pull postgres:12 $ docker pull matterlabs/local-node:latest2.0
Start the local zkSync v2 devnet in a separate process
$ cd lib/zksync-node && ./start.sh
Note: The devnet takes approximately 2 minutes to initialize on its first run.
Run the test suite
$ ape test