cosmos / cosmjs

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.
https://cosmos.github.io/cosmjs/
Apache License 2.0
655 stars 344 forks source link

parseCoins fails for some Tokenfactory denoms #1611

Open apollo-sturdy opened 1 month ago

apollo-sturdy commented 1 month ago

In tokenfactory denoms a dash - is allowed, but fn parseCoins from cosmjs/amino expects denoms to only have alphanumeric characters or a forward slash.