-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1315: Add shutdown handler for new launcher r=KtorZ a=rvl Relates to #1314. # Overview This adds a simpler way of ensuring clean shutdown of the wallet on windows (and linux), which doesn't require DaedalusIPC. The mechanism will be used by cardano-launcher. - Adds the shutdown handler thread. - Needed to rearrange startup functions around a little bit. - Unit tests and an integration test. # Comments [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-1315) 1321: Add CLI command for extracting root xprvs r=Anviking a=Anviking # Issue Number #1316 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] I have added `cardano-wallet-jormungandr key root --type random <mnemonic words>` - [x] I added unit tests for help-text and actual usage. - [x] I added a *pending* test making sure keys are compatible with jcli (which would fail) # Comments ```bash $ cardano-wallet-jormungandr key --help Usage: cardano-wallet-jormungandr key COMMAND Derive keys from mnemonics. Available options: -h,--help Show this help text Available commands: root Extract root xprv as hex (64 bytes private key + 32 bytes chain code) $ cardano-wallet-jormungandr key root --help Usage: cardano-wallet-jormungandr key root --type KEYTYPE MNEMONIC_WORDS... Extract root xprv as hex (64 bytes private key + 32 bytes chain code) Available options: -h,--help Show this help text --type KEYTYPE Any of the following: random (Daedalus, 12 words) icarus (15 words) trezor (12, 15, 18, 21, or 24 words) ledger (12, 15, 18, 21, or 24 words) $ cardano-wallet-jormungandr key root --type random flock advance execute country leader exotic mix twenty six margin orient meat 68a0f29e6bd5d8af7ffd00a55006afa8af6fbdbded07984ddf7fb1c31c66f7460685e5d1016553fccc9724f5ee95dd8d66facd2ac1bb2f6fcd7fa5e53c97a57f50c592fcd18b67bf3393a16184d009fb25450b2de8079f870222874e804584a8 ``` <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: KtorZ <[email protected]> Co-authored-by: Johannes Lund <[email protected]>
- Loading branch information
Showing
37 changed files
with
1,359 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.