TransWikia.com

How to reset private ethereum blockchain (Geth)?

Ethereum Asked by Ruchita on August 10, 2020

I am running private ethereum blockchain using ethereum and now I want to reset the chain and delete all the contracts, transactions and logs and restart everything from block 0.

What is the best way to do that?

One Answer

Run the private ethereum chain in a docker container... and then you can throw the container or its data and deploy it again in a matter of seconds those are some examples of how to run a private chain with a docker

https://www.freecodecamp.org/news/how-to-run-geth-from-a-docker-container-b6d30620ca74/

https://medium.com/@javahippie/building-a-local-ethereum-network-with-docker-and-geth-5b9326b85f37

https://medium.com/51nodes/build-a-minimal-quorum-network-90c59ec22226

Answered by Majd TL on August 10, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP