How will Hivemind handle NAIs when SMTs come out?
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?
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 :)