Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 1.02 KB

File metadata and controls

29 lines (27 loc) · 1.02 KB

Setting up the dev environment for AtomicDEX-API to run full tests suite

  1. Install docker.
  2. Download ZCash params files: Windows, Unix/Linux
  3. Create .env.client file with the following content
PASSPHRASE=spice describe gravity federal blast come thank unfair canal monkey style afraid
  1. Create .env.seed file with the following content
PASSPHRASE=also shoot benefit prefer juice shell elder veteran woman mimic image kidney
  1. MacOS specific: run script (required after each reboot)
#!/bin/bash
for ((i=2;i<256;i++))
do
    sudo ifconfig lo0 alias 127.0.0.$i up
done

Please note that you have to run it again after each reboot
6. Linux specific:

sudo groupadd docker
sudo usermod -aG docker $USER
  1. Try cargo test --features native --all -- --test-threads=16.

PS If you notice that this guide is outdated, please submit a PR.