Edgar Aroutiounian
70d319d9a0
[cmd] Pull nonce of account
5 years ago
Ganesha Upadhyaya
ae4934121e
support wait-for-confirm flag for staking similar to normal transactions ( #80 )
...
minor typo
5 years ago
janet-harmony
0941a7183c
[cookbook] Add --recover flag to cookbook for adding account by mnemonic ( #76 )
5 years ago
janet-harmony
f4a598a8f4
[cli-73] Additional fix on sanity check logic ( #75 )
5 years ago
Janet Liang
30be0be3b6
[ #73 ] Fix logic for sanity check on create-validator fields
5 years ago
Ganesha Upadhyaya
ca10f046a7
fixing incorrect multiplication for delegate/undelegate
5 years ago
janet-harmony
9887a7b8ea
[ #69 ] Fix segfault when trying to edit validator ( #72 )
5 years ago
Edgar Aroutiounian
f947e759bf
[cmd] Wrap error with context of commit & version
5 years ago
Edgar Aroutiounian
0e04a27e98
[staking] Use correct denomination
5 years ago
Edgar Aroutiounian
28ebface68
[staking] Use decimal to prevent overflow
5 years ago
janet-harmony
cb0d487203
[ #67 ] Change default passphrase to empty string ( #68 )
...
* Passphrase is now required when using import-ks
* Passphrase flag for add is changed to use-own-passphrase which accepts a bool
- to differentiate from the string input passphrase flag
5 years ago
Edgar Aroutiounian
c91aece10f
[staking] max-total-delegation must be greater than 0
5 years ago
Edgar Aroutiounian
667fd0d4d5
[hack] Set env to force usage of only go impl of netdns
5 years ago
Edgar Aroutiounian
eb82daa159
[chore] Typo
5 years ago
janet-harmony
5293a9ec9c
[cli-testing] Fix cookbook print for create-validator example ( #64 )
5 years ago
Eugene Kim
81e751bc34
Add bash completion subcommand
...
To use:
. <(hmy completion)
5 years ago
Ganesha Upadhyaya
83634e501f
adding bls pubkey verification using bls key file and passphrase, also sending bls signatures for backend to verify
5 years ago
Ganesha Upadhyaya
925e2928b0
adding sanity checks for description fields of create and edit validator ( #59 )
5 years ago
Ganesha Upadhyaya
3ef3b5c79b
fix nonce issue ( #57 )
5 years ago
Edgar Aroutiounian
afe711b95a
[staking] Organize subcommands for validator/delegation querying ( #55 )
...
* [staking] Organize subcommands for validator/delegation querying
* [staking] Query validator information w/sanitized input
* updating validator delegation information fetching
5 years ago
coolcottontail
db633bec79
updated gaslimit algorithm for staking contracts ( #53 )
5 years ago
coolcottontail
30198ee234
added sanity check ( #52 )
5 years ago
Daniel Van Der Maden
5c84720ddf
[cookbook] Update cookbook regarding #46
5 years ago
coolcottontail
a570549abe
add 0x to edit staking
5 years ago
coolcottontail
cff84d5560
added supporting 0x prefix in bls pub keys
5 years ago
Daniel Van Der Maden
e0048e7fd8
[cookbook] Update cookbook
5 years ago
Daniel Van Der Maden
d9059d19d7
[keys] Add save and get public bls key + clean-up
5 years ago
Daniel Van Der Maden
1bd8067a28
[keys] Add bls key recovery
5 years ago
Daniel Van Der Maden
de66017c7e
[keys] Add bls key generation
5 years ago
Daniel Van Der Maden
5b69df3a1d
[staking] Update command syntax to follow convention
5 years ago
Daniel Van Der Maden
bfda8e39ea
[blockchain] Expose latest header request
5 years ago
coolcottontail
66917ae3b0
Updated staking support for CLI ( #44 )
...
* updated stake options per latest staking message format, added multi-packet support in ledger staking tx
* added constant for signature and packet size
5 years ago
Edgar Aroutiounian
37bdcedd4a
[cmd] Fix mistake in block-by-number ( #43 )
5 years ago
Daniel Van Der Maden
b079092e9e
[export] add export for private key & keystore file
5 years ago
coolcottontail
27a03c347a
updated staking CLI according to the latest staking messages ( #39 )
...
* updated staking CLI according to the latest staking messages
* add -addr suffix to command line arguments validator/delegator
5 years ago
Edgar Aroutiounian
27de4d2de0
[transactions] Change default gasPrice to 1 from 0
5 years ago
Edgar Aroutiounian
9e71755447
[cmd/balance] Update balances subcommand
5 years ago
Edgar Aroutiounian
99c333549c
[cli] Note the testnet usage in cookbook
5 years ago
Edgar Aroutiounian
56e9507ca7
[cli] Adjust misleading import-private-ks passphrase flag
5 years ago
coolcottontail
35247b1c48
Added stake support in CLI and ledger HW signing ( #36 )
...
* added stake support in CLI
* added Delegate/ReDelegate/Undelegate commands
* added newvalidator/editvalidator in staking
* updated RunE, typo
5 years ago
Sebastian Johnsson
7208e910a7
pkg/validation: Validation methods for addresses and shardIDs ( #34 )
...
* Add pkg/validation:
- ValidateAddress(address string) error: validates that a given address is in a Bech32 (one...) or Base16 (0x...) format
- ValidShardIDs(senderShard int, receiverShard int, shardCount int) error: validates that the specified shard IDs are valid and returns corresponding error messages
- ValidShardID(shardID int, shardCount int) bool: validates that a specific shardID is valid.
Test:
go test pkg/validation/*.go
* Fix quote escaping
* Use uint32 instead of int for shardIDs
5 years ago
Manish Gangal
1f25a41800
[cmd/balance][pkg/sharding] moved check balances logic to package sharding ( #31 )
5 years ago
Rongjian Lan
7e9e134d99
Correct cookbook guide for key import-ks
5 years ago
Daniel Van Der Maden
8abda5a679
Raw txn ( #30 )
...
* [transaction] Add Raw Transaction to output of dry-run
* [transaction] Clarify output of dry-run
5 years ago
Sebastian Johnsson
776abd8a75
Improve validation of shardIDs ( #29 )
5 years ago
Daniel Van Der Maden
bf070dd6bb
[import-ks] Add optional argument for name ( #28 )
5 years ago
Daniel Van Der Maden
b0af9c87b0
Import keys using secp256k1 private keys. ( #27 )
...
* Checkpoint for passoff to Daniel
* [keys] Add support for importing keys using a secp256k1 private key
* [keys] Allow user to specify passphrase for secp256k1 key import
* [keys] Allow user to specify name for secp256k1 key import
* [keys] Made account name optional for secp256k1 key import
* [pkg/account/import] Add import from secp256k1 private key
* [pkg/account/import] Clarify bad secp256k1 private key errors
* [keys] Enforced number of arguments for secp256k1 private key import
* [pkg/account/import] Clarify logic and use common value for key length
[test] Remove test.sh changes
5 years ago
Daniel Van Der Maden
d14c39405f
[mnemonic] Enable recover from mnemonic with unused index
5 years ago
Edgar Aroutiounian
8d307c39ab
[pkg/common][cmd] Add --verbose as syn for HMY_ALL_DEBUG
5 years ago
Edgar Aroutiounian
9bdda02b3e
[cmd] Address golint complaints
5 years ago