Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmad-maartmesrini/task
https://github.com/ahmad-maartmesrini/task
jest react typescript
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmad-maartmesrini/task
- Owner: Ahmad-Maartmesrini
- License: mit
- Created: 2024-02-23T07:03:03.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-09T17:08:26.000Z (11 months ago)
- Last Synced: 2024-10-24T09:12:57.919Z (3 months ago)
- Topics: jest, react, typescript
- Language: TypeScript
- Homepage: https://task-two-zeta.vercel.app
- Size: 684 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Ethereum Block and USDT Balance Fetcher**
---
### Overview
This GitHub project serves as a solution for a technical task assigned by (Confidential). The task primarily involves fetching the last block number of the Ethereum mainnet and displaying the USDT balance of a provided Ethereum address.
### Features
- Fetches the last block number of the Ethereum mainnet using Alchemy SDK.
- Retrieves the USDT balance of the provided Ethereum address using the Ethereum Scan API key.
- Built using React with TypeScript for a robust and type-safe solution.
- Utilizes React-create-app (RCA) for tooling and Jest for unit testing.### Usage
To run the tests, simply execute the following command:
```
npm run test
```### Learning Experience
Developing this solution provided valuable learning experiences, particularly in TypeScript and unit testing. The use of React-create-app helped in configuring Jest properly for testing, enhancing the overall development process. Along the way, I also learned how to develop NPM packages and created a special npm package that encapsulates the basic functionality.
### Check out the NPM Package
For more details and to explore the NPM package developed for this project, visit the repository at:
[task-package](https://github.com/Ahmad-Maartmesrini/con3x-task-package)
### Acknowledgment
I'm grateful for the opportunity to be involved in blockchain and web3 technologies through this project.
### License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.