https://github.com/iamsushantk/ethereum-api
Backend api for Ethereum Explorer app which uses Infura
https://github.com/iamsushantk/ethereum-api
code-challenge cryptocurrency dotnet ethereum infura-api
Last synced: 2 months ago
JSON representation
Backend api for Ethereum Explorer app which uses Infura
- Host: GitHub
- URL: https://github.com/iamsushantk/ethereum-api
- Owner: iamsushantk
- License: mit
- Created: 2023-05-12T07:16:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-23T00:16:14.000Z (over 1 year ago)
- Last Synced: 2025-01-29T14:44:02.531Z (4 months ago)
- Topics: code-challenge, cryptocurrency, dotnet, ethereum, infura-api
- Language: C#
- Homepage:
- Size: 18.6 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 API
This API internally consumes Infura API (refer https://infura.io/docs/ethereum) to get Ethereum blockchain transactions.
My other project Ethereum Explorer (refer https://github.com/dotsushant/ethereum-explorer) consumes this API to display Ethereum transactions.
## Development setup
|Software|Download Link|
|---|---|
|.NET Core 3.1|https://dotnet.microsoft.com/download|
|Microsoft Visual Studio Professional 2019|https://visualstudio.microsoft.com/downloads/|**Commands below can be executed in the command line mode if Visual Studio IDE is not used**
### Build
Run `dotnet build` to build.
### Running
|OS|Command|
|---|---|
|Windows|`dotnet run --project .\EthereumApi.Web\EthereumApi.Web.csproj`|
|Non-windows|`dotnet run --project ./EthereumApi.Web/EthereumApi.Web.csproj`|### Test
Run `dotnet test` to test.
## Important notes
The transaction results are paged for better user experience.
Infura API has rate limit imposed (refer https://infura.io/pricing) which may also slow down the processing.