@airswap/staking
v5.0.1
Published
AirSwap: Stake Tokens
Downloads
397
Readme
Staking
AirSwap is an open-source peer-to-peer trading network.
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.