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

Answered by Majd TL on August 10, 2020

Add your own answers!

Related Questions

Call few contract methods from another contract consistently

1  Asked on August 26, 2021 by dmytro-zarezenko


Using Ganache with an existing MetaMask account

3  Asked on August 26, 2021 by kuyler007


Numerical Value of Bools in Solidity

1  Asked on August 26, 2021 by dansermino


What is a active wallet vs inactive

1  Asked on August 26, 2021 by doug-cutler


How return variable from simple smart contract

1  Asked on August 26, 2021 by lorenzoberti


Transaction mined but state variables aren’t changing

1  Asked on August 26, 2021 by anibis


Modify number of confirmations

2  Asked on August 26, 2021 by sapiensapiens


ganache-cli: how to persist new created accounts

2  Asked on August 26, 2021 by kqueiroz


Error when testing the contract

1  Asked on August 26, 2021 by neha-agarwal


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP