Giter Site home page Giter Site logo

eth_thing's Introduction

ETH tracker

Coding exercise for TrustWallet.

The original exercise was very simple but unfortunately also fun, so I went a bit overboard.

The base can be extracted as the eth/eth.go, storage/*.go and the api/parser.go files. (I wonder why are these the ones having unit tests)

The rest is just some fun I had while coding, I launch a goroutine that queries data and uses the redis-like store to keep it, a small http server that exposes it as rest endpoints, and a (not great) webpage that queries everything to tables. I suppose the Parser API's usage is documented in the api/handlers.go file.

To run, just do docker build -t eth_tracker . and docker run -p 8080:8080 eth_tracker, then open the index.html file (doesn't need a server, it's just JS).

Overall I had a lot of fun building this, I gave exposing a real time websocket connection a shot but there's no way I'm implementing that with stdlib only :D

eth_thing's People

Contributors

razorsh4rk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.