3.0.0 • Published 4 years ago

wjm-airswap-types v3.0.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
4 years ago

Types

AirSwap is a peer-to-peer trading network for Ethereum tokens. This repository contains a library of Swap Protocol types.

Discord License CircleCI Twitter Follow

Resources

Deploys

See deploys.json for latest contract deployments on Rinkeby (4) and Mainnet (1).

Commands

CommandDescription
yarnInstall dependencies
yarn cleanDelete the contract build folder
yarn compileCompile all contracts to build folder
yarn coverageRun solidity-coverage to report test coverage
yarn ganacheRun an instance of ganache-cli for tests
yarn hintRun a syntax linter for all Solidity code
yarn lintRun a syntax linter for all JavaScript code
yarn testRun all contract tests in test folder

Running Tests

:bulb: Prior to testing locally, run yarn compile in the airswap-protocols project root to build required artifacts. Then run an instance of ganache-cli before running yarn test in another shell.

yarn ganache