-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Description
Currently, every transaction in the CLI outputs only the tx hash with a small amount of metadata regarding the execution. To improve the visibility of other details without requiring the user to visit an explorer, the CLI can enhance the output by displaying more information in the tx response.
Technical Details
Current output of the contracts execute command:
$ archway contracts execute increment --from deployer --args '{ "increment": {} }'
Executing contract increment
Chain: constantine-3
Signer: deployer
✅ Executed contract increment-0.2.0
Transaction: 632FCC96D8FCBDE2838DD301DEE38CF9DA8B593380FBD5E65B057D2907DC13C3Expected output:
The
view in the explorershould link to the first explorer'stx_pageavailable in the chain registry file and displayed only in terminals with hyperlink support.
$ archway contracts execute increment --from deployer --args '{ "increment": {} }'
Executing contract increment
Chain: constantine-3
Signer: deployer
✅ Executed contract increment-0.2.0
Transaction ([view in the explorer])
632FCC96D8FCBDE2838DD301DEE38CF9DA8B593380FBD5E65B057D2907DC13C3
Block: 32852 Gas wanted: 210480
Timestamp: 2023-10-09T17:47:45Z Gas used: 183893
Fee: 0,189432 ARCH (189432000000000000aarch)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request