N3developertoolkit / neo3-visual-tracker

Neo N3 blockchain explorer that is directly available within Visual Studio Code for developer usage and development scenarios.
https://marketplace.visualstudio.com/items?itemName=ngd-seattle.neo3-visual-tracker
MIT License
7 stars 11 forks source link

Add a button to copy Big-endian and Little-endian versions of script hash #162

Closed gsmachado closed 1 year ago

gsmachado commented 1 year ago

As a user, I would like to have a way to copy the big-endian and little-endian versions of the script hash.

In our ecosystem, tools use different ways of inputting script hashes -- sometimes big-endian, sometimes little-endian.

Therefore, based on the suggestion of this comment, I propose a super small addition to the smart contract view of the Visual Tracker:

Kapture 2023-05-30 at 10 07 54

☝️ in this view, add a "copy big-endian" and "copy little-endian", or something like this.

I'm not aware if there are other views within the visual code extension where script hashes are displayed. If there are, I would suggest adding the same button ("copy big-endian", "copy little-endian") in these other views.