-
Notifications
You must be signed in to change notification settings - Fork 279
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
[suggestion] Eliminate AssetType
inconsistencies
#4087
Comments
@mversic @Erigara I'd like to work on this and the related tickets: #3924 and #4101. Also, while working on examples/docs, I struggled to motivate the distinction between registering and minting assets, since minting/setting a key-value pair on a non-existing asset will create it anyway, making IMO, |
Either that or remove |
@mversic I think both are valid depending on our goals. If we want to provide explicit instructions, we should disallow implicit |
Imo it kinda strange to have |
@Erigara my reasoning is that even though I have an overall |
on the other hand I can have a multi-currency account in my bank and be able to receive any payment |
@mversic but you have to ask for it, it doesn't come with the user account. And multi-currency accounts are in reality just multiple accounts abstracted away into a single one (though depends on your country probably) |
I agree, in my opinion can we also get some insight how other blockchains do it? |
Continuing a discussion on NFTs and store assets raised in the documentation repo (hyperledger-iroha/iroha-2-docs#502 (comment)) here. Basically, we should also think about introducing a proper non-fungible asset type and/or make store assets more consistent within the same definition. cc: @s8sato |
Re: #4672 (comment) Do we need a fungible Store asset type? It would also allow creating multiple instances based on the prototype, with the prototype dictating which keys are allowed and which are required. (Probably not, the instances would not be identical even if they had similar keys; fungibility implies interchangeability) |
AssetValueType
inconsistenciesAssetType
inconsistencies
I propose the following names:
Names would be shorter, and there would no longer be confusion between assets and asset definitions. |
Let me comment on specific statements,
Does not provide enough clarity how to handle |
Separating |
Alright, just make sure the further step is implemented within the same release so that there is no excessive overhead propagated to SDKs 😃 |
Feature request
There are several value types for assets exist:
Basically just
Numeric
andStore
.Although:
Transfer
,Mint
andBurn
assets of typeNumeric
, but not assets of typeStore
SetKetValue
andRemoveKeyValue
in relation to aStore
asset, but notNumeric
oneOnce
/Infinitely
mintability makes little sense since it does not affectStore
assets at allStore
asset cannot be destroyed, there will be empty metadata container in the endMotivation
Current situation hardly can show
Store
andNumeric
assets being just a type of the same entity. They feel totally different entities.I'd support either enabling the same set of instructions to be applicable to any asset with meaningful outcome or make
Store
asset something different than an asset. In the latter case an adjustment to enable deleting that somehow would be still worth considering.Who can help?
No response
The text was updated successfully, but these errors were encountered: