ethereum-parser

module
v0.0.0-...-9fabe37 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Unlicense

README

Run from terminal:

$ go run cmd/parserd/*.go -api.port 3000 -rpc.endpoint https://cloudflare-eth.com -workers 2 -interval 10

Run with docker:

$ docker build -f Dockerfile . -t parserd:latest

$ docker run --rm -p 3000:3000 parserd:latest

Test curl:

# Subscribe an address
$ curl -X POST 'http://localhost:3000/subscribe' -d '{"address":"0xf584F8728B874a6a5c7A8d4d387C9aae9172D621"}'

# Get parsed transactions:
$ curl 'http://localhost:3000/transactions?address=0xf584F8728B874a6a5c7A8d4d387C9aae9172D621'

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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