From 12203d5372ebe4dc6e2a9e6b8b4f5e0cac4a1c0f Mon Sep 17 00:00:00 2001 From: Ori Pomerantz Date: Tue, 30 Apr 2024 12:20:53 -0500 Subject: [PATCH] WIP --- templates/supportedChains.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/supportedChains.ts diff --git a/templates/supportedChains.ts b/templates/supportedChains.ts new file mode 100644 index 0000000000..5251ff8f96 --- /dev/null +++ b/templates/supportedChains.ts @@ -0,0 +1,19 @@ +/* + * The supported chains. + * By default, there are only two chains here: + * + * - mudFoundry, the chain running on anvil that pnpm dev + * starts by default. It is similar to the viem anvil chain + * (see https://viem.sh/docs/clients/test.html), but with the + * basefee set to zero to avoid transaction fees. + * - latticeTestnet, our public test network. + * + */ + +import { MUDChain, latticeTestnet, mudFoundry, redstone, garnet } from "@latticexyz/common/chains"; + +/* + * See https://mud.dev/tutorials/minimal/deploy#run-the-user-interface + * for instructions on how to add networks. + */ +export const supportedChains: MUDChain[] = [mudFoundry, latticeTestnet, redstone, garnet];