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
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
# 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
# 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
$ ./scripts/test.sh
$ docker-compose up test
MIT