Implement two Ethereum blockchain services
- API service
- Entry point: app/main.go
- Binary file : portto-app
- Ethereum block indexer service
- Entry point: worker/main.go
- Binary file : portto-worker
Here is the steps to run it with docker-compose
# Clone into YOUR $GOPATH/
$ git clone https://github.com/wesgt/ethereum_quiz.git
# move to project
$ cd ethereum_quiz
# Run the application
$ make run
# check if the containers are running
$ docker ps
# Execute the call
$ curl localhost:8080/blocks/16683936
# Stop
$ make stop