Skip to content

Commit

Permalink
Third6 Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratnesh4193 committed Oct 30, 2023
1 parent 6fc5d39 commit b7a0f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/ethereum/web3.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import Web3 from "web3";
let web3;
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
);
Expand Down
1 change: 0 additions & 1 deletion test/Project.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ describe("Projects", () => {
assert.ok(factory.options.address);
assert.ok(project.options.address);
const data = await factory.methods.deployedProjects(0).call();
console.log(data);
});
// it("marks caller as the project manager", async () => {
// const manager = await project.methods.manager().call();
Expand Down

0 comments on commit b7a0f20

Please sign in to comment.