Skip to content
Branch: master
Find file History
Latest commit 5746184 Nov 6, 2019

README.md

Indexer

⚠️ This package is under active development. Do not use in production.

AirSwap is a peer-to-peer trading network for Ethereum tokens. This package contains source code and tests for an Indexer used to manage intents to trade.

💡 Note: solidity-coverage does not cooperate with view functions. To run test coverage, remove the view keywords from functions in Indexer.sol, IIndexer.sol, and ILocatorWhitelist.sol.

Discord License CircleCI Twitter Follow

Resources

Deploys

Network Address Link
rinkeby 0x6299e178413d6b7903c365dda1d4f23e37868b25 Etherscan

Commands

Command Description
yarn Install dependencies
yarn clean Delete the contract build folder
yarn compile Compile all contracts to build folder
yarn coverage Run solidity-coverage to report test coverage
yarn ganache Run an instance of ganache-cli for tests
yarn hint Run a syntax linter for all Solidity code
yarn lint Run a syntax linter for all JavaScript code
yarn test Run all contract tests in test folder

Running Tests

Run an instance of ganache-cli before running tests.

yarn ganache
You can’t perform that action at this time.