1.0.1 • Published 2 years ago
@marswap-exchange/contracts-erc20 v1.0.1
ERC20 Tokens
This package contains implementations of various ERC20 tokens, including WETH (Wrapped Ether) and ZRX. Addresses of the deployed contracts can be found in this 0x guide or the DEPLOYS file within this package.
Installation
Install
npm install @marswap-exchange/contracts-erc20 --saveBug bounty
A bug bounty for the 2.0.0 contracts is ongoing! Instructions can be found here.
Install Dependencies
If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:
yarn config set workspaces-experimental trueThen install dependencies
yarn installBuild
To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:
PKG=@marswap-exchange/contracts-erc20 yarn buildOr continuously rebuild on change:
PKG=@marswap-exchange/contracts-erc20 yarn watchClean
yarn cleanLint
yarn lintRun Tests
yarn testTesting options
Contracts testing options like coverage, profiling, revert traces or backing node choosing - are described here.