Gravity Node Data Extractor
This package represents working example of Gravity Data Extractor.
docker pull gravityhuborg/gravity-data-extractor:master
You can run SuSy dApp extractor
docker run -itd -p 8090:8090 gravityhuborg/gravity-data-extractor:master
Currently, extractor supports only EVM-chain<->WAVES
direction.
So we in order to add new custom(non-EVM) chain we need to provide 4 additional params
and 2 bridge implementations as well - for direct and reversal swaps.
So, for EVM-based tokens we run --waves-based-to-eth-direct
and --waves-based-to-eth-reverse
.
For WAVES-based tokens we run --eth-based-to-waves-direct
and --eth-based-to-waves-reverse
go build -o data-extractor
./data-extractor --api 'thekey' --pair 'WAVESBTC' --port 8099
go test tests/*.go -v
Ergo extractors are under development. At this moment, we developed erg-erg extractors to test gravity on our network. We add other extractors when all tests passed.