-
Notifications
You must be signed in to change notification settings - Fork 23
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
Contract page events #38
Comments
Hi @saimeunt , Please I will like to be assigned this issue. I am a front-end Developer, and my experience includes html, css, react, JavaScript and TypeScript.
PS: I will NOT add the search button and; Here is my Onlydust profile link https://app.onlydust.com/u/od-hunter . Please give me the opportunity to contribute to this ecosystem. I’ll be able to come up with a PR within 3-5 working days once I am assigned. Please give me the opportunity. Thank you sir. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedAs a Full-Stack Developer with a year of experience, I am well-prepared to contribute effectively to your project. My technical and soft skills have enabled me to successfully complete contributions to Walnut's repositories, demonstrating my ability to deliver high-quality solutions that meet project standards. I am adept at problem-solving and take pride in creating applications that reduce workloads across various departments. My ability to adapt and learn quickly enables me to tackle new challenges effectively and independently, making me highly capable of addressing complex issues and implementing efficient solutions. I am also a member of "Dojo coding," a community where many developers contribute to various projects. This community provides substantial support and knowledge-sharing, enhancing my ability to contribute effectively. Effective communication is one of my strengths. I ensure that my explanations and descriptions are detailed and user-friendly, which has been appreciated by the maintainers I've worked with. My tech stack aligns perfectly with the project's requirements, ensuring a smooth integration and development process. Overall, my skills, experience, and community support make me well-equipped to contribute to your project by resolving issues efficiently and delivering high-quality, impactful solutions. How I plan on tackling this issueRequest for Issue Assignment: Contract Page EventsHi Walnut team, I am excited about the opportunity to work on this issue. I have previously contributed to Walnut's repositories, demonstrating my familiarity with the codebase and commitment to quality. Below, I have outlined a detailed plan on how I will approach and solve this issue. Technical PlanObjectiveTo display a list of events involving a specific contract on its details page, showing transaction hash, block number, timestamp, method, and decoded logs in a table format. Step-by-Step ImplementationUI Component
Fetching Contract Events
Backend Modifications
Frontend Modifications
Validation and Testing
ConclusionI believe my familiarity with the codebase and my detailed approach make me a suitable candidate for this issue. I am confident in delivering a high-quality solution that meets the project's standards. Thank you for considering my request. I look forward to contributing further to Walnut's repositories. Best regards! |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedCan I take this? How I plan on tackling this issueTo implement the table, I will use the Table component from Shadcn, and to get and display the necessary data, I will use the getLogs function. Since I am well familiar with the structure of the project, it will not be difficult for me to do this work. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedhello @saimeunt let me hop on this issue and get it done How I plan on tackling this issueUnderstand the Requirements: Review the provided user story and the example from Clone the existing project and create a new branch for the feature. Use the contract address provided to fetch the latest NFT transfer events. Use the shadcn/ui table component to display the fetched data in a structured format. Display the NFT image using the token URI provided in the transaction metadata. Documentation: Document the code and provide a clear explanation of how to use and extend the feature. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedWith my strong background in Rust, Solidity and JavaScript, I can apply my expertise in solving this issue |
I am applying to this issue via OnlyDust platform. My background and how it can be leveraged@saimeunt How I plan on tackling this issueProposed Solution for Contract Page EventsComponent Creation:
Fetching Data:
Table Structure:
UI Components:
Performance Optimization:
I'm looking forward to the opportunity to implement this feature and contribute to the Op Scan Project's growth. Thank you for considering my proposal. |
Hi @martinvibes & @armandocodecr & @od-hunter ! If you haven't yet done so, please apply to the issue via OnlyDust! It will make it much easier to assign. Maintainers will be assigning through the platform. https://app.onlydust.com/hackathons/odhack-60 |
I am applying to this issue via OnlyDust platform. Approach to the Problem:
Solution: Technical Details:
|
@Blumebee I have done that already ma with the neccessary ways of tackling the issue |
@armandocodecr assigning to you, please make sure to pull the latest commit before starting your work and don't hesitate to reach out to me should you encounter any issues with the project! |
Thanks @saimeunt ! 🚀 |
Hey @armandocodecr it just occurred to me that we're planning to add this library to extract the ABI given a contract address bytecode, I think you will need it to extract the event name and parameters to format it accordingly in the table. |
Perfect, thanks for sharing the library with me! |
Hey @saimeunt ,I am trying to install the library you suggested, but I get the error shown in the image when I try to install it. Am I running the correct command? Or is there something else I need to configure beforehand? |
Contract page events
Read contributors guidelines
User stories
As a user, when I access a contract details page, I want to see the list of events involving this contract.
The events list should be displayed as a table showing tx hash, block number, timestamp, method and decoded logs.
Validation
It should look like the Etherscan contract details events page, eg. https://optimistic.etherscan.io/address/0xa5f565650890fba1824ee0f21ebbbf660a179934#events
Do NOT add the search button.
Do NOT handle pagination for the moment.
Implementation
We will need to use an indexer to retrieve all the logs emitted from a specific contract, to build an MVP of the feature you can use a contract with a lot of events such as https://optimistic.etherscan.io/address/0xa5f565650890fba1824ee0f21ebbbf660a179934 and fetch the latest events then filter out the logs having
address
equal to the contract address.Resources
The text was updated successfully, but these errors were encountered: