How will Hivemind handle NAIs when SMTs come out?

in Hivemind5 years ago

I was studying utils.normalize.parse_amount() and saw that it handles NAI inputs but checks them against a CONSTANT that currently hosts mappings to STEEM, SBD and VESTS NAIs.

Will there be changes to how token symbols are stored in the DB? Currently, it's the actual symbol that's stored. Will this change to NAIs? Or will there be a common registry that Hivemind will pull from in the future?

Sort:  

parse_amount will need to handle arbitrary NAIs. I'm not sure yet about name mapping, but mapping a community to an NAI could simply be done by adding a new community property.

Cool :)

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 60385.82
ETH 2321.90
USDT 1.00
SBD 2.51