Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.56 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.56 KB

BatchCall

AirSwap is a peer-to-peer trading network for Ethereum tokens. This package contains source code and tests for a basic ERC20 balance and allowance aggregator.

Discord License Twitter Follow

Resources

Usage

⚠️ This package is under active development. The BatchCall contract is deployed; see deploys.js for latest. For all AirSwap contract deployments see Deployed Contracts.

Commands

Command Description
yarn Install dependencies
yarn clean Delete the contract build folder
yarn compile Compile all contracts to build folder
yarn test Run all contract tests in test folder

Running Tests

💡 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 from the root repository.

yarn ganache