diem / dip

Libra Improvement Proposals
https://lip.libra.org
Apache License 2.0
40 stars 55 forks source link

Initial draft of LIP-20 #54

Closed tzakian closed 3 years ago

tzakian commented 4 years ago

This PR is the initial draft for LIP-20. This is meant to provide both definitions for how currencies work on-chain (registration, minting, coin operations, SCS v.s. synthetic currencies, burning), and also some level of intuition at the same time provide some intuition and motivation for each these e.g., Preburn exists so that off-chain actions can be performed before burning the coins.

tzakian commented 3 years ago

The biggest question I have is whether we want this to be a Libra-specific standard (in which case I think it is close to ready) or a more general standard that will be adopted by other blockchains that want to interop with Libra and/or use Move (in which case I think we have some thinking to do in a few key areas). Some of my comments are assuming we want the latter (especially given the "20"), but wasn't sure.

My thinking was that this would be more Libra specific, but I defer to your and @dahliamalkhi's view on this, and am happy to edit this either direction.

tzakian commented 3 years ago

I believe all comments have been resolved. I've also updated to use Diem and XDX everywhere, with the exception of links at the moment.

@sblackshear let me know if this looks good to you and feel free to merge in (I can't :( ).