Nounspace / nounspace.ts

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

Image Fidget: ‘Select from Wallet’ inputs for Image Fidget Settings #494

Open willyogo opened 1 week ago

willyogo commented 1 week ago

AC:

  1. If ‘Select from Wallet’ is selected in the conditional dropdown, users can input the following required parameters to display any NFT A. Wallet dropdown: Displays all of the Verified addresses connected to the user’s farcaster account, with primary wallet auto-selected
    B. Network dropdown: Displays all of the supported networks (Ethereum, Polygon, Arbitrum, Optimism, Avalanche C-Chain, Starknet, Base, Polygon zkEVM, zkSync, and ZetaChain) C. NFT selection: Displays a paginated & scrollable grid of the NFTs held by the selected wallet on the selected network. User can click any image to highlight it and display it in the image Fidget.
  2. User can input RedirectionURL

Use neynar to get user's verified addresses: https://docs.neynar.com/reference/user-by-username-v2
Use alchemy to get NFTs held by user: https://docs.alchemy.com/reference/getnftsforowner-v3