Implements Hermez smart contracts
$ yarn install && cp .env.example .env
#### Add pre-commit hook
$ git config core.hooksPath .githooks
Optional:
cp .env.example .env
- Add your vars to .env after this commnad
$ yarn run test
Or for a specific contract:
$ yarn run test:hermez
$ yarn run test:auction
$ yarn run test:withdrawalDelayer
$ yarn run test:coverage
Or for a specific contract:
$ yarn run test:coverage:hermez
$ yarn run test:coverage:auction
$ yarn run test:coverage:withdrawalDelayer
$ yarn run test:gas
Or for a specific contract:
$ yarn run test:gas:hermez
$ yarn run test:gas:auction
$ yarn run test:gas:withdrawalDelayer
hermeznetwork/contracts is part of the Hermez project copyright 2020 HermezDAO and published with GPL-3 license. Please check the COPYING file for more details.