Narcissistic Project Managers
    Wondering what’s next for npm?Check out our public roadmap! »

    @airswap/light

    2.2.0 • Public • Published

    Light

    AirSwap is a peer-to-peer trading network for Ethereum tokens. This package contains source code and tests for the Light atomic swap used to perform trustless token transfers between parties. Light functions as a simplified version of the Swap contract for specific use cases that do not require full features.

    Discord License CircleCI Twitter Follow

    Resources

    Usage

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

    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

    💡 Prior to testing locally, run yarn compile in the airswap-protocols project root to build required artifacts. Then run an instance of ganache-cli before running yarn test in another shell.

    yarn ganache
    

    Keywords

    none

    Install

    npm i @airswap/[email protected]

    Version

    2.2.0

    License

    Apache-2.0

    Unpacked Size

    6.9 MB

    Total Files

    31

    Last publish

    Collaborators

    • avatar