Update contract name output in explore command #5

Open
opened 2024-07-03 08:10:34 +00:00 by alexvanin · 0 comments
Owner

After #2, explore command provides name of the contract and invoked method in the notification pane.image

There are two improvements that can be done:

  1. replace address string with script-hash (StringLE) string in contract identification
  2. provide nice-name hints for well-known contracts (native Neo contracts or FrostFS contracts)

Script hashes are usually used to identify contract address, they are used in neo-go invocation, so there is no point in printing contract wallet address.

There are plenty well-known contracts like GAS or NEO contracts, we can provide hints together with contract address with the name of the native contract.

Also consider FrostFS contracts. Monza must check if the environment is FrostFS environment. If so, then provide hints for FrostFS contracts (netmap, container, etc.)

After #2, `explore` command provides name of the contract and invoked method in the notification pane.![image](/attachments/981fe570-55b2-46bf-b0b4-7d88bb8a84a2) There are two improvements that can be done: 1. replace address string with script-hash (StringLE) string in contract identification 2. provide nice-name hints for well-known contracts (native Neo contracts or FrostFS contracts) Script hashes are usually used to identify contract address, they are used in neo-go invocation, so there is no point in printing contract wallet address. There are plenty well-known contracts like GAS or NEO contracts, we can provide hints together with contract address with the name of the native contract. Also consider FrostFS contracts. Monza must check if the environment is FrostFS environment. If so, then provide hints for FrostFS contracts (netmap, container, etc.)
fyrchik added the
good first issue
label 2024-07-03 08:16:51 +00:00
Sign in to join this conversation.
No description provided.