diff --git a/components/collections/actions/Combobox.tsx b/components/collections/actions/Combobox.tsx index d520d6f..733c703 100644 --- a/components/collections/actions/Combobox.tsx +++ b/components/collections/actions/Combobox.tsx @@ -8,7 +8,7 @@ import { FaChevronDown, FaInfoCircle } from 'react-icons/fa' import type { ActionListItem } from './actions' import { BASE_ACTION_LIST, SG721_UPDATABLE_ACTION_LIST, VENDING_ACTION_LIST } from './actions' -export type MinterType = 'base' | 'vending' +export type MinterType = 'base' | 'vending' | 'openEdition' export type Sg721Type = 'updatable' | 'base' export interface ActionsComboboxProps { diff --git a/pages/collections/create.tsx b/pages/collections/create.tsx index 8e41d69..fbc9c6a 100644 --- a/pages/collections/create.tsx +++ b/pages/collections/create.tsx @@ -48,6 +48,7 @@ import { BASE_FACTORY_UPDATABLE_ADDRESS, BLOCK_EXPLORER_URL, NETWORK, + OPEN_EDITION_FACTORY_ADDRESS, SG721_CODE_ID, SG721_UPDATABLE_CODE_ID, STARGAZE_URL, @@ -1289,67 +1290,84 @@ const CollectionCreationPage: NextPage = () => { - {/* To be removed */} - - - - - {/* /To be removed */} - + + - { + setMinterType('vending') + resetReadyFlags() + }} + type="button" > - { - setMinterType('vending') - resetReadyFlags() - }} - type="button" - > - Standard Collection - - A non-appendable collection that facilitates primary market vending machine style minting - - - - - { - setMinterType('base') - resetReadyFlags() - }} - type="button" - > - 1/1 Collection - - An appendable collection that only allows for direct secondary market listing of tokens - - - + Standard Collection + + A non-appendable collection that facilitates primary market vending machine style minting + + + + { + setMinterType('base') + resetReadyFlags() + }} + type="button" + > + 1/1 Collection + + An appendable collection that only allows for direct secondary market listing of tokens + + + + + + { + setMinterType('openEdition') + resetReadyFlags() + }} + type="button" + > + Open Edition Minting + + Allows multiple copies of a single NFT to be minted for a given time interval. + + + + - + {minterType === 'base' && (