Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link transactions to Flowscan in CLI outputs #1791

Open
sisyphusSmiling opened this issue Oct 17, 2024 · 0 comments
Open

Link transactions to Flowscan in CLI outputs #1791

sisyphusSmiling opened this issue Oct 17, 2024 · 0 comments
Labels
Feature A new user feature or a new package API

Comments

@sisyphusSmiling
Copy link
Contributor

Issue To Be Solved

Currently, CLI outputs a transaction hash when sending a transaction and adding/updating a contract. Navigating to a block explorer then requires copying that transaction hash and inputting that hash into Flow's blockexplorer (flowscan.io) which is a highly manual process.

(Optional): Suggest A Solution

Other CLI tools such as Foundry link directly to the transaction or account page on the chosen block explorer. This would be a convenient add-on that improves developer quality of life - simply click on the link in the terminal output to inspect the transaction.

For flowscan (currently the only block explorer for Cadence transactions), URL generation would follow the pattern

https://<network == testnet ? "testnet." : nil>flowscan.io/tx/<TX_ID>
@sisyphusSmiling sisyphusSmiling added the Feature A new user feature or a new package API label Oct 17, 2024
@sisyphusSmiling sisyphusSmiling moved this to 🆕 New in 🌊 Flow 4D Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new user feature or a new package API
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant