Ethereum Solidity With IPFS As Database

How can we integrate IPFS as database with ethereum solidity

AFAIK, it’s impossible now.

There’s no built-in mechanism that would allow smart contracts to communicate with IPFS (or anything outside of Ethereum). To make those two things talk to each other, you need some sort of “glue code” in your application. This is a very simple example implementation in JavaScript: https://github.com/claudiobizzotto/ethereum-ipfs

3 Likes