walnuthq / op-scan

Lightweight transaction explorer for the OP Stack.
7 stars 16 forks source link

Token transfers in tx details page #13

Closed saimeunt closed 3 days ago

saimeunt commented 1 week ago

Token transfers in tx details page

⚠️ Reading contributors guidelines to get assigned is MANDATORY!

Read contributors guidelines

User stories

Validation

It should look like the Etherscan token transfers list, eg. https://optimistic.etherscan.io/tx/0x3b680d4727227d6afb35ddf620c3b16e33877f3cc06ec1151a6c45bd167b9f30 For the time being, we will only track ERC20 transfers and display only the token amount and raw addresses from / to / token, you should not compute the amount in $ or try to map the the token address to a list of known tokens. You do not need to compute the net transfers either.

Image

Implementation

You will need to leverage the logs emitted in the transaction and create your list of token transfers from the Transfer events. You should continue the work already done on the basic tx detail page and reuse the description list component.

Resources

melnikga commented 1 week ago

Hi, can I take this?

addegbenga commented 1 week ago

will like to work on this here is my OD hack profile

Dprof-in-tech commented 1 week ago

Hello @saimeunt I am Isaac, a full stack JavaScript developer with a proven record of successful contributions to starknet and of hack projects.

I would love to be assigned to this issue and would be sure to deliver a solution in 2 business days and if there are any blockers I would tender a notice beforehand.

My solution would be to follow the requirements and provide a token transfer page with minimal features as requested.

Take inspiration from the provided link while making sure the user experience is as good as the user interface and deliver in a timely manner.

Below is my Onlydust contribution profile

https://app.onlydust.com/u/Dprof-in-tech

saimeunt commented 1 week ago

Assigning to @melnikga as he is a returning contributor. @Dprof-in-tech Thanks for your interest I will assign to you another similar issue.

Dprof-in-tech commented 1 week ago

Assigning to @melnikga as he is a returning contributor.

@Dprof-in-tech Thanks for your interest I will assign to you another similar issue.

Okay ser