Closed mFragaBA closed 1 month ago
There could also be other formats (especially once we add support for mapping ticker symbols). For example:
{amount}::{faucetId}
- e.g., 100::0x123456789
{amount}::{symbol}
- e.g., 100::POL
or maybe even just 100POL
(though this would be a bit more difficult to parse).There could also be other formats (especially once we add support for mapping ticker symbols). For example:
* `{amount}::{faucetId}` - e.g., `100::0x123456789` * `{amount}::{symbol}` - e.g., `100::POL` or maybe even just `100POL` (though this would be a bit more difficult to parse).
agreed, I woudl keep the ::
for ease of parsing (a space is also ok). And we can handle either the ID (we check if it starts with 0x
) or a symbol otherwise
closing as #349 got merged. We may revisit the asset format if we add account aliases / token symbol mapping
_Originally posted by @igamigo in https://github.com/0xPolygonMiden/miden-client/pull/324#discussion_r1601889525_