0.0.2 • Published 4 years ago

@airswap/debugger v0.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 years ago

AirSwap is a peer-to-peer trading network for Ethereum tokens, initially built on the Swap Protocol. The AirSwap product family includes DexIndex, AirSwap Instant, AirSwap Trader, and AirSwap Spaces. This repository contains smart contracts and JavaScript packages for use by developers and traders on the AirSwap network.

Discord License lerna CircleCI Twitter Follow

Resources

Smart Contracts

Packages are versioned based on deploys. Major versions e.g. 1.x.x are mainnet deploys, while minor versions e.g. x.1.x are rinkeby deploys. Packages that are not deployed increment patch versions e.g. x.x.1. Each package that includes a deployment includes the ABI files for that deployed contract in builds/contracts within the package.

PackageVersionDescription
@airswap/swapnpmAtomic Swap Between Tokens
@airswap/indexernpmCounterparty Discovery with Staking
@airswap/delegatenpmOnchain Trading Delegate
@airswap/typesnpmTypes and Hashes
@airswap/transfersnpmToken Transfer Handlers
@airswap/wrappernpmUse ether for WETH trades
@airswap/tokensnpmEthereum Tokens

JavaScript Libraries

PackageVersionDescription
@airswap/order-utilsnpmCreate and Sign Orders
@airswap/test-utilsnpmTest Utilities

Commands

CommandDescription
yarn compileCompile all contracts to build folders
yarn cleanDelete all contract build folders
yarn ganacheRun a local ganache network on local host 8545
yarn testRun all contract tests in test folders. Run yarn ganache elsewhere first.
yarn hintRun a syntax linter for all Solidity code
yarn lintRun a syntax linter for all JavaScript code
yarn depsRun a dependency consistency check. Run python3 -m venv ./venv first.

Deployments

To deploy, please follow this guide

0.0.2

4 years ago

0.0.1

4 years ago