dapp icon indicating copy to clipboard operation
dapp copied to clipboard

Add dapp key command to create wallets

Open nanexcool opened this issue 7 years ago • 5 comments

dapp key --help

dapp key --keystore path (will prompt for password)

dapp key --keystore path --password file

default keystore ~/.ethereum/keystore

can be used with ETH_KEYSTORE and ETH_PASSWORD for seth compatibility

nanexcool avatar Mar 15 '18 23:03 nanexcool

Hmmmmm I don't know if this should be in dapp!!!!!!!!??????????

Also it would have to be dapp key new (or dapp new-key), not just dapp key I think??????

dbrock avatar Mar 15 '18 23:03 dbrock

Yeah... it should be in seth? Here it's easy because we already have geth. In seth we'd have to either add geth or create a tiny program like ethsign that uses geth library for wallet creation, or add that capability to ethsign since it's already included, or grab some javascript library that already does this like ethereumjs-wallet

nanexcool avatar Mar 15 '18 23:03 nanexcool

Yeah, I think the right answer is probably to either add this to ethsign or like you said make a new program that has this capability.

Or... maybe seth should also simply depend on geth itself?

I actually think for example dapp testnet might make more sense as seth testnet...

dbrock avatar Mar 16 '18 00:03 dbrock

What do you think @mbrock?

dbrock avatar Mar 16 '18 00:03 dbrock

Hmm, seth testnet seems reasonable to me, in a general spirit of "dapp minimalism".

The --nix-run thing in dapp is a bit weird and should probably be replaced with using normal Nix dependencies (so yeah, Seth would just depend on Geth, or the patched "Geth Unlimited" which deviates from consensus in allowing huge contracts e.g. for test suites).

mbrock avatar Mar 16 '18 06:03 mbrock