Open brenzi opened 3 years ago
@Alirazadar may I ask you to comment on option 1? How long would you need for this? I believe this would be the leanest solution.
This will allow to add the following features to the crowdloan page:
@Alirazadar one more reason to use a proper database:
@brenzi yes, understandable. I will have a look at both options. Thank you for explaining!
please consider #37 which may require our own database (not necessarily indexing ourselves, we could still use subscan for this, but cache the data in our own db
we will first migrate to a stateful webpage with a mysql db and then come back to this
Loading all the contribution history dynamically is too slow.
option 1: manual, file-based cache
We could have a hard-coded cache of previous contributions committed to the GH repo in regular intervals manually or maybe even with a scheduled GH action
The page should then pre-populate the list of contributions from the cache and load recent contributions dynamically
option 2: index contributions ourselves
by scanning Kusama ourselves and maintaining our own database (possibly using polkascan code?)