erc1155-events

command module
v0.0.0-...-bee63d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 8 Imported by: 0

README

ERC1155-events

ERC1155-events is an application that subscribes to smart contract transfer events and store them. To get transfer events from an Ethereum smart contract address, you have to first add it to a watch list. To add an address in the watch list, please refer to the the API documentation

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Install and Run the Project

# clone the repo
$ git clone https://github.com/rwajon/erc1155-events.git

$ cd erc1155-events

# install go modules
$ go mod download

# run the development server
$ ./scripts/run.sh
using docker & docker compose
# clone the repo
$ git clone https://github.com/rwajon/erc1155-events.git

$ cd erc1155-events

# run the development server
$ docker-compose up dev

After running the server, you can access API documentation at the following address http://localhost:<PORT>/docs/index.html

Running tests

$ ./scripts/test.sh
using docker & docker compose
$ docker-compose up test

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL