{"id":15923933,"url":"https://github.com/parithosh/ethereum-event-viewer","last_synced_at":"2025-06-19T21:34:07.275Z","repository":{"id":105041171,"uuid":"141021885","full_name":"parithosh/ethereum-event-viewer","owner":"parithosh","description":"Used to check the events occurring in unsealBid function of the ENS contract, can be abstracted to see events from any contract","archived":false,"fork":false,"pushed_at":"2018-07-15T17:30:54.000Z","size":8584,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T12:52:51.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parithosh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-15T11:28:29.000Z","updated_at":"2018-07-15T17:30:55.000Z","dependencies_parsed_at":"2023-12-01T10:15:11.988Z","dependency_job_id":null,"html_url":"https://github.com/parithosh/ethereum-event-viewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parithosh/ethereum-event-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fethereum-event-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fethereum-event-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fethereum-event-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fethereum-event-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parithosh","download_url":"https://codeload.github.com/parithosh/ethereum-event-viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fethereum-event-viewer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260835954,"owners_count":23070383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T21:03:09.810Z","updated_at":"2025-06-19T21:34:02.252Z","avatar_url":"https://github.com/parithosh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ENS event visualizer:\n===================================\n\n write a test application to investigate or list or visualize the ENS contract events of\n the past (e.g. the last 1 or 2 days). focussing in particular on the bid revelation event:  \n\t\u003cspace\u003e\t unsealBid(bytes32 _hash, uint256 _value, bytes32 _salt)  \n\n## Task definition:   \n    -Test application to read,list and visualize ENS contract events   \n    -Duration/scope: 1 or 2 days. Find a way to convert time range into block range needed by web3 filters(Maybe add a toggle option to increase this for a later version)   \n    -Focus on unsealbid events  \n    -Check if node is synced or not  \n    -Have a UI for interactions, any GUI (choose to attempt webapp with node, modifying old project code for quick iterations)  \n    \nNote: The ethereum address of the ENS-Registrar Contract is: 0x6090A6e47849629b7245Dfa1Ca21D94cd15878Ef  \n\n## Instructions:  \n    -Clone the github repo  \n    -Run index.html on a browser of your choice  \n    -Click on the block number desired to get more information  \n    -Hit reload at the bottom of the page to reload and include the latest blocks  \n\n## Experience:  \n    -Had some issues with syncing node, slow internet delayed some progress.Try and schedule this for the night from next time    \n    -Having a look a the ENS contract, the unsealBid function sends out the event BidRevelead. But the cancelBid function also sends out the event. Scope of task seems to be to focus on unsealBid's revelation event. Look into it in case any obvious mistake was made, else try and find a workaround/accept as a constraint    \n    -Had some issues with the code, which seemed to be due to following the wrong version of web3. Make sure you check before deep diving into solving errors    \n    -Needed to find a way to convert utc or dates into block ranges. solution: find latest block, and subtract 86400/average_block_time   \n    -Settled for a local copy of web3.min.js, usually npm would handle the web3 installation and locate it in the node_modules, but mac osx was giving some errors with the compiler and refusing to install it. Had to use a global pre-compiled version of web3v1.0.0    \n    -Instead of the local copy of web3.min.js, I tried using a CDN source as well, but most cdn sources i could find seemed to be of v0.2 and I have used v1.0.0-beta.34. Functions i have used broke under the earlier build due to changes. decided against this method    \n    -Using materialize from older project to get the view on webapp   \n    -Using etherscan, verified the result, looks to be in order    \n    -Using infura as the web3 provider instead of local, this solution has its limitations with scale and requests, but for this application it should be enough. It adds the advantage that we don't need to worry about node syncing. \n\n## Future work:\n    -Could use a local node, can be achieved by changing the web3 provider. Need to add a check for if the node is synced before proceeding  \n    -Include tests for the system, include tests before webApp runs   \n    -Look at other GUI options, maybe a more visual display of addresses or events  \n    -Make the script push events at intervals, as new events occur on the chain push it onto the webApp  \n    -Enable selection of date range for events,and the events       \n    \n\n## Contact info:  \nFeel free to contact me to discuss any issues, questions, or comments. My contact info can be found on my GitHub page.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparithosh%2Fethereum-event-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparithosh%2Fethereum-event-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparithosh%2Fethereum-event-viewer/lists"}