We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current implementation is basically this:
BETANUMERIC = "0123456789bcdfghjkmnpqrstvwxz" def generate_noid(length: int) -> str: return "".join(secrets.choice(BETANUMERIC) for _ in range(length))
and when an ARK is minted we call generate_noid(8) and then just try again if there is a collision
generate_noid(8)
There's no way this is actually good lol, i mean it's not actually the worst but performance would definitely be better if we used numbers or uuids.
https://metacpan.org/dist/Noid/view/noid
37B combinations
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current implementation is basically this:
and when an ARK is minted we call
generate_noid(8)
and then just try again if there is a collisionThere's no way this is actually good lol, i mean it's not actually the worst but performance would definitely be better if we used numbers or uuids.
https://metacpan.org/dist/Noid/view/noid
37B combinations
The text was updated successfully, but these errors were encountered: