near-cli icon indicating copy to clipboard operation
near-cli copied to clipboard

publicKey and initialBalance should be required to create an account

Open frol opened this issue 4 years ago • 6 comments

I believe it is a UX problem with the current defaults for create_account command, as an account without a public key is a dead-end for the tokens, so if a user doesn't specify or makes a typo publicKey and initialBalance one will lose 10 N.

frol avatar Jan 13 '20 13:01 frol

@frol if you don't specify public key – we create new key pair, you don't lose anything.

vgrichina avatar Jan 13 '20 19:01 vgrichina

Where does the key pair go? We should log this behavior out and document it.

frol avatar Jan 13 '20 21:01 frol

@frol to neardev/ like everything else. I agree that it needs to be surfaced better + long-term prob should go into system keychain when available, etc

vgrichina avatar Jan 14 '20 01:01 vgrichina

@vgrichina I am not sure if that counts, but even Illia did not know that there is such a thing as neardev/. We should do better at explaining / documenting such behavior. /cc @amgando

P.S. I don't blame anyone here at all (I hope my communication is ok), I am just trying to be short and explicit at what I believe we should do if we want to claim "user-friendliness" of NEAR protocol.

frol avatar Jan 14 '20 15:01 frol

@frol it's documented in several places. i'm open to suggestions for how to improve this.

search for "neardev" in the top search bar on docs.nearprotocol.com to see this:

image

amgando avatar Jan 14 '20 17:01 amgando

@amgando None of those searches are for near-shell, though :disappointed:; the "Guides" is listed inside JavaScript SDK, while it is mostly talking about near-shell, which is even more confusing to me.

frol avatar Jan 14 '20 17:01 frol