Tyera Eulberg
1a4de4d3c4
v0.23: backport cli refactoring and remote-wallet signing integration ( #8487 )
...
* CLI: dynamic signing reboot (#8384 )
* Add keypair_util_from_path helper
* Cli: impl config.keypair as a trait object
* SDK: Add Debug and PartialEq for dyn Signer
* ClapUtils: Arg parsing from pubkey+signers to Presigner
* Impl Signers for &dyn Signer collections
* CLI: Add helper for getting signers from args
* CLI: Replace SigningAuthority with Signer trait-objs
* CLI: Drop disused signers command field
* CLI: Drop redundant tests
* Add clap validator that handles all current signer types
* clap_utils: Factor Presigner resolution to helper
* SDK: `From` for boxing Signer implementors to trait objects
* SDK: Derive `Clone` for `Presigner`
* Remove panic
* Cli: dedup signers in transfer for remote-wallet ergonomics
* Update docs vis-a-vis ASK changes
* Cli: update transaction types to use new dynamic-signer methods
* CLI: Fix tests No. 1
what to do about write_keypair outstanding
* Work around `CliConfig`'s signer not necessarily being a `Keypair`
* CLI: Fix tests No. 2
* Remove unused arg
* Remove unused methods
* Move offline arg constants upstream
* Make cli signing fallible
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Reinstate `create-stale-account` w/ seed test (#8401 )
automerge
* CLI: collect and deduplicate signers (#8398 )
* Rename (keypair util is not a thing)
* Add method to generate_unique_signers
* Cli: refactor signer handling and remote-wallet init
* Fixup unit tests
* Fixup intergation tests
* Update keypair path print statement
* Remove &None
* Use deterministic key in test
* Retain storage-account as index
* Make signer index-handling less brittle
* Cache pubkey on RemoteKeypair::new
* Make signer_of consistent + return pubkey
* Remove &matches double references
* Nonce authorities need special handling
* Make solana root key accessible on Ledger (#8421 )
* Use 44/501 key as ledger id
* Add error codes
* Ledger key path rework (#8453 )
automerge
* Ledger hardware wallet docs (#8472 )
* Update protocol documentation
* Correct app-version command const
* Rough initial Ledger docs
* Add more docs
* Cleanup
* Add remote-wallet to docs TOC
Co-authored-by: Greg Fitzgerald <greg@solana.com >
* Add flag to confirm key on device
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2020-02-26 17:59:41 -07:00
mergify[bot]
02877814fa
Rename KeypairUtil to Signer ( #8360 ) ( #8366 )
...
automerge
2020-02-20 16:30:43 -08:00
mergify[bot]
235158d2bc
CLI: Expose sign-only reply parsing helper ( #8107 ) ( #8110 )
...
automerge
2020-02-03 19:55:45 -08:00
Trent Nelson
f0d7ce6bb6
CLI: Disallow blockhash/fee-calc lookups when offline ( #7981 )
...
* CLI: Add BlockhashSpec to tighten control over --blockhash
* Use BlockhashSpec
* Add a matches-free constructor
* More descriptive naming
(cherry picked from commit 966d077431
)
2020-01-30 09:39:04 -07:00
mergify[bot]
932ae86d47
CLI: Fix tests. sign_only requires a blockhash ( #8005 ) ( #8007 )
...
automerge
2020-01-28 19:07:47 -08:00
Jack May
c95e5346a4
Boot the mut ( #7926 )
2020-01-22 17:54:06 -08:00
Rob Walker
6775e83420
Add create with seed to cli ( #7713 )
...
* Add create with seed to cli
* nonce and vote, too
2020-01-09 15:22:48 -08:00
Trent Nelson
db52cc6749
CLI: Fix default nonce authority resolution ( #7657 )
...
automerge
2020-01-02 17:05:08 -08:00
Justin Starry
44e45aa090
Support nonced transactions in the CLI ( #7624 )
...
* Support nonced transactions in the CLI
* Update nonce.rs
2019-12-27 14:35:49 -06:00
Tyera Eulberg
3513f4ee84
Rename drone to faucet ( #7508 )
2019-12-16 14:05:17 -07:00
Jack May
88cb0c6ae3
Add offline signing support to CLI ( #7104 )
2019-11-25 21:09:57 -08:00
Tyera Eulberg
8319fa05d0
solana-cli: selectively require keypair ( #6477 )
...
* Make parse_command consistent
* Strip pubkey out of parse_stake_create_account
* Move validator-info args into module
* Strip pubkey out of parse_validator_info_command
* Strip pubkey out of parse_vote_create_account
* Strip pubkey out of balance parsing
* Strip pubkey out of parse pay
* Only verify keypair existence if command requires it
* Use struct instead of tuple
2019-10-21 17:08:09 -06:00
Tyera Eulberg
9c9754fa0f
Cli refactor: rename wallet to cli ( #6243 )
...
* Rename Wallet structs to Cli
* Rename wallet to cli more broadly
* Update to cli/config.yml, and update docs
2019-10-04 16:13:21 -06:00
Tyera Eulberg
c62a4a1c13
Interpret Solana-CLI amount requests in SOL by default ( #5866 )
...
automerge
2019-09-10 16:16:40 -07:00
Michael Vines
f78baf80e4
Move drone arguments under the airdrop command ( #5741 )
2019-08-29 20:45:53 -07:00
Michael Vines
1207664bbb
Rename solana-wallet program to just solana ( #5604 )
...
* Rename wallet/ to cli/
* Rename the solana-wallet crate to solana-cli
* Rename solana-wallet program to solana
* cargo fmt
2019-08-22 13:51:16 -07:00