deptagency / algomart

Algorand NFT Storefront platform
https://demo.algomart.dev/
MIT License
182 stars 79 forks source link

See listing of NFT for sale in marketplace #212

Open smonn opened 2 years ago

davidjmurphyjr commented 2 years ago

Below are some scoping notes I'd like to review with you, @smonn

Edit: Clarification from review with Simon (marked with emoji)


Listings

Collectible == NFT? ✅

Confirming: No public access to Collectibles, to access...

Assuming: Need to own Collectible to list it ✅

Is there anything stopping a brand from listing a Collectible directly

Always an auction ✅

Listing Fields

Bid Fields

TODO: Code that takes a listing and bids and outputs Activity entries 👉 Consider using a discrete endpoint in the API that returns list of activity, feature is below the fold, could be lazy-loaded

smonn commented 2 years ago

URLs

For the marketplace pages

/marketplace/auctions - for all listings /marketplace/auctions/:collectibleAuctionId - for single listing


For later usage to view any NFT in the AlgoMart site

Option 1

/nft/:collectibleTemplateId - for collectible template /nft/:collectibleTemplateId/:assetId or /nft/:collectibleTemplateId/:edition - for single nft

Option 2

/nft/:assetId - for single nft

davidjmurphyjr commented 2 years ago

I'm trying to reuse the pack auction components where it makes sense. To figure out where it makes sense, I'm comparing the existing implementation of pack auction (pictured below) with the pack auction Figma and the marketplace auction Figma. I talked with Nat, the Figmas were never finished, they have inconsistencies, need a review and some more design time. I'd imagine the pack auction implementation is not final either.

@smonn how would you like me to proceed, put this on hold until the Figmas are final or continue using the draft Figmas and my best judgement?

TODO

Current implementation of an upcoming pack auction

image