diff --git a/src/ethereum/web3.js b/src/ethereum/web3.js index 465fca6..71eac7d 100644 --- a/src/ethereum/web3.js +++ b/src/ethereum/web3.js @@ -4,10 +4,12 @@ if (window.web3 !== undefined) { console.log("MetaMask Account present"); web3 = new Web3(window.web3.currentProvider); } else { - console.log("No MetaMask Account present. Please install metamask."); const provider = new Web3.providers.HttpProvider( process.env.REACT_APP_SEPOLIA ); web3 = new Web3(provider); + console.log("No MetaMask Account present. Please install metamask."); + console.log(process.env.REACT_APP_SEPOLIA); + console.log(web3); } export default web3;