IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.06k stars 720 forks source link

[FR] - `cardano-cli` support non-UTF8 TokenName #3114

Closed longngn closed 2 years ago

longngn commented 3 years ago

Internal/External External

Area Alonzo

Describe the feature you'd like Currently, cardano-cli doesn't support non-UTF8 TokenName as an arg input in its syntax, as well as displaying non-UTF8 TokenName (see: https://github.com/input-output-hk/cardano-node/issues/2999) With Alonzo coming soon, encoding information in TokenName in raw bytes will become popular, so I think it's a good idea to support building/displaying it with cardano-cli as hex-encoded ByteString. My idea is to prefix TokenName with 0x, something like policyId.0x.tokenName to tell that the tokenName is hex-encoded.

Describe alternatives you've considered

Additional context / screenshots

gitmachtl commented 2 years ago

was resolved with https://github.com/input-output-hk/cardano-node/pull/3211