hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
182 stars 54 forks source link

keep case-sensitive BRC-20 ticker names for display #348

Closed rafaelcr closed 1 month ago

rafaelcr commented 1 month ago

When we index a BRC-20 token, we lowercase the ticker before storing it in the database (e.g. we save KI$$ as ki$$). This makes the ticker displayed in predicate payloads to be lowercased as well.

We should save the original spelling of the ticker upon deploy and use that string as the tick value in all payload data.