📄️ Chains
In packages/common/chains.ts the different Aptos and Movement chains are defined and exported as defaultChains. The file is shared by the Move scripts and the NextJS app, so a chain is configured in one place. The chains the frontend supports are listed in targetNetworks in packages/nextjs/scaffold.config.ts.
📄️ getAllModules
Use this function to get all modules by chainId.
📄️ getModule
Use this function to get a module by name and chainId.