Skip to content

Latest commit

 

History

History

wrapper

Wrapper

AirSwap is an open-source peer-to-peer trading network.

Discord License Twitter Follow

Resources

Usage

⚠️ This package may contain unaudited code. For all AirSwap contract deployments see Deployed Contracts.

Commands

Environment variables are set in an .env file in the repository root.

Command Description
yarn Install dependencies
yarn clean Delete the contract build folder
yarn compile Compile all contracts to build folder
yarn coverage Report test coverage
yarn test Run all tests in test folder
yarn test:ci Run ci tests in test folder
yarn deploy Deploy on a network using --network flag
yarn verify Verify on a network using --network flag

Running Tests

💡 Prior to testing locally, run yarn compile in the airswap-protocols project root to build required artifacts.