Skip to content

Commit

Permalink
Merge pull request #117 from identity-com/develop
Browse files Browse the repository at this point in the history
Release PR to main (0.1.2 release)
  • Loading branch information
rado0x54 authored Dec 16, 2021
2 parents ba92744 + bdb97c2 commit dd34aad
Show file tree
Hide file tree
Showing 114 changed files with 29,865 additions and 15,760 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/solana-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ jobs:
key: yarn-solana-${{ hashFiles('solana/yarn.lock') }}

- name: Install dependencies
run: yarn install
run: yarn

- name: Build dependencies
run: yarn workspaces run build

- name: Unit tests
- name: Run tests
run: yarn test
80 changes: 39 additions & 41 deletions ethereum/gateway-eth-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm install -g @identity.com/gateway-eth-ts
$ gateway-eth-ts COMMAND
running command...
$ gateway-eth-ts (-v|--version|version)
@identity.com/gateway-eth-ts/0.0.2 darwin-x64 node-v12.18.4
@identity.com/gateway-eth-ts/0.0.12 darwin-x64 node-v16.0.0
$ gateway-eth-ts --help [COMMAND]
USAGE
$ gateway-eth-ts COMMAND
Expand Down Expand Up @@ -58,8 +58,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -75,7 +75,7 @@ EXAMPLE
$ gateway add-gatekeeper 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/add-gatekeeper.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/add-gatekeeper.js)_
_See code: [dist/commands/add-gatekeeper.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/add-gatekeeper.ts)_

## `gateway-eth-ts add-network-authority ADDRESS`

Expand All @@ -91,8 +91,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -108,7 +108,7 @@ EXAMPLE
$ gateway add-network-authority 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/add-network-authority.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/add-network-authority.js)_
_See code: [dist/commands/add-network-authority.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/add-network-authority.ts)_

## `gateway-eth-ts blacklist ADDRESS`

Expand All @@ -124,7 +124,7 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with. For
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction with. For
example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -138,7 +138,7 @@ EXAMPLE
$ gateway blacklist 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/blacklist.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/blacklist.js)_
_See code: [dist/commands/blacklist.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/blacklist.ts)_

## `gateway-eth-ts burn TOKENID`

Expand All @@ -154,8 +154,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -171,7 +171,7 @@ EXAMPLE
$ gateway burn 10
```

_See code: [dist/commands/burn.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/burn.js)_
_See code: [dist/commands/burn.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/burn.ts)_

## `gateway-eth-ts freeze TOKENID`

Expand All @@ -187,8 +187,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -204,7 +204,7 @@ EXAMPLE
$ gateway freeze 10
```

_See code: [dist/commands/freeze.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/freeze.js)_
_See code: [dist/commands/freeze.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/freeze.ts)_

## `gateway-eth-ts get-token TOKENID`

Expand All @@ -231,7 +231,7 @@ EXAMPLE
$ gateway get-token 10
```

_See code: [dist/commands/get-token.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/get-token.js)_
_See code: [dist/commands/get-token.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/get-token.ts)_

## `gateway-eth-ts get-token-id ADDRESS`

Expand All @@ -258,7 +258,7 @@ EXAMPLE
$ gateway get-token-id 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/get-token-id.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/get-token-id.js)_
_See code: [dist/commands/get-token-id.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/get-token-id.ts)_

## `gateway-eth-ts help [COMMAND]`

Expand All @@ -275,7 +275,7 @@ OPTIONS
--all see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.14/src/commands/help.ts)_

## `gateway-eth-ts issue ADDRESS [EXPIRATION] [CONSTRAINS]`

Expand All @@ -288,16 +288,14 @@ USAGE
ARGUMENTS
ADDRESS Owner ethereum address to tokenID for
EXPIRATION [default: 0] Expiration timestamp for newly issued token
CONSTRAINS [default: [object Object]] Constrains to generate tokenId
CONSTRAINS [default: 0] Constrains to generate tokenId
OPTIONS
-b, --bitmask=bitmask [default: [object Object]] Bitmask constrains to link with newly
minting tokenID
-b, --bitmask=bitmask [default: 0] Bitmask constrains to link with newly minting tokenID
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-g, --[no-]generateTokenId Identifier used to determine wether tokenId has to be generated
Expand All @@ -317,7 +315,7 @@ EXAMPLE
$ gateway issue 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94 -i <TokenID>
```

_See code: [dist/commands/issue.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/issue.js)_
_See code: [dist/commands/issue.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/issue.ts)_

## `gateway-eth-ts refresh TOKENID [EXPIRY]`

Expand All @@ -334,8 +332,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -351,7 +349,7 @@ EXAMPLE
$ gateway refresh 10 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/refresh.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/refresh.js)_
_See code: [dist/commands/refresh.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/refresh.ts)_

## `gateway-eth-ts remove-gatekeeper ADDRESS`

Expand All @@ -367,8 +365,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -384,7 +382,7 @@ EXAMPLE
$ gateway remove-gatekeeper 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/remove-gatekeeper.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/remove-gatekeeper.js)_
_See code: [dist/commands/remove-gatekeeper.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/remove-gatekeeper.ts)_

## `gateway-eth-ts remove-network-authority ADDRESS`

Expand All @@ -400,8 +398,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -417,7 +415,7 @@ EXAMPLE
$ gateway remove-network-authority 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/remove-network-authority.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/remove-network-authority.js)_
_See code: [dist/commands/remove-network-authority.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/remove-network-authority.ts)_

## `gateway-eth-ts revoke TOKENID`

Expand All @@ -433,8 +431,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -450,7 +448,7 @@ EXAMPLE
$ gateway revoke 10
```

_See code: [dist/commands/revoke.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/revoke.js)_
_See code: [dist/commands/revoke.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/revoke.ts)_

## `gateway-eth-ts unfreeze TOKENID`

Expand All @@ -466,8 +464,8 @@ ARGUMENTS
OPTIONS
-c, --confirmations=confirmations [default: 0] The amount of blocks to wait mined transaction
-f, --gasPriceFee=gasPriceFee [default: [object Object]] Gas Price level to execute transaction with.
For example: instant, fast, standard, slow
-f, --gasPriceFee=gasPriceFee [default: [object Promise]] Gas Price level to execute transaction
with. For example: instant, fast, standard, slow
-h, --help show CLI help
Expand All @@ -483,7 +481,7 @@ EXAMPLE
$ gateway unfreeze 10
```

_See code: [dist/commands/unfreeze.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/unfreeze.js)_
_See code: [dist/commands/unfreeze.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/unfreeze.ts)_

## `gateway-eth-ts verify ADDRESS [TOKENID]`

Expand Down Expand Up @@ -511,6 +509,6 @@ EXAMPLE
$ gateway verify 0x893F4Be53274353CD3379C87C8fd1cb4f8458F94
```

_See code: [dist/commands/verify.js](https://github.com/secured-finance/gateway-eth-ts/blob/v0.0.2/dist/commands/verify.js)_
_See code: [dist/commands/verify.ts](https://github.com/identity-com/on-chain-identity-gateway/blob/v0.0.12/dist/commands/verify.ts)_
<!-- commandsstop -->
* [`gateway-eth-ts add-gatekeeper ADDRESS`](#gateway-eth-ts-add-gatekeeper-address)
Loading

0 comments on commit dd34aad

Please sign in to comment.