kodadot / nft-gallery

Generative Art Marketplace
https://kodadot.xyz
MIT License
612 stars 351 forks source link

View to show how much NFTs we're offseted by KodaDot #2869

Open yangwao opened 2 years ago

yangwao commented 2 years ago

This would be a global view to see how much NFTs were offset in KodaDot

I guess I would like to see

📟 @vikiival can tell what to look for in queries

backlog

bld759 has sent sheet been working back in early 2021 - https://docs.google.com/spreadsheets/d/1Qyn6vIyJ4yMiWej0joYyZd4dM4nv-aOiTtVXDXvm5hA/edit

We can publish data to route https://kodadot.xyz/carbonless/

Ref

roiLeo commented 2 years ago

How do you determine where an nft was minted? (koda vs singular)

vikiival commented 2 years ago

(koda vs singular)

the difference is between the casing of the collection's ID

Minted via KodaDot: 900D19DC7D3C444E4C-KSMBOT

Minted on Singular: 160a6f4320f11acb25-LCKWV

so simple function is to check:

const r = /[a-z]+/
const mintedOnSingular = (id) => r.test(id)