Build a cli supports monitoring transactions related to a given account.
- If you don't see the
monitorexecutable, first build it by runninggo installandgo build monitorandmonitor transactionswill list helpmonitor transactions <address>will list all tx of the given address from now on.
This cli is built using go, cli framework cobra and flow go sdk.
- Put the repo to your GOPATH and create a directory for it, for me I put it in hone/go/src/flow/monitor
go getto install dependency, this will install cobra and flow sdk.go installandgo buildto generate the executablemonitor
Some test addresses to use, 0xead892083b3e2c6c, 0xaf141341c08b59e0, 0x05b75c9eb5c80ce0, 0x55ad22f01ef568a1, 0x7b0aac240b2bacda
I'm using 0x55ad22f01ef568a1 since it's pretty active after run monitor, check block explorer to see if every transaction shows in cli.