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];