config at the top
diff --git a/index.ts b/index.ts
index 0b5d5a6..24d0391 100644
--- a/index.ts
+++ b/index.ts
@@ -22,7 +22,12 @@ import {
config();
-// CONFIG
+// Put your chain here
+const chain = Goerli;
+// Put your thirdweb API key here (or in .env)
+const thirdwebApiKey = process.env.THIRDWEB_API_KEY as string;
+
+// Factory addresses for each chain
const factories = {
[Goerli.chainId]: "0xaB15553D83b47cac2DDfD8D4753D740e69930834",
[BaseGoerli.chainId]: "0x88d9A32D459BBc7B77fc912d9048926dEd78986B",
@@ -30,11 +35,6 @@ const factories = {
[ScrollAlphaTestnet.chainId]: "0x2eaDAa60dBB74Ead3E20b23E4C5A0Dd789932846",
};
-// Put your chain here
-const chain = Goerli;
-// Put your thirdweb API key here (or in .env)
-const thirdwebApiKey = process.env.THIRDWEB_API_KEY as string;
-
const main = async () => {
try {
const factoryAddress = factories[chain.chainId];
GitHub
sha: f3fb7d012909a2d8ed1acc029fe28eee5956d7bd