diff --git a/apps/dashboard/src/app/(app)/(dashboard)/explore/data.ts b/apps/dashboard/src/app/(app)/(dashboard)/explore/data.ts index 48b43feb6c7..ff2945c7c98 100644 --- a/apps/dashboard/src/app/(app)/(dashboard)/explore/data.ts +++ b/apps/dashboard/src/app/(app)/(dashboard)/explore/data.ts @@ -189,6 +189,8 @@ const MODULAR_CONTRACTS = { displayName: "Modular Contracts", id: "modular-contracts", name: "modular", + // DEPRECATED: Modular contracts are no longer shown in explore + showInExplore: false, } satisfies ExploreCategory; const SUPERCHAIN = { @@ -315,6 +317,7 @@ const SMART_WALLET = { const CATEGORIES: Record = { [POPULAR.id]: POPULAR, + // Keep MODULAR_CONTRACTS available for existing users but deprecated from explore [MODULAR_CONTRACTS.id]: MODULAR_CONTRACTS, [SUPERCHAIN.id]: SUPERCHAIN, [NFTS.id]: NFTS, diff --git a/apps/portal/redirects.mjs b/apps/portal/redirects.mjs index be3d0064344..2d6353bea06 100644 --- a/apps/portal/redirects.mjs +++ b/apps/portal/redirects.mjs @@ -749,6 +749,19 @@ const contractRedirects = { "/contracts/DropERC721": "/contracts/explore/pre-built-contracts/nft-drop", "/contracts/DropERC1155": "/contracts/explore/pre-built-contracts/edition-drop", + // DEPRECATED: Pre-built modular contracts redirects + "/contracts/explore/pre-built-modular/token": "/contracts/explore/overview", + "/contracts/explore/pre-built-modular/token-drop": + "/contracts/explore/overview", + "/contracts/explore/pre-built-modular/nft-collection": + "/contracts/explore/overview", + "/contracts/explore/pre-built-modular/nft-drop": + "/contracts/explore/overview", + "/contracts/explore/pre-built-modular/open-edition": + "/contracts/explore/overview", + "/contracts/explore/pre-built-modular/edition": "/contracts/explore/overview", + "/contracts/explore/pre-built-modular/edition-drop": + "/contracts/explore/overview", //design documentation "/contracts/design/Drop": "/contracts/design-docs/drop", "/contracts/design/Marketplace": "/contracts/design-docs/marketplace", diff --git a/apps/portal/src/app/contracts/explore/pre-built-modular/nft-collection/page.mdx b/apps/portal/src/app/contracts/explore/pre-built-modular/nft-collection/page.mdx index 93d522fbd12..9c847a32cd7 100644 --- a/apps/portal/src/app/contracts/explore/pre-built-modular/nft-collection/page.mdx +++ b/apps/portal/src/app/contracts/explore/pre-built-modular/nft-collection/page.mdx @@ -9,6 +9,10 @@ import collectionMintable from '../assets/erc721_mintable.png' # Deploy a modular NFT Collection contract + + Pre-built modular contracts have been deprecated from the Explore section. While this documentation remains available for existing users, we recommend using [standard NFT collection contracts](/contracts/explore/pre-built-contracts/nft-collection) for new deployments. + + The NFT Collection contract creates a unique collection of NFTs based on the ERC-721A standard. NFTs are minted to the creator’s wallet as they are added to the collection. NFTs are still transferable, able to be sold on a marketplace, and perform any other actions as defined by ERC-721A. For advanced use-cases requiring , NFT Collection includes signature-based minting capabilities. diff --git a/apps/portal/src/app/contracts/explore/pre-built-modular/token/page.mdx b/apps/portal/src/app/contracts/explore/pre-built-modular/token/page.mdx index 9a21eef6d1d..9bf1b4d0581 100644 --- a/apps/portal/src/app/contracts/explore/pre-built-modular/token/page.mdx +++ b/apps/portal/src/app/contracts/explore/pre-built-modular/token/page.mdx @@ -10,6 +10,10 @@ import tokenTransferable from '../assets/erc20_transferable.png' # Deploy a modular Token Contract + + Pre-built modular contracts have been deprecated from the Explore section. While this documentation remains available for existing users, we recommend using [standard token contracts](/contracts/explore/pre-built-contracts/token) for new deployments. + + The modular Token contract creates digital currencies and is compliant with the ERC-20 standard. This contract defines a common set of rules for tokens including how they can be transferred, how transactions are approved, and how data about token balances is accessed. diff --git a/apps/portal/src/app/contracts/sidebar.tsx b/apps/portal/src/app/contracts/sidebar.tsx index 7260084cbd7..716d5a07a4b 100644 --- a/apps/portal/src/app/contracts/sidebar.tsx +++ b/apps/portal/src/app/contracts/sidebar.tsx @@ -56,54 +56,56 @@ export const sidebar: SideBar = { href: "/contracts/explore/overview", name: "Overview", }, - { - links: [ - { - links: [ - { - href: `${prebuiltModular}/token`, - name: "Token", - }, - { - href: `${prebuiltModular}/token-drop`, - name: "Token Drop", - }, - ], - name: "ERC-20", - }, - { - links: [ - { - href: `${prebuiltModular}/nft-collection`, - name: "NFT Collection", - }, - { - href: `${prebuiltModular}/nft-drop`, - name: "NFT Drop", - }, - { - href: `${prebuiltModular}/open-edition`, - name: "Open Edition", - }, - ], - name: "ERC-721", - }, - { - links: [ - { - href: `${prebuiltModular}/edition`, - name: "Edition", - }, - { - href: `${prebuiltModular}/edition-drop`, - name: "Edition Drop", - }, - ], - name: "ERC-1155", - }, - ], - name: "Pre-built Modular", - }, + // DEPRECATED: Pre-built Modular contracts have been deprecated from explore + // Keeping framework documentation available but removing pre-built contract references + // { + // links: [ + // { + // links: [ + // { + // href: `${prebuiltModular}/token`, + // name: "Token", + // }, + // { + // href: `${prebuiltModular}/token-drop`, + // name: "Token Drop", + // }, + // ], + // name: "ERC-20", + // }, + // { + // links: [ + // { + // href: `${prebuiltModular}/nft-collection`, + // name: "NFT Collection", + // }, + // { + // href: `${prebuiltModular}/nft-drop`, + // name: "NFT Drop", + // }, + // { + // href: `${prebuiltModular}/open-edition`, + // name: "Open Edition", + // }, + // ], + // name: "ERC-721", + // }, + // { + // links: [ + // { + // href: `${prebuiltModular}/edition`, + // name: "Edition", + // }, + // { + // href: `${prebuiltModular}/edition-drop`, + // name: "Edition Drop", + // }, + // ], + // name: "ERC-1155", + // }, + // ], + // name: "Pre-built Modular", + // }, { links: [ { @@ -444,11 +446,11 @@ export const sidebar: SideBar = { href: `${buildSlug}/get-started`, name: "Get Started", }, - // modular contracts - { - href: `${buildSlug}/modular-contracts`, - name: "Modular Contracts", - }, + // DEPRECATED: Modular contracts deprecated from build section + // { + // href: `${buildSlug}/modular-contracts`, + // name: "Modular Contracts", + // }, // base contracts { href: `${baseContractsSlug}`,