kodadot / nft-gallery

Generative Art Marketplace
https://koda.art
MIT License
640 stars 361 forks source link

Use Squid in drops #7031

Open vikiival opened 1 year ago

vikiival commented 1 year ago

What happened?

Currently drops are hardcoded and it would be nice to use API

Please reproduce in steps

  1. Open /drops
  2. See nothing

Expected Behavior

It would be nice to dynamically fetch the data from Squid API.

Which collections are drop? those with type Public and HolderOf

I will expand once the issue is done

What browsers are you seeing the problem on?

No response

At which address did you encounter bug?

No response

Are you logged in?

None

Which wallet you are using?

No response

Screenshots

Blocked by - https://github.com/kodadot/stick/issues/88

Relevant log output

No response

Payment link for reward

https://kodadot.xyz/ksm/transfer/?target=%3CMy_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address%3E

Code of Conduct

Jarsen136 commented 1 year ago

Please reproduce in steps

  1. Open /drops
  2. See nothing

It has been fixed on the canary env based on the current implementation. https://canary.kodadot.xyz/ahk/drops ref: https://github.com/kodadot/nft-gallery/pull/6994

Expected Behavior

It would be nice to dynamically fetch the data from Squid API.

Anyway, this solution is better to avoid similar issues in the future.

roiLeo commented 9 months ago

Soon, waiting for kodadot/stick#194