Repot Logo
ContractsChainsProtocolsSocial Media
Search for all contractsSearch for code snippets
Contracts
Protocols
Repot
v0.8.0
Repot
DocumentationPrivacyTerms
Social
DiscordXTelegram
Airswap Protocols - Staking

Airswap Protocols - Staking

0
Download CodeOpen Code

Staking.sol

Staking

AirSwap is an open-source peer-to-peer trading network.

Discord License Twitter Follow

Resources

  • About → https://about.airswap.io/
  • Website → https://www.airswap.io/
  • Twitter → https://twitter.com/airswap
  • Chat → https://chat.airswap.io/

Usage

:warning: This package may contain unaudited code. For all AirSwap contract deployments see Deployed Contracts.

Commands

Environment variables are set in an .env file in the repository root.

Command Description
yarn Install dependencies
yarn clean Delete the contract build folder
yarn compile Compile all contracts to build folder
yarn coverage Report test coverage
yarn test Run all tests in test folder
yarn test:ci Run ci tests in test folder
yarn deploy Deploy on a network using --network flag
yarn verify Verify on a network using --network flag

Running Tests

:bulb: Prior to testing locally, run yarn compile in the airswap-protocols project root to build required artifacts.