I am developing a scraper which scrapes data and puts it on ethereum blockchain(ganache for dev) every week. So as to put this data onto the blockchain should I migrate my smart contract each time I am updating the data?

| improve this question | | | | |


Migration is a one-time deployment event, like launching a ship. Afterwards, the contract is deployed forever.

It's a general question, so I'll give a general answer. Usually, the contract should be designed to accept and record the important information every week.

Hope it helps.

| improve this answer | | | | |
  • How should I pass the data from my scrapper to the smart contract? – Sanket Shevkar Feb 15 at 11:59
  • You build a contract with functions that accept input. – Rob Hitchens Feb 15 at 19:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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