import { deployModularContract } from "thirdweb/modules";
const contractAddress = await deployModularContract({
  chain,
  client,
  account,
  core: "ERC20",
  params: {
    name: "MyToken",
    description: "My Token contract",
    symbol: "MT",
  },
  modules: [
    ClaimableERC721.module({
      primarySaleRecipient: "0x...",
    }),
    RoyaltyERC721.module({
      royaltyRecipient: "0x...",
      royaltyBps: 500n,
    }),
  ],
});