Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"PingPongModule#PingPong": "0x9E2CE38C97020eda9F108ddeD27a43c9323C5434"
}
6 changes: 5 additions & 1 deletion contract/ignition/deployments/chain-8453/journal.jsonl

Large diffs are not rendered by default.

30 changes: 0 additions & 30 deletions contract/scripts/estimateDeploy.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
// import hre from "hardhat";


// const ethers = await hre.network.connect();

// async function main() {
// const factory = await ethers.getContractFactory("PingPong");

// const deployTx = await factory.getDeployTransaction();

// const gasUsed = await ethers.provider.estimateGas(deployTx);

// const feeData = await ethers.provider.getFeeData();

// const gasPrice =
// feeData.maxFeePerGas ?? feeData.gasPrice!;

// const costWei = gasUsed * gasPrice;

// console.log("Gas estimate:", gasUsed.toString());
// console.log("Gas price (wei):", gasPrice.toString());
// console.log("Estimated deploy cost (wei):", costWei.toString());
// console.log(
// "Estimated deploy cost (ETH):",
// ethers.formatEther(costWei)
// );
// }

// main();

import hre from "hardhat";

async function main() {
Expand Down
4 changes: 2 additions & 2 deletions contract/scripts/verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

await verifyContract(
{
address: "",
constructorArgs: [],
address: "0x9E2CE38C97020eda9F108ddeD27a43c9323C5434",
// constructorArgs: [],
provider: "etherscan",
},
hre,
Expand Down
2 changes: 2 additions & 0 deletions frontend/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ export const initializeBoard = () => {

return board;
};

export const PING_PONG_CONTRACT_ADDRESS = "0x9E2CE38C97020eda9F108ddeD27a43c9323C5434";