Install and Build WAX RNG
To install WAX RNG from GitHub:
-
From the command line, clone the Git repository.
git clone https://github.com/worldwide-asset-exchange/wax-orng.git
Build the WAX RNG Smart Contract and Unit Tests
The WAX RNG GitHub repository includes WAX RNG source code and various unit tests.
- src RNG smart contract code.
- tests: Unit test source code.
To build these smart contracts with our Docker image and make scripts:
-
From the command line, change the directory to wax-orng.
cd wax-orng
-
Start the development docker.
make dev-docker-start
-
Next, you have two options.
-
Build the smart contracts and unit tests.
make build
Run tests
make test
-
Optional, build and test.
make all
-
-
Clean all and exit.
make clean
exit