Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 997 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 997 Bytes

USDT Monitor

ETH Guide

Using go-ethereum for develop eth.
golang api example

Build sol to go file

docker pull ethereum/solc:0.8.4
docker run --rm -v $(pwd)/sol/erc20:/root ethereum/solc:0.4.24 --abi --bin /root/erc20.sol -o /root/build

docker pull ethereum/client-go:alltools-latest
docker run --rm -v $(pwd)/sol/erc20:/root ethereum/client-go:alltools-latest abigen --bin=/root/build/ERC20.bin --abi=/root/build/ERC20.abi --pkg=erc20 --out=/root/ERC20.go

Polygon Guide

Because Polygon is EVM serise.
So you can reference ETH Guide.

Tron Guide

Add tron proto to submodules
Install protoc-gen-grpc-gateway and copy google proto from golang folder.
Tron RPC List

go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway