0

How can I access data stored in blockchain database like BigchainDB using a smart contract in Ethereum?

3
  • A smart contract cannot interact with out of chain resources. To achieve that you have to use an oracle or similar. Read this ethereum.stackexchange.com/questions/85178/….
    – Ismael
    Sep 19, 2022 at 15:08
  • Thank you @Ismael Can you point me to appropiate resources because I have no idea where to start.I mean I understood we need to make use of Oracle service but I'm searching for some code snippets that does this ETH contracts and bigchainDB integration.I'm currently working on developing a DApp using BigchainDB as the storage layer so that I can use the DApp for query purposes as well. I know how to integrate smart contract and ipfs(as the storage) but If I use ipfs I may not be able to design a query service using the Dapp. BigchainDB gives us that query facility. Sep 21, 2022 at 7:56
  • It is not that complicated. You can start from here ethereum.stackexchange.com/questions/11589/….
    – Ismael
    Sep 21, 2022 at 13:22

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.