0

I want to write a smart contract that gets id numbers as inputs and then retrieve data that are recorded in a database.Is there any specific database for that process.

2
  • Unclear what you're asking! Oct 11, 2019 at 6:16
  • You don't have direct access to components outside of the blockchain like an external database. You have to use an external service like an oracle to retrieve data on your behalf.
    – Ismael
    Oct 11, 2019 at 17:19

1 Answer 1

1

No there is not any database/method to do that. You have to must implement a python script between your deployed smartcontract and SQL database.

1
  • Doesn't have to be Python! Oct 11, 2019 at 12:39

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