neo-project / neo-node

MIT License
229 stars 223 forks source link

No need to create an address as default when creating a new wallet #814

Closed superboyiii closed 3 years ago

superboyiii commented 3 years ago

Someone just wants to create a wallet and import an existed privkey but has to delete the first address because it 's never used.

Jim8y commented 3 years ago

why not allowing them to create a wallet by importing a private key?

Jim8y commented 3 years ago

empty wallet just looks weird,,,,, though it is normal in real life.....

Qiao-Jin commented 3 years ago

Moreover it think it should be enabled to delete address from wallet

roman-khimov commented 3 years ago

empty wallet just looks weird,,,,, though it is normal in real life.....

NeoGo allows to create empty wallet, that's what wallet init command does by default. Only with -a it actually also creates a new account.

Moreover it think it should be enabled to delete address from wallet

Sure. wallet remove in NeoGo allows to do that.