Nounspace / nounspace.ts

The nounspace web client
https://nounspace.com
GNU General Public License v3.0
11 stars 10 forks source link

Image Fidget: Add ‘Import NFT’ inputs to Image Fidget Settings #493

Open willyogo opened 1 week ago

willyogo commented 1 week ago

AC:

  1. If ‘Import NFT’ is selected in the conditional dropdown, users can input the following required parameters to display any NFT A. Network dropdown: Ethereum, Polygon, Arbitrum, Optimism, Avalanche C-Chain, Starknet, Base, Polygon zkEVM, zkSync, and ZetaChain B. Contract address C. Token ID
  2. If a user inputs valid details for an NFT that contains an image or video, the image or video is displayed in the image Fidget
  3. If an NFT cannot be detected with the details provided, display error message “Error fetching image from NFT. Make sure the Network, Contract Address, and Token ID are all correct.”
  4. User can input RedirectionURL

Use alchemy to get the metadata on imported NFTs: https://docs.alchemy.com/reference/getnftmetadata-v3