$ git clone https://github.com/gaozhengxin/eos_balance_tracker.git
Edit config/config.go.
EOS_ACCOUNT
: owner's accountNODEOS
: api path of a nodeos configuratedfilter_on=*
(allowing to retrieve transactions) Rebuild program.
$ cd eos_balance_tracker
$ go build ./server/balance_server.go
$ ./balance_server
For the first time, add flag --reinit=true
.
reinit
: initiate or rebuild database, default falsedbpath
: absolute or relative path of databaseport
: listening port, default 7000
http://0.0.0.0:7000/get_balance?user_key=drefigvhv1ywn2yvjpgnu53extxb1xi4l1