hey @filip, In my console when I create the instance it is not logged in the console. I am not getting any instance of the contract.
the code is the same as Filip and my Metamask is connected with the localhost. I couldn’t figure it out the problem.
var web3 = new Web3(Web3.givenProvider);
var contractInstance;
$(document).ready(function() {
window.eth_requestAccounts.then(function(accounts){
contractInstance = new web3.eth.Contract(abi, " 0xe987e450Ee116A637DCfae13Ed8e5a142FA00676", {from: accounts[0]});
console.log(contractInstance);
});
})