Skip to content

Commit

Permalink
add file
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Mar 19, 2024
1 parent 61ed2bf commit e05bee2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Common } from "@ethereumjs/common";
import { ethers } from "ethers";
import Web3 from "web3";

const config = {
chainId: 11155111,
// providerUrl: "https://rpc.sepolia.ethpandaops.io",
// providerUrl: "https://sepolia.gateway.tenderly.co",
providerUrl: "https://rpc2.sepolia.org",
chain: "sepolia",
};

export const web3 = new Web3(config.providerUrl);
export const common = new Common({ chain: config.chain });
export const provider = new ethers.JsonRpcProvider(
config.providerUrl,
config.chainId
);

0 comments on commit e05bee2

Please sign in to comment.