Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dashboard]: Migrate major NFT features to v5 (#3998)
# High level changes - `mint-form.tsx` is "over-abstracted" (not sure if that's the right word) - it's being used for too many different NFT features, making the code hard-to-migrate. - solution: breaking it down to different component which makes it much easier to remove v4 code # to test - [x] UpdateMetadataForm - [x] Drop contracts - [x] Collection contracts - [x] SharedMetadataForm - [x] NFTMintForm - [x] LazyMintForm <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces NFT extensions for ERC721 and ERC1155 contracts, adds a new `updateTokenURI` function, and updates components for NFT minting and metadata management. ### Detailed summary - Added NFT extension with `updateTokenURI` function for ERC721 and ERC1155 contracts - Updated components for NFT minting and metadata management > The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/permissions/components/contract-permission.tsx`, `packages/thirdweb/src/extensions/erc721/write/updateTokenURI.ts`, `packages/thirdweb/src/extensions/erc1155/write/updateTokenURI.ts`, `apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-form.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/lazy-mint-form.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/update-metadata-form.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information