I have a question regarding Ethereum and DAPP ..
I have a smart contract that basically store a document and I integrated it with a user interface that let the user go to the website and search for that document .. very simple idea.
the problem is and correct me if i'm wrong .. the process of storing the document to the Ethereum blockchain require a gas but the process of getting that document is gasless ..
and I think that the user need to have a wallet to use the website and search for the document .. even if the process does not require any gas
Am I right? because that what I understand
and if I am right .. is there a way where the user can enter and use the website without having to install a wallet or doing anything beside searching for the document that he need?
I'm using web3.js
and i tried this code:
var contract
var addresse = //my contract addresse;
var api = // api ;
contract = new web3.eth.Contract(api, addresse);
but i got :
"Uncaught TypeError: web3.eth.Contract is not a constructor"
web3.eth.Contract
withweb3.eth.contract
and it work but now it say :Uncaught TypeError: Cannot read property 'isEntity' of undefined