Get eth and tokens transactions for explorer.
-
Setup config in file 'app/config/config.go'
-
Add tokens(symbol, contract) in table
tokens
what you want to support -
Build
cd $GOPATH/src/github.com/baihym/go_eth_explorer && go build -o bin_eth_explorer ./app
- Run
./bin_eth_explorer {lastHandleBlockNumber: default 0} // example: ./bin_eth_explorer 0