Closed saimeunt closed 1 month ago
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. To solve this issue, I'd take the following steps:
PS: I will NOT add the search button and; I will NOT handle pagination. I promise to give ONLY high quality code.
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.
As 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.
Hi 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.
To 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.
Indexer for Event Logs:
Decoding Logs:
getLogs
documentation for detailed instructions on retrieving and decoding logs.I 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.
Can I take this? I've worked with a lot of Walnut projects and I'm ready to tackle this issue. In the OP scan project, I was developing token transfers in tx details page (#13 )
To 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. My profile on OnlyDust: https://app.onlydust.com/u/melnikga
I am applying to this issue via OnlyDust platform.
hello @saimeunt let me hop on this issue and get it done
I am a frontend developer
with experience in building and optimizing user interfaces for web applications. My background includes working with javascript
, React
, Typescript
and tailwind css
, which are essential for this project. I have a solid understanding of blockchain technologies
Understand the Requirements:
Review the provided user story and the example from Etherscan
to understand the expected output.
Ensure clarity on the fields required: tx hash, method, block number, timestamp, from, to, type, and item.
Set Up the Project:
Clone the existing project and create a new branch for the feature. Install necessary dependencies and set up the development environment. Fetch Data:
Use the contract address provided to fetch the latest NFT transfer events.
Utilize the ERC721/1155
contract ABI
to decode these events and filter transactions where the to address equals the contract address.
Display Data:
Use the shadcn/ui table component to display the fetched data in a structured format. Ensure the table includes all required fields and is styled to match the project's design guidelines. Enhance User Experience:
Display the NFT image using the token URI provided in the transaction metadata. Ensure the table is responsive and provides a seamless experience across different devices.
Documentation:
Document the code and provide a clear explanation of how to use and extend the feature. Ensure any new dependencies or configurations are noted in the project documentation.
I am applying to this issue via OnlyDust platform.
With 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.
@saimeunt I'm excited about the opportunity to contribute to the Op Scan Project again. Having successfully implemented the block details page during the last ODHack, I was commended for one of the best PRs ( #issue 19 ). I'm keen to bring the same level of quality and dedication to this new task. With my 3 years of solid background in Next.js, TypeScript, Shadcn, and React, I'm very confident that I will deliver an efficient and user-friendly Contract events page.
src/components/pages/contract/events.tsx.
/txs
where applicable to maintain consistency.tx
hash will be a link to the transaction details page.https://optimistic.etherscan.io/address/0xa5f565650890fba1824ee0f21ebbbf660a179934
, and fetch the latest events, then filter out the logs having address equal to the contract address.getLogs
function from viem.sh as mentioned in the resources.getServerSideProps
to fetch the list of events involving the contract, ensuring efficient data loading and SEO benefits.tx hash
, block number
, timestamp
, method
, and decoded logs
.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. Background and Leverage: As a full-stack developer with experience in building scalable and user-friendly web applications, I'm excited to help implement the contract page events feature. My background in software development, particularly with blockchain technologies and web3, has equipped me with the skills to effectively leverage the required resources and technologies.
Approach to the Problem:
Solution: My proposed solution involves researching requirements, choosing an indexer, fetching and filtering logs, displaying the events table, and implementing an MVP.
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!
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
⚠️ Reading contributors guidelines to get assigned is MANDATORY!
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