Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
contracts
migrations
reports
test
.npmignore
.solcover.js
MIGRATION.md
README.md
deploys.json
package.json
truffle-config.js

README.md

Swap

AirSwap is a peer-to-peer trading network for Ethereum tokens. This package contains source code and tests for the atomic Swap used to perform trustless token transfers between parties.

Discord License CircleCI Twitter Follow

Resources

For V1 Users

To migrate from the V1 to V2 protocol please see MIGRATION.md.

Deploys

Network Address Link
rinkeby 0x43f18D371f388ABE40b9dDaac44D1C9c9185a078 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.