LNP-BP / LNPBPs

LNP/BP standards for bitcoin layer 2 & 3 protocols
https://standards.lnp-bp.org
202 stars 39 forks source link

Asset names in RGB Schema #60

Closed dr-orlovsky closed 4 years ago

dr-orlovsky commented 4 years ago

Seems we need four type of asset name:

Related: #51

BitcoinErrorLog commented 4 years ago

Are there any notable standards from existing token projects for this that we should model ours after?

I do not support subdivisions.

dr-orlovsky commented 4 years ago

None of the tokens are working on Ln, so no. Omni Bolt as far as I see uses asset definitions from onchain part and does not have LN-specific things there.

fedsten commented 4 years ago

Personally I don't see the point of having both "smallest division" and "subdivision for micropayments". In Bitcoin msats exists only because a technological improvement enabled further division that before was not possible, but I don't see why a brand new token shouldn't directly adopt its smallest unit also for micropayments.

dr-orlovsky commented 4 years ago

Follow-up from the dev call on the 7th of Oct 2020: we need just a single name, which will be used for a large aggregate unit. The atomic units will be expressed as a decimals after the dot under the same name. This works with other assets on ERC20, Liquid and other systems, and with LN we just need to make sure that the atomic unit is the unit that can be usable for micropayments (so in case of USDT it must be not a "cent", but "millicent" or something like that).

Related discussion: https://github.com/LNP-BP/LNPBPs/issues/51