Skip to content

Commit

Permalink
Added balance logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yahgwai committed Nov 2, 2023
1 parent afdc5b9 commit c6a5ed9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/genNetwork.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ethers } from "ethers";
import { Wallet, ethers } from "ethers";
import { setupNetworks, config, getSigner } from "../test-ts/testSetup";
import * as fs from "fs";

Expand All @@ -7,6 +7,12 @@ async function main() {
const arbProvider = new ethers.providers.JsonRpcProvider(config.arbUrl);

const ethDeployer = getSigner(ethProvider, config.ethKey);
console.log(await ethDeployer.getBalance());
console.log(
await new Wallet(
"cb5790da63720727af975f42c79f69918580209889225fa7128c92402a6d3a65"
).getBalance()
);
const arbDeployer = getSigner(arbProvider, config.arbKey);

const { l1Network, l2Network } = await setupNetworks(
Expand Down

0 comments on commit c6a5ed9

Please sign in to comment.