rickyseezy / blockchain-indexes

Simple server to interact with Ethereum Blockchain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain Indexes App

Simple server to interact with Ethereum Blockchain.

Installation

Install dependencies

go mod download

Binding contract

make generate@contract

Usage

Start server

You can start the server with the following command

make start

or with hot reload

modd

or with docker-compose (hot reload available in dev mode)

make start@docker

The server should be available at localhost:8080, you'll find the API specs and documentation at localhost:8080/swagger/index.html.

Tests

Run tests

make tests

Generate doc

make generate@doc

Going further 💭

  • Add more tests (units/functional)
  • Add a CI/CD (e.g: GitHub Actions)
  • More .. (Always 😅)

About

Simple server to interact with Ethereum Blockchain.


Languages

Language:Go 96.3%Language:Dockerfile 1.8%Language:Shell 1.0%Language:Makefile 0.9%