-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Ethereum addresses as seed issue #56
Comments
I also have a problem that seems to be similar. I use as seed ID's from html elements. However, it happens that different seeds lead to the same names. like:
Code for generation:
|
There's a solution outlined here #79
I'm not 100% sure if it solves the issue completely, but it does resolve the duplicate mentioned above by @misterboe where these two generate the same outputs
My testing
using this implementation |
Hello,
I am using your package with Ethereum addresses as a seed (with the
0x
prefix removed) and the dictionariesadjectives
andanimals
. It appears that some adjectives and animals will never (or extremely rarely?) be used when callinguniqueNamesGenerator
with the address as a seed but others will be very often.For instance, if I want to generate a vanity name (i.e. I want my name generated from the ETH address to contains
whale
, see script below)The expected outcome is that every time I run the vanity name generator, I get an
{adjective}
+ Whale nickname, where {adjective} is one of the many adjectives in the dictionary.But in reality, it will very often be the same adjective, here is a sample of 100 generated names that includes
Whale
(each one was generated using a different ETH address):I think there is an issue in how the seed is generated from a string, perhaps it is too big? Also, if tou try using a VERY big number as a seed, you will always end up with the same name, so I think there is an issue with the seed.
Script to generate vanity names:
The text was updated successfully, but these errors were encountered: