module
Version:
v0.0.0-...-9fabe37
Opens a new window with list of versions in this module.
Published: Sep 7, 2023
License: Unlicense
Opens a new window with license information.
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
¶
cmd
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.