-
Notifications
You must be signed in to change notification settings - Fork 74
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
Decompile ABI using a heimdall-rs backend #71
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
linkt to the commit chrome_f7qVMPHw5d.mp4I am aware this is a bad practice, and will try to fix it asap! Also, lmk if you know any easier/cleaner way of doing this, I feel like I have one in my head somewhere but can't recall it... |
Good job @portdeveloper incorporating heimdall-rs into abi.ninja!! 👾 Last week in London we reviewed the new workflow a bit, and I think we could get some designer help to simplify the UI to make it a bit smoother. Asked Andrea for help and she is going to play a bit in figma to propose a way to simplify it. As soon as we get the design I'll send it to review 🙌 |
Andrea sent us the new UI/UX proposal, let me know what do you think @portdeveloper ! 🙌 The workflow would be something like this:
We have those design proposals for the "contract not verified" window. I personally like option 1 and 3, probably 1 is the simplest. I think we can leave network dropdown styles as they are right now for simplicity, don't need to follow the design 100%. |
wBQO95Y5d8.mp4Updated the UI according to Andrea's design, but merging the current styles with hers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job @portdeveloper !! With the new UI this PR is looking awesome. Did a first round of testing, these are my notes:
- Check alignment of the header section from the new screen (Heimdall & Import ABI), specially on mobile. "Go back", small logo and network dropdown should be aligned.
- Network dropdown in the new screen should be the same you selected in the homepage search.
- I think we should disable network dropdown in the new screen, does not make sense to change it there. I see it just informative of what you just searched in the previous screen.
- Remove notification error message when not verified, we already giving all the feedback with the new screen.
- When we access a contract through a URL (/contractAddress/chainId), and the contract is not verified, should we load the new screen instead of showing a not verified error? => If we see this interesting, can create a new issue to tackle it in a future PR, I wouldn't tackle now.
Tomorrow I'll try to review more in depth 🙌.
My test contract in case it's useful for anyone: sepoliaUnverifiedContract.txt
@technophile-04 |
I think we are just only waiting on this right ? Because it looks really great for first iteration ! Also @portdeveloper could you please resolve conflicts in |
Thanks for reminding me the conflicts! Here is the repo for the backend, I use fly.io for deployment so a simple |
🫡 Thanks Port! I'll do this during the week. I'll hit you up If I have any issues. There is still a conflict in |
Sorry about the conflicts 😢 , fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just deployed the BG instance of gulltoppr
to fly.dev!
https://heimdall-abi-ninja.fly.dev/1/0x6B175474E89094C44Da98b954EedeAC495271d0F
Could you check that everything is working as expected?
Also left a review comment.
Just added the envar to Vercel. When you guys feel that is ready.... feel free to merge!! |
Tested it nicely and working great !!!! Unverfied contract on baseSepolia : 0xFB30C0790128b97e3aC540E6124e512E37c47D00 (Heimdall Working) Obviously, I think it won't be able to decode each and every contract but its 60% of time able to do so on my random testing Will, merge this probably tomorrow 🙌 |
Been testing it, looks good to me!!
|
Description
This PR:
chrome_HtHKY3NP0p.mp4
ToDo - Improvements
Additional Information
Related Issues
_Closes #63
Note: If your changes are small and straightforward, you may skip the creation of an issue beforehand and remove this section. However, for medium-to-large changes, it is recommended to have an open issue for discussion and approval prior to submitting a pull request.
Your ENS/address: