Skip to content

Conversation

Tolujoh-n
Copy link

Objective

I worked on improving the transaction tools, specifically adding support for fetching recent transactions and enhancing the transaction status checking functionality. The goal was to ensure users can efficiently retrieve transaction details, including status, block number, sender/receiver, gas fees, and direct links to BaseScan.

Challenges Faced

While working on this quest, I encountered several issues, including:

Project Setup on Windows: The README lacks detailed setup instructions for Windows users. After following all the steps, the project still failed to run properly. I believe additional dependencies or configurations might be needed.
ES Module vs. CommonJS Issue: Running npm test failed due to ReferenceError: require is not defined in ES module scope. This issue arises because package.json specifies "type": "module", but the script uses require. A possible fix is renaming the script to .cjs or using import.

Suggested Improvements

Update README.md: Provide clearer installation and setup instructions. Coudn't succesfully test after all the readme instruction was followed and successfully acheived.
Fix Module Issues: Ensure compatibility between CommonJS and ES modules to prevent errors when running scripts.

Overview of the Tool I Built

This tool enhances transaction tracking by allowing users to:

Get the recent transactions and status of a specific transaction using a given wallet address.
Retrieve recent transactions made by a user, displaying details such as transaction hash, status, block number, sender, recipient, value, and a direct link to BaseScan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant