This repository contains code related to Ethereum blockchain blocks detail store implementation.
$ git clone [email protected]:sachinsmc/ethblock-store.git
$ cd ethblock-store
$ npm i
$ cp .example.env .env
update env values
$ npm start
or
$ node --max-old-space-size=7096 ./bin/www
This will store latest 10k blocks transactions in Mongo DB
Method : GET
ENDPOINT AND HOST : localhost:3002/transactions/0x00cFBbaF7DDB3a1476767101c12a0162e241fbAD
Check using CURL if it works
$ curl -X GET \ http://localhost:3002/transactions/0x00cFBbaF7DDB3a1476767101c12a0162e241fbAD
This returns all the transactions done by user