2.3.1 • Published 3 years ago

@airswap/light v2.3.1

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

Light

AirSwap is a peer-to-peer trading network for Ethereum tokens.

Discord License Twitter Follow

Resources

Usage

:warning: This package is under active development and contains unaudited code. For all AirSwap contract deployments see Deployed Contracts.

Env Vars

Hardhat expects the following environment variables to be set. They may be set in a .env file.

VariableDescription
MNEMONIC12-world account mnemonic used for testing
INFURA_API_KEYInfura API key to use for deployments
ETHERSCAN_API_KEYEtherscan API key to use for verification

Commands

CommandDescription
yarnInstall dependencies
yarn cleanDelete the contract build folder
yarn compileCompile all contracts to build folder
yarn testRun all tests in test folder
yarn test:unitRun unit tests in test folder
yarn coverageReport test coverage
yarn deploy:rinkebyDeploy contracts to Rinkeby
yarn deploy:mainnetDeploy contracts to Mainnet

Running Tests

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

2.3.0

3 years ago

2.3.1

3 years ago

2.2.5

3 years ago

2.2.4

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

1.1.0

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago