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

Transaction Presets or History #111

Open
sambarnes opened this issue Jan 16, 2023 · 2 comments
Open

Transaction Presets or History #111

sambarnes opened this issue Jan 16, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@sambarnes
Copy link
Contributor

sambarnes commented Jan 16, 2023

Describe the bug feature

Don't know if this would be out of scope or not, but your tweet a while back made me think about the difference between the two styles:

image

In general, I like the structured & strongly typed inputs much more. However a solid benefit in Etherscan style is being able to easily store presets in a text file and paste in the whole thing in one go. Something that's a lot more manual in blacksmith rn

I was thinking some sort of presets/bookmarks for recent calls made. Thoughts?

Curious if the "postman-for-contract-dev" is the route you're aiming for with the project? Or if it's more trying to target the scaffold-eth style of being a template/foundation to build your dapp off of? I imagine the functionality could be useful in either, but implementation different depending on usecase.

@sambarnes sambarnes added the bug Something isn't working label Jan 16, 2023
@unholypanda
Copy link
Member

@sambarnes thanks for taking the time to write this up and sorry for the slow response!

However a solid benefit in Etherscan style is being able to easily store presets in a text file and paste in the whole thing in one go. Something that's a lot more manual in blacksmith rn

+1 I've been brainstorming different solutions to this problem for a while now, mostly from a UI/UX perspective. I really like your idea of "presets/bookmarks for recent calls made". I hadn't considered that and I think it could live alongside other solutions I had in mind. The trickiest part of this might be figuring out where this lives in the user interface. At one point in time I had a bottom drawer similar to the browser devtools where I intended to have transaction history, but I was encountering quite a few design limitations and decided to remove it for the initial release.

Curious if the "postman-for-contract-dev" is the route you're aiming for with the project

This aligns more with the long-term vision I had for Blacksmith, and I really like the framing of this as Postman for contract development.

Thanks for raising this question, its making me realize that I should probably document my roadmap for Blacksmith somewhere (possibly in the GitHub Discussions section of the repo).

Also for the sake of consistency and triaging purposes I'm going to label this as enhancement rather than bug.

@unholypanda unholypanda added enhancement New feature or request and removed bug Something isn't working labels Jan 18, 2023
@sambarnes
Copy link
Contributor Author

and sorry for the slow response!

heh no worries at all! you've been super timely 🙏

The trickiest part of this might be figuring out where this lives in the user interface. At one point in time I had a bottom drawer similar to the browser devtools where I intended to have transaction history, but I was encountering quite a few design limitations and decided to remove it for the initial release.

yeah i was struggling to imagine exactly where it would live too -- initial thought was a second list in the side bar section, but felt that leaks kinda far outside of where transactions are made, so probably not great

best i could guess was some sort of dropdown inside a given method signature, organizing the presets under the relevant method... but I'm far from a good frontend/ux dev so its literally just a guess :)

I should probably document my roadmap for Blacksmith somewhere (possibly in the GitHub Discussions section of the repo).

would love to hear more of your thoughts on this, will be on the lookout for it!

A web3 postman definitely feels like an unfilled niche. I think the foundry x wagmi collab is supposed to be for bootstrapping dapps vs being a devtool, right? With that coming out sometime soonish, it'd probs be useful to lay out what blacksmith is/isn't, or where it can supplement other tooling.


ahh and yep i was looking to do an enhancement label but only saw bug/vuln in the new issue menu, completely missed the blank issue footnote

"Don’t see your issue here? Open a blank issue."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants