Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset names in RGB Schema #60

Closed
dr-orlovsky opened this issue Sep 29, 2020 · 4 comments
Closed

Asset names in RGB Schema #60

dr-orlovsky opened this issue Sep 29, 2020 · 4 comments
Assignees
Labels
help wanted Extra attention is needed informational Generic info materials [RGB] Specs related to client-validated state management system WIP Work in progress

Comments

@dr-orlovsky
Copy link
Member

Seems we need four type of asset name:

  • Main unit of accounting (like "Bitcoin")
  • Ticker for it (like "BTC")
  • Smallest division (like "satoshi" - or maybe "sat"?)
  • Subdivision for micropayments (like "msat")

Related: #51

@dr-orlovsky dr-orlovsky added help wanted Extra attention is needed [RGB] Specs related to client-validated state management system WIP Work in progress informational Generic info materials labels Sep 29, 2020
@dr-orlovsky dr-orlovsky added this to the RGB schemata milestone Sep 29, 2020
@BitcoinErrorLog
Copy link

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

I do not support subdivisions.

@dr-orlovsky
Copy link
Member Author

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
Copy link
Member

fedsten commented Oct 6, 2020

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
Copy link
Member Author

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: #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed informational Generic info materials [RGB] Specs related to client-validated state management system WIP Work in progress
Projects
None yet
Development

No branches or pull requests

4 participants