https://github.com/xjonathanlei/ethereumbalance
A simple tool for checking ETH and ERC-20 balances at any given time
https://github.com/xjonathanlei/ethereumbalance
Last synced: about 2 months ago
JSON representation
A simple tool for checking ETH and ERC-20 balances at any given time
- Host: GitHub
- URL: https://github.com/xjonathanlei/ethereumbalance
- Owner: xJonathanLEI
- Created: 2018-06-24T03:17:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-24T18:05:07.000Z (about 8 years ago)
- Last Synced: 2025-12-03T03:40:33.359Z (8 months ago)
- Language: C#
- Size: 456 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Ethereum Balance Finder
Finding ETH or any ERC-20 token balance of an address at any **block** is simple enought: just call `getStorageAt()` with the block number. However, a more practical use case would be to find the balance of an address at a given **time**. It sounds easy but unless you keep a full copy of block timestamps, you'd easily get stucked.
This project aims to develop a web-based tool for doing just that, by fecthing and caching the required block infomation *on-demand*.
This repository includes both the server program built with `.NET Core` as well as the client program built with `React`. Once deployed, a user can use the tool just with a browser.
## Using the Tool
Make sure you have `.NET Core Runtime` of at least `v2.0.0` installed:
$ dotnet --version
You don't really need `Node.js` to run the program, as the client would be hosted directly by the `Kestrel` server. However, you'd still need `npm` to restore packages after you clone the repository:
$ npm --version
Clone the repository:
$ git clone https://github.com/xJonathanLEI/EthereumBalance.git
$ cd EthereumBalance
Publish the program:
$ dotnet publish -c Release
$ cd bin/Release/netcoreapp2.0/publish
Run the program:
$ dotnet EthereumBalance.dll