Skip to content

Commit

Permalink
Merge pull request #837 from airswap/develop
Browse files Browse the repository at this point in the history
Publish README updates to NPM
  • Loading branch information
dmosites authored Mar 30, 2022
2 parents 6f0c027 + d868e5f commit 7257559
Show file tree
Hide file tree
Showing 12 changed files with 86 additions and 135 deletions.
35 changes: 13 additions & 22 deletions source/converter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,22 @@

## Usage

:warning: This package is under active development and contains unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Env Vars

Hardhat expects the following environment variables to be set. They may be set in a `.env` file.

| Variable | Description |
| :------------------ | :--------------------------------------------- |
| `MNEMONIC` | 12-world account mnemonic used for testing |
| `INFURA_API_KEY` | Infura API key to use for deployments |
| `ETHERSCAN_API_KEY` | Etherscan API key to use for verification |
| `ALCHEMY_API_KEY` | Alchemy API key for testing with mainnet forks |
:warning: This package may contain unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Commands

| Command | Description |
| :-------------------- | :-------------------------------------- |
| `yarn` | Install dependencies |
| `yarn clean` | Delete the contract `build` folder |
| `yarn compile` | Compile all contracts to `build` folder |
| `yarn test` | Run all tests in `test` folder |
| `yarn test:unit` | Run unit tests in `test` folder |
| `yarn coverage` | Report test coverage |
| `yarn deploy:rinkeby` | Deploy contracts to Rinkeby |
| `yarn deploy:mainnet` | Deploy contracts to Mainnet |
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:unit` | Run unit tests in `test` folder |
| `yarn deploy` | Deploy on a network using --network flag |
| `yarn verify` | Verify on a network using --network flag |

## Running Tests

Expand Down
2 changes: 1 addition & 1 deletion source/converter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/converter",
"version": "3.0.0",
"version": "3.0.1",
"description": "AirSwap: Protocol Fee Converter",
"contributors": [
"Martin Sterlicchi",
Expand Down
34 changes: 13 additions & 21 deletions source/pool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,22 @@

## Usage

:warning: This package is under active development and contains unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Env Vars

Hardhat expects the following environment variables to be set. They may be set in a `.env` file.

| Variable | Description |
| :------------------ | :----------------------------------------- |
| `MNEMONIC` | 12-world account mnemonic used for testing |
| `INFURA_API_KEY` | Infura API key to use for deployments |
| `ETHERSCAN_API_KEY` | Etherscan API key to use for verification |
:warning: This package may contain unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Commands

| Command | Description |
| :-------------------- | :-------------------------------------- |
| `yarn` | Install dependencies |
| `yarn clean` | Delete the contract `build` folder |
| `yarn compile` | Compile all contracts to `build` folder |
| `yarn test` | Run all tests in `test` folder |
| `yarn test:unit` | Run unit tests in `test` folder |
| `yarn coverage` | Report test coverage |
| `yarn deploy:rinkeby` | Deploy contracts to Rinkeby |
| `yarn deploy:mainnet` | Deploy contracts to Mainnet |
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:unit` | Run unit tests in `test` folder |
| `yarn deploy` | Deploy on a network using --network flag |
| `yarn verify` | Verify on a network using --network flag |

## Running Tests

Expand Down
4 changes: 2 additions & 2 deletions source/pool/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/pool",
"version": "3.0.0",
"version": "3.0.1",
"description": "AirSwap: Rewards Pool",
"contributors": [
"Don Mosites",
Expand All @@ -26,7 +26,7 @@
},
"devDependencies": {
"@airswap/constants": "3.0.0",
"@airswap/staking": "3.0.0",
"@airswap/staking": "3.0.1",
"@airswap/utils": "3.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-etherscan": "^3.0.3",
Expand Down
34 changes: 13 additions & 21 deletions source/registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,22 @@

## Usage

:warning: This package is under active development and contains unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Env Vars

Hardhat expects the following environment variables to be set. They may be set in a `.env` file.

| Variable | Description |
| :------------------ | :----------------------------------------- |
| `MNEMONIC` | 12-world account mnemonic used for testing |
| `INFURA_API_KEY` | Infura API key to use for deployments |
| `ETHERSCAN_API_KEY` | Etherscan API key to use for verification |
:warning: This package may contain unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Commands

| Command | Description |
| :-------------------- | :-------------------------------------- |
| `yarn` | Install dependencies |
| `yarn clean` | Delete the contract `build` folder |
| `yarn compile` | Compile all contracts to `build` folder |
| `yarn test` | Run all tests in `test` folder |
| `yarn test:unit` | Run unit tests in `test` folder |
| `yarn coverage` | Report test coverage |
| `yarn deploy:rinkeby` | Deploy contracts to Rinkeby |
| `yarn deploy:mainnet` | Deploy contracts to Mainnet |
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:unit` | Run unit tests in `test` folder |
| `yarn deploy` | Deploy on a network using --network flag |
| `yarn verify` | Verify on a network using --network flag |

## Running Tests

Expand Down
2 changes: 1 addition & 1 deletion source/registry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/registry",
"version": "3.0.0",
"version": "3.0.1",
"description": "AirSwap: Server URL Registry",
"contributors": [
"Ethan Wessel",
Expand Down
34 changes: 13 additions & 21 deletions source/staking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,22 @@

## Usage

:warning: This package is under active development and contains unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Env Vars

Hardhat expects the following environment variables to be set. They may be set in a `.env` file.

| Variable | Description |
| :------------------ | :----------------------------------------- |
| `MNEMONIC` | 12-world account mnemonic used for testing |
| `INFURA_API_KEY` | Infura API key to use for deployments |
| `ETHERSCAN_API_KEY` | Etherscan API key to use for verification |
:warning: This package may contain unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Commands

| Command | Description |
| :-------------------- | :-------------------------------------- |
| `yarn` | Install dependencies |
| `yarn clean` | Delete the contract `build` folder |
| `yarn compile` | Compile all contracts to `build` folder |
| `yarn test` | Run all tests in `test` folder |
| `yarn test:unit` | Run unit tests in `test` folder |
| `yarn coverage` | Report test coverage |
| `yarn deploy:rinkeby` | Deploy contracts to Rinkeby |
| `yarn deploy:mainnet` | Deploy contracts to Mainnet |
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:unit` | Run unit tests in `test` folder |
| `yarn deploy` | Deploy on a network using --network flag |
| `yarn verify` | Verify on a network using --network flag |

## Running Tests

Expand Down
2 changes: 1 addition & 1 deletion source/staking/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/staking",
"version": "3.0.0",
"version": "3.0.1",
"description": "AirSwap: Stake Tokens",
"contributors": [
"Ethan Wessel",
Expand Down
34 changes: 13 additions & 21 deletions source/swap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,22 @@

## Usage

:warning: This package is under active development and contains unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Env Vars

Hardhat expects the following environment variables to be set. They may be set in a `.env` file.

| Variable | Description |
| :------------------ | :----------------------------------------- |
| `MNEMONIC` | 12-world account mnemonic used for testing |
| `INFURA_API_KEY` | Infura API key to use for deployments |
| `ETHERSCAN_API_KEY` | Etherscan API key to use for verification |
:warning: This package may contain unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Commands

| Command | Description |
| :-------------------- | :-------------------------------------- |
| `yarn` | Install dependencies |
| `yarn clean` | Delete the contract `build` folder |
| `yarn compile` | Compile all contracts to `build` folder |
| `yarn test` | Run all tests in `test` folder |
| `yarn test:unit` | Run unit tests in `test` folder |
| `yarn coverage` | Report test coverage |
| `yarn deploy:rinkeby` | Deploy contracts to Rinkeby |
| `yarn deploy:mainnet` | Deploy contracts to Mainnet |
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:unit` | Run unit tests in `test` folder |
| `yarn deploy` | Deploy on a network using --network flag |
| `yarn verify` | Verify on a network using --network flag |

## Running Tests

Expand Down
2 changes: 1 addition & 1 deletion source/swap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/swap",
"version": "3.0.0",
"version": "3.0.1",
"description": "AirSwap: Atomic Token Swap",
"contributors": [
"Vicente Dragicevic",
Expand Down
34 changes: 13 additions & 21 deletions source/wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,22 @@

## Usage

:warning: This package is under active development and contains unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Env Vars

Hardhat expects the following environment variables to be set. They may be set in a `.env` file.

| Variable | Description |
| :------------------ | :----------------------------------------- |
| `MNEMONIC` | 12-world account mnemonic used for testing |
| `INFURA_API_KEY` | Infura API key to use for deployments |
| `ETHERSCAN_API_KEY` | Etherscan API key to use for verification |
:warning: This package may contain unaudited code. For all AirSwap contract deployments see [Deployed Contracts](https://about.airswap.io/technology/deployments).

## Commands

| Command | Description |
| :-------------------- | :-------------------------------------- |
| `yarn` | Install dependencies |
| `yarn clean` | Delete the contract `build` folder |
| `yarn compile` | Compile all contracts to `build` folder |
| `yarn test` | Run all tests in `test` folder |
| `yarn test:unit` | Run unit tests in `test` folder |
| `yarn coverage` | Report test coverage |
| `yarn deploy:rinkeby` | Deploy contracts to Rinkeby |
| `yarn deploy:mainnet` | Deploy contracts to Mainnet |
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:unit` | Run unit tests in `test` folder |
| `yarn deploy` | Deploy on a network using --network flag |
| `yarn verify` | Verify on a network using --network flag |

## Running Tests

Expand Down
4 changes: 2 additions & 2 deletions source/wrapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airswap/wrapper",
"version": "3.0.0",
"version": "3.0.1",
"description": "AirSwap: Automatic Wrap and Unwrap",
"contributors": [
"Don Mosites",
Expand All @@ -26,7 +26,7 @@
},
"devDependencies": {
"@airswap/constants": "3.0.0",
"@airswap/swap": "3.0.0",
"@airswap/swap": "3.0.1",
"@airswap/utils": "3.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-etherscan": "^3.0.3",
Expand Down

0 comments on commit 7257559

Please sign in to comment.