proposals icon indicating copy to clipboard operation
proposals copied to clipboard

Proposal for UTXO Tokens

Open igormcoelho opened this issue 7 years ago • 2 comments

After global assets are abolished, some people may want to keep UTXO behavior on their tokens. Perhaps we can start creating a standard for that.

In my opinion, it could be nearly the same as NEP-5 (including a consolidated balance), but with minor differences on transfer function (including unspent inputs and multiple outputs). That won't be very challenging to implement I think.

igormcoelho avatar Apr 03 '19 03:04 igormcoelho

I think NEP-5 is just a token standard. It doesn't specify what way to store it behind, so you can also use UTXOs to store the user's account.

erikzhang avatar Apr 03 '19 05:04 erikzhang

Good idea igor, @erikzhang I think standard is still necessary because native contract still need to expose something like inputs/outputs to developer. Of course there can be simple transfer function where contract itself manages the strategy for how to use UTXO's, but for advanced functionalities it is still likely that these UTXO type methods need to be exposed.

saltyskip avatar Apr 10 '19 03:04 saltyskip

UTXO is gone, maybe we close this now.

roman-khimov avatar Sep 13 '22 15:09 roman-khimov