[Ethereum] How to fork the binance chain

bscganache-cli

How can I have a local copy of the binance chain for use in ganache like to use BNB as default coin instead ETH?

I see here Ganache -f how can I fork the whole chain? that I must provide -f parameter but I don't know exactly how.

By the way… I need a CLI flavor because I'm using Ubuntu server.

Best Answer

Binance provide instructions how to run a full node. Then you can enable http requests and use the localhost endpoint with ganache to fork it.

There's ganache-cli that is headless.

Related Topic