0.0.1 • Published 2 years ago

candle-protocols v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

AirSwap is a peer-to-peer trading network for Ethereum tokens, initially built on the Swap Protocol. This repository contains smart contracts and JavaScript packages for use by developers and traders on the AirSwap network.

Discord License lerna 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 build/contracts within the package.

PackageVersionDescription
@candlelabs/swapnpmAtomic Token Swap
@candlelabs/registrynpmCounterparty Discovery
@candlelabs/stakingnpmStaking for Members
@candlelabs/poolnpmRewards Pool for Members
@candlelabs/converternpmConverter for Fee Tokens

JavaScript Libraries

PackageVersionDescription
@candlelabs/librariesnpmProtocol Client Libraries
@candlelabs/utilsnpmOrders and Signatures
@candlelabs/metadatanpmToken Metadata
@candlelabs/constantsnpmHelpful Constants
@candlelabs/typescriptnpmTypeScript Types
@candlelabs/merklenpmMerkle Tree Helpers

Commands

CommandDescription
yarn compileCompile all contracts to build folders.
yarn cleanDelete all contract build folders.
yarn testRun all contract tests in test folders.
yarn hintRun a syntax linter for all Solidity code.
yarn lintRun a syntax linter for all JavaScript code.
yarn deps:checkRun a dependency consistency check.

Deployments

To deploy, please follow this guide

0.0.1

2 years ago