https://github.com/iamsushantk/ethereum-explorer
Angular app that allows users to search an Ethereum block for all the transactions associated with a block or an address within a block and return the results of the transaction
https://github.com/iamsushantk/ethereum-explorer
angular code-challenge ethereum
Last synced: about 1 month ago
JSON representation
Angular app that allows users to search an Ethereum block for all the transactions associated with a block or an address within a block and return the results of the transaction
- Host: GitHub
- URL: https://github.com/iamsushantk/ethereum-explorer
- Owner: iamsushantk
- License: mit
- Created: 2023-05-12T07:16:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-23T02:26:02.000Z (over 2 years ago)
- Last Synced: 2025-03-24T09:14:23.374Z (about 1 year ago)
- Topics: angular, code-challenge, ethereum
- Language: TypeScript
- Homepage:
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ethereum Explorer
The application allows users to search an Ethereum block for all the transactions associated with a block or an address within a block and return the results of the transaction.
## Development
### Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
### Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
### Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
### Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
### Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Usage
The following screen shows the transactions for a given block number.

## Important notes
For local testing of the app, run the local version of API (refer Ethereum API at https://github.com/iamsushantk/ethereum-api for setup details).
The transaction results are paged for better user experience.
The app uses back end api (refer my another project Ethereum API at https://github.com/iamsushantk/ethereum-api which in turn uses Infura API (refer https://infura.io/docs/ethereum)
Infura API has rate limit imposed (refer https://infura.io/pricing) which may also slow down the processing.