Skip to content

Conversation

@ilikesymmetry
Copy link
Collaborator

@ilikesymmetry ilikesymmetry commented Oct 1, 2025

Before:

toTokenId("base") -> 44498839750228103637605521814503088468024911857695849731344316461305001148416
toTokenId("basecamp") -> 44498839760694099857589941137367510834861780992994609044330424891558904987648

After:

toTokenId("base") -> 62617365
toTokenId("basecamp") -> 6261736563616D70

This improves devx by:

  1. making the strings more easily human readable
  2. making the strings more easily human differentiable (notice the clarity in difference between the two codes)
  3. reduce clutter on NFT rendering sites that will likely use tokenIds

@ilikesymmetry ilikesymmetry force-pushed the conner/null-pack-big-endian branch from fae0921 to 8abc5f5 Compare October 1, 2025 06:44
@ilikesymmetry ilikesymmetry force-pushed the conner/null-pack-big-endian branch from 9af2c3f to f906181 Compare October 1, 2025 08:05
@ilikesymmetry ilikesymmetry merged commit 94fe13c into main Oct 1, 2025
7 checks passed
@ilikesymmetry ilikesymmetry deleted the conner/null-pack-big-endian branch October 6, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants