* governance: fix voting support for `approval` etc
- approval and ranked-choice (uint32[]) => []interface{}
- quadratic / weighted / shutter => unchanged
- single-choice => unchanged
- return error if unknown type
- remove panic when converting to uint64
- add examples as comments for each of the proposal types. these have
been verified by comparing with snapshot.js output
* ci: upload test artifact
* ci: run upload artifact after mac build
* ci: rename mac os bin to avoid upload overwrite
* ci: separate artifacts for darwin and linux
* pkg/ledger: fix transaction signing
Split the message to be signed into packets of size 255. The
implementation is simply copied over from staking transaction signing.
Closes#297
See also harmony-one/staking-dashboard#637
* pkg/ledger: only enumerate hid devices
update the fix from #293 to only enumerate HID devices instead of all
(raw/USB) devices
* pkg/ledger: use `usb` for import not `hid`
| `from` | string | [**Required**] Sender's one address, must have key in keystore. |
| `to` | string | [**Required**] The receivers one address. |
| `amount` | string | [**Required**] The amount to send in $ONE. |
| `amount` | string | [**Required**] The amount to send in $WOOP. |
| `from-shard` | string | [**Required**] The source shard. |
| `to-shard` | string | [**Required**] The destination shard. |
| `passphrase-file` | string | [*Optional*] The file path to file containing the passphrase in plain text. If none is provided, check for passphrase string. |
| `passphrase-string` | string | [*Optional*] The passphrase as a string in plain text. If none is provided, passphrase is ''. |
| `nonce` | string | [*Optional*] The nonce of a specific transaction, default uses nonce from blockchain. |
| `gas-price` | string | [*Optional*] The gas price to pay in NANO (1e-9 of $ONE), default is 1. |
| `gas-price` | string | [*Optional*] The gas price to pay in NANO (1e-9 of $WOOP), default is 1. |
| `gas-limit` | string | [*Optional*] The gas limit, default is 21000. |
| `stop-on-error` | boolean | [*Optional*] If true, stop sending transactions if an error occurred, default is false. |
| `true-nonce` | boolean | [*Optional*] If true, send transaction using true on-chain nonce. Cannot be used with `nonce`. If none is provided, use tx pool nonce. |
@ -243,26 +242,26 @@ Example of returned JSON Array:
## Offline sign transfer
1. Get Nonce From a Account. (Need to be online, but no passphrase required)