emeraldpay / dshackle

Fault Tolerant Load Balancer for Ethereum and Bitcoin APIs
Apache License 2.0
298 stars 65 forks source link

Support for Fantom Mainnet #90

Open MysticRyuujin opened 3 years ago

MysticRyuujin commented 3 years ago

In the same spirit of #86 it would be nice to have support for the Fantom network.

They also run a geth clone, so nothing special going on here.

eth_chainId: 0xfa net_version :250

Thanks!

yorickdowne commented 2 years ago

Same story here re clone-chains branch of https://github.com/yorickdowne/eth-docker to spin up an Opera node on Fantom mainnet. cp default.env .env, then edit .env and change the COMPOSE_FILE. In my case I am using opera.yml:ext-network.yml, but an opera-shared.yml could be added easily if the desire is to map RPC/WS ports directly rather than via traefik.

sambacha commented 2 years ago

@MysticRyuujin Fantom to my knowledge does not have any concept of block_difficulty (to my knowledge). As I understand this is one of the inputs used to properly import blocks upon a reorg.

seems @splix already mentioned this https://github.com/emeraldpay/dshackle/pull/103#issuecomment-908744494 👍