Skip to content

Commit

Permalink
Merge pull request #27 from jplomas/master
Browse files Browse the repository at this point in the history
feat: send command, working for hexseed-based interaction
  • Loading branch information
jplomas authored Apr 20, 2020
2 parents 371b7bc + ad0d6fc commit 131cd8e
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 25 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ npm install -g @theqrl/cli
$ qrl-cli COMMAND
running command...
$ qrl-cli (-v|--version|version)
@theqrl/cli/1.4.2 darwin-x64 node-v12.3.1
@theqrl/cli/1.4.5 darwin-x64 node-v12.3.1
$ qrl-cli --help [COMMAND]
USAGE
$ qrl-cli COMMAND
Expand Down Expand Up @@ -77,7 +77,7 @@ DESCRIPTION
See the documentation at https://docs.theqrl.org/developers/qrl-cli
```

_See code: [src/commands/balance.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/balance.js)_
_See code: [src/commands/balance.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/balance.js)_

## `qrl-cli create-lattice`

Expand Down Expand Up @@ -106,7 +106,7 @@ DESCRIPTION
Documentation at https://docs.theqrl.org/developers/qrl-cli
```

_See code: [src/commands/create-lattice.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/create-lattice.js)_
_See code: [src/commands/create-lattice.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/create-lattice.js)_

## `qrl-cli create-wallet`

Expand All @@ -131,7 +131,7 @@ DESCRIPTION
Documentation at https://docs.theqrl.org/developers/qrl-cli
```

_See code: [src/commands/create-wallet.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/create-wallet.js)_
_See code: [src/commands/create-wallet.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/create-wallet.js)_

## `qrl-cli decrypt`

Expand All @@ -147,7 +147,7 @@ OPTIONS
-t, --testnet queries testnet for the OTS state
```

_See code: [src/commands/decrypt.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/decrypt.js)_
_See code: [src/commands/decrypt.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/decrypt.js)_

## `qrl-cli encrypt [ADDRESS] [ITEM_PER_PAGE] [PAGE_NUMBER] [MESSAGE]`

Expand All @@ -171,7 +171,7 @@ OPTIONS
-t, --testnet queries testnet for the OTS state
```

_See code: [src/commands/encrypt.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/encrypt.js)_
_See code: [src/commands/encrypt.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/encrypt.js)_

## `qrl-cli get-keys ADDRESS ITEM_PER_PAGE PAGE_NUMBER`

Expand All @@ -193,7 +193,7 @@ OPTIONS
-t, --testnet queries testnet for the OTS state
```

_See code: [src/commands/get-keys.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/get-keys.js)_
_See code: [src/commands/get-keys.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/get-keys.js)_

## `qrl-cli help [COMMAND]`

Expand Down Expand Up @@ -237,7 +237,7 @@ DESCRIPTION
If the wallet file is encrypted use the -p flag to pass the wallet file encryption password.
```

_See code: [src/commands/ots.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/ots.js)_
_See code: [src/commands/ots.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/ots.js)_

## `qrl-cli receive ADDRESS`

Expand All @@ -258,7 +258,7 @@ DESCRIPTION
If using an encrypted wallet file pass the encryption password with the (-p) flag.
```

_See code: [src/commands/receive.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/receive.js)_
_See code: [src/commands/receive.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/receive.js)_

## `qrl-cli receive-initial-message FILE`

Expand All @@ -280,7 +280,7 @@ OPTIONS
-t, --testnet uses testnet for this function
```

_See code: [src/commands/receive-initial-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/receive-initial-message.js)_
_See code: [src/commands/receive-initial-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/receive-initial-message.js)_

## `qrl-cli receive-next-message INDEX`

Expand All @@ -299,7 +299,7 @@ OPTIONS
-t, --testnet uses testnet for this function
```

_See code: [src/commands/receive-next-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/receive-next-message.js)_
_See code: [src/commands/receive-next-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/receive-next-message.js)_

## `qrl-cli send QUANTITY`

Expand Down Expand Up @@ -329,7 +329,7 @@ DESCRIPTION
TODO
```

_See code: [src/commands/send.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/send.js)_
_See code: [src/commands/send.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/send.js)_

## `qrl-cli send-initial-message FILE`

Expand All @@ -351,7 +351,7 @@ OPTIONS
-t, --testnet queries testnet for the OTS state
```

_See code: [src/commands/send-initial-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/send-initial-message.js)_
_See code: [src/commands/send-initial-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/send-initial-message.js)_

## `qrl-cli send-next-message INDEX MESSAGE`

Expand All @@ -371,7 +371,7 @@ OPTIONS
-t, --testnet queries testnet for the OTS state
```

_See code: [src/commands/send-next-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/send-next-message.js)_
_See code: [src/commands/send-next-message.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/send-next-message.js)_

## `qrl-cli sign`

Expand All @@ -390,7 +390,7 @@ OPTIONS
-t, --testnet queries testnet for the OTS state
```

_See code: [src/commands/sign.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/sign.js)_
_See code: [src/commands/sign.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/sign.js)_

## `qrl-cli status`

Expand All @@ -411,7 +411,7 @@ DESCRIPTION
Advanced: you can use a custom defined node to query for status. Use the (-g) grpc endpoint.
```

_See code: [src/commands/status.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/status.js)_
_See code: [src/commands/status.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/status.js)_

## `qrl-cli validate ADDRESS`

Expand All @@ -432,7 +432,7 @@ DESCRIPTION
when passed a QRL address in hexstring (preceded by 'Q'), will return details about the addresses validity.
```

_See code: [src/commands/validate.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/validate.js)_
_See code: [src/commands/validate.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/validate.js)_

## `qrl-cli verify ADDRESS ITEM_PER_PAGE PAGE_NUMBER`

Expand All @@ -453,5 +453,5 @@ OPTIONS
-t, --testnet queries testnet for the OTS state
```

_See code: [src/commands/verify.js](https://github.com/theqrl/qrl-cli/blob/v1.4.1/src/commands/verify.js)_
_See code: [src/commands/verify.js](https://github.com/theqrl/qrl-cli/blob/v1.4.5/src/commands/verify.js)_
<!-- commandsstop -->
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@theqrl/cli",
"description": "QRL CLI functions",
"version": "1.4.1",
"version": "1.4.5",
"author": "JP Lomas <[email protected]>, The QRL Foundation",
"bin": {
"qrl-cli": "./bin/run"
Expand All @@ -13,6 +13,7 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^2",
"@theqrl/explorer-helpers": "^0.2.5",
"@theqrl/qrl-proto-sha256": "^2.0.3",
"@theqrl/validate-qrl-address": "^1.1.0",
"aes-js": "^3.1.2",
Expand Down
Loading

0 comments on commit 131cd8e

Please sign in to comment.