You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why it is needed?
It would be very beneficial for the user to specify the entropy (bit size) during wallet creation and/or import to make it portable and allow using it in paper wallet, mobile wallet, web wallet and Node.js CLI wallet. At the end we will support 12- and 24-word mnemonics in all wallet implementations to get full interoperability.
How it should be implemented?
We need to add a new CLI parameter --entropy to the create command for the following operations.
Creation of the wallet: karlsenwallet create --entropy 128 will create wallet with 12-word seed phrase karlsenwallet create --entropy 256 will create wallet with 24-word seed phrase
Import of the wallet karlsenwallet create --import --entropy 128 will import wallet with 12-word seed phrase karlsenwallet create --import --entropy 256 will import wallet with 24-word seed phrase
Dump of the mnemonic karlsenwallet dump-unencrypted-data will dump the mnemonic either in 12- or 24-word.
The create -h command must be extended as well to explain entropy difference
What it is?
Currently we support in
karlsenwallet
only 256 bit BIP39 mnemonics. The bit size is configured at:karlsend/cmd/karlsenwallet/libkaspawallet/bip39.go
Line 14 in 3909ca2
Why it is needed?
It would be very beneficial for the user to specify the entropy (bit size) during wallet creation and/or import to make it portable and allow using it in paper wallet, mobile wallet, web wallet and Node.js CLI wallet. At the end we will support 12- and 24-word mnemonics in all wallet implementations to get full interoperability.
How it should be implemented?
We need to add a new CLI parameter
--entropy
to thecreate
command for the following operations.Creation of the wallet:
karlsenwallet create --entropy 128
will create wallet with 12-word seed phrasekarlsenwallet create --entropy 256
will create wallet with 24-word seed phraseImport of the wallet
karlsenwallet create --import --entropy 128
will import wallet with 12-word seed phrasekarlsenwallet create --import --entropy 256
will import wallet with 24-word seed phraseDump of the mnemonic
karlsenwallet dump-unencrypted-data
will dump the mnemonic either in 12- or 24-word.The
create -h
command must be extended as well to explain entropy differenceAdditional Information
https://github.com/tyler-smith/go-bip39
The text was updated successfully, but these errors were encountered: