RE: SteemWorld ~ Weekly Support ~ #26

You are viewing a single comment's thread from:

SteemWorld ~ Weekly Support ~ #26

in steemworld •  6 years ago 

Bug spotted.
When you type a password with special chars steemworld errors with non base58 characters

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

The question is, if that's a bug or a feature :) The message comes from the official Steem.js library and it just tells you that you entered non base58 characters. But of course, it would be better to check the input before calling a method from the lib, so I will fix that in the coming days ;)

I see.
is Steemjs an official library?

Seems like there are different inputs - where non base58 should not occur and where they may happen.

Posted using Partiko Android

I will add a private key validation as soon as I find time for this. The Steem.js lib offers a wifIsValid( privKey, pubKey ) method to check against a public key, so it's really easy to implement.

is Steemjs an official library?

Yes, it's being maintained by Steemit and the source can be found on GitHub. I think it is still the mostly used JavaScript library for accessing the Steem blockchain, but there are already better/newer alternatives available. (for example DSteem)