gas-oracle is project which can sync any evm chain gas fee with a grpc service for cpchain bridge.
Tips:
- need Go 1.23+
- need Postgresql
go mod tidy
cd gas-oracle
make
- yaml config, you can gas-oracle.toml file and config your real env value.
./gas-oracle index -c ./gas-oracle.yaml
./gas-oracle grpc -c ./gas-oracle.yaml
TBD