This question already has an answer here:

Is it possible to persist the chain state of Truffle develop? If my truffle console crash, can I restore the chain state?

marked as duplicate by Richard Horrocks, Ismael, Achala Dissanayake, flygoing, shane Oct 8 '18 at 18:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can create fixtures - i.e. put your dataset in the form of a JS script, similar to truffle based tests, and run it when you start working with your dev environment. This way you'll have something in your blockchain to work with, and won't have to add it manually every time.

Not the answer you're looking for? Browse other questions tagged or ask your own question.