Skip to content

Commit

Permalink
Third7 Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratnesh4193 committed Oct 30, 2023
1 parent 9b22c79 commit 85ca258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ethereum/web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 85ca258

Please sign in to comment.