First clone the contract from GitHub:
$ git clone https://github.com/casper-ecosystem/erc20 && cd erc20
Prepare your environment with the following command:
$ make prepare
If your environment is setup correctly, you will see this output:
rustup target add wasm32-unknown-unknown
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
If you do not see this message, check the Getting Started guide.
Next, compile your contract and run the contract unit tests.
$ make build-contracts
$ make test