Coder Social home page Coder Social logo

leppaludi / airswap-protocols Goto Github PK

View Code? Open in Web Editor NEW

This project forked from airswap/airswap-protocols

0.0 0.0 0.0 8.99 MB

AirSwap Contracts and Tools

Home Page: https://about.airswap.io/

License: MIT License

Shell 0.13% JavaScript 46.99% TypeScript 27.04% Solidity 25.84%

airswap-protocols's Introduction

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

Package Version Description
@airswap/swap npm Atomic Token Swap
@airswap/swap-erc20 npm Atomic Token Swap (ERC20)
@airswap/maker-registry npm Maker Discovery
@airswap/indexer-registry npm Indexer Discovery
@airswap/staking npm Staking for Participants
@airswap/pool npm Rewards Pool for Participants

JavaScript Libraries

Package Version Description
@airswap/libraries npm Protocol Client Libraries
@airswap/utils npm Orders and Signatures
@airswap/metadata npm Token Metadata
@airswap/constants npm Helpful Constants
@airswap/typescript npm TypeScript Types

Repository Commands

Command Description
yarn compile Compile all contracts to build folders.
yarn clean Delete all contract build folders.
yarn test Run all contract tests in test folders.
yarn lint:fix Run eslint for all JavaScript code.
yarn pretty:fix Run prettier for all JavaScript code.

Deploying Contracts

Each package in source has commands yarn deploy and yarn verify. Each command takes a --network flag. For example:

yarn deploy --network goerli
yarn verify --network goerli

The account used to deploy and verify is derived from the MNEMONIC environment variable in .env in the repository root. The source of these scripts can be found in the scripts folder of each package.

airswap-protocols's People

Contributors

hensha256 avatar poiresel avatar ejwessel avatar dmosites avatar abolduser avatar hmalik88 avatar vdrg avatar perich avatar dependabot[bot] avatar smartcontrart avatar gpxl-dev avatar rhyeal avatar geewynn avatar perelyn-sama avatar mitsichury avatar cloudonshore avatar piersss avatar francisldn avatar syjk129 avatar wjmelements avatar codyenokida avatar leppaludi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.