iroha icon indicating copy to clipboard operation
iroha copied to clipboard

[suggestion] Genesis: change the Mint behaviour

Open 6r1d opened this issue 2 years ago • 6 comments

Feature request

During our discussion with @Erigara in https://github.com/hyperledger/iroha-2-docs/issues/440, we reached the conclusion Mint is grouping several separate behaviours. If possible, altering its syntax or breaking it down into several similar ISI's could improve the UX.

Context:

Recently, Matías Salimbene asked us about the role of object field in Genesis Mint ISI.

Motivation

  • Improved UX
  • More intuitive command behaviour
  • Easier documentation

Who can help?

@mversic @Erigara

6r1d avatar Nov 30 '23 06:11 6r1d

Might be also relevant for Burn and other operations.

Erigara avatar Nov 30 '23 06:11 Erigara

@mversic what do you think about changing Mint and Burn behaviours?

6r1d avatar Nov 30 '23 06:11 6r1d

Find older issue with opposite proposal #3924

Erigara avatar Nov 30 '23 06:11 Erigara

This proposal is opposite only in case the ISI is broken down. It's not the opposite if the Mint / Burn structures are altered for better UX.

6r1d avatar Nov 30 '23 08:11 6r1d

This might be partly related https://github.com/hyperledger/iroha/issues/4087 and considered together

Mingela avatar Dec 07 '23 09:12 Mingela

@Erigara suggests to dissolve Mint instruction into several separate instructions. Mint<PublicKey> would then become AddPublicKey

mversic avatar Dec 07 '23 12:12 mversic