Setting up the local chain for development
Usually, We have three choose to run a chain on localhost.
- HardHat - HardHat Network
- Truffle - ganahce
- Foundry - anvil
Generally, we should have chosen anvil. It’s a part of Foundry.
Unfortunately, there were a lot of transitions pending when I used it. From my point of view anvil just is the 0.1.0 version. It will be need more time to develop.
And I want to keep pure in chain end’s project(Not more javascript or npm install
).
Finally, we used the ganahce to run chain on localhost.
The ganahce is very easy to install and setting up. It’s a GUI application.