Closed MegalithicBTC closed 3 months ago
If there's no way around this, and we really must provide a decimal_display
value, then an extensive set of examples, showing real-world scenarios and recommended decimal_display
values, and the reasoning behind these choices, like "I want to mint a stablecoin worth $1, and therefore I chose a decimal_display
of _ " or "I want to mint a stablecoin worth $0.01, and therefore I chose a decimal_display
of _" or "I want to mint 1,000,000 assets, and I don't know what the market price will be so, I chose a decimal_display
of ___" .... would be very useful.... and part of this should also be some understandable explanation of the tradeoffs involved in different denominations -- i.e. explain why it might be better to mint a "millicent" or "microcent" asset in the case of a stablecoin, instead of attempting to create a stablecoin where "1 asset = $1".
This might be of interest to you: https://github.com/lightninglabs/taproot-assets/pull/1059
That document also explains the reason for the decimal display and what effect it has on Lightning Multi-Part Payments (MPP).
Closed in favor of this: https://github.com/lightninglabs/taproot-assets/pull/1059