Skip to content

Indexes the Ethereum blockchain in order to provide the API necessary to build a Light Wallet

License

Notifications You must be signed in to change notification settings

wiringbits/eth-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum Indexer

This app is used to index the Ethereum blockchain in a postgresql database, exposing a REST API with the necessary data to build a light wallet.

As of now, this powers the Ethereum Wallet used by the Stakenet DEX.

Goal

As of now, there are two main APIs exposed (check the routes file for more details):

  • An endpoint that exposes the current USD price based on the info from coinmarketcap, which syncs the price in the background making sure to not consume all the credits.
  • An endpoint to list all the transactions by a given address (including token transfers).

Usage

First of all, make sure to run an Ethereum Node, check install-geth for a way to do so.

Update the application.conf to define the settings for your own environment.

https://sdkman.io is the suggested way to pick the correct Java version to run the project, then:

  • sbt compile compiles the app.
  • sbt test runs the tests.
  • sbt run runs the app.

About

Indexes the Ethereum blockchain in order to provide the API necessary to build a Light Wallet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages