appStore Context
Registry Context: Using storekey
Go to Meroku App Home https://app.meroku.org
Go to your .appStore
Go to "context" tab
You will see a "storekey". This storekey will be used as a parameter in all search and listing calls to ensure that only .apps from your context are used.
Example: If your storekey is my-app-store
then the following Search API is to be made.
Featured Sections
Once you have them defined, you can retrieve them using the API call below.
For each featured section, you will see a "Section Key" in the UI. Once you have the section key, you can use that in the storekey
param in the featured sections API calls.
API
Get Featured Sections - https://docs.meroku.store/#/operations/getFeaturedDApps
SDK
Get Featured Sections - FeaturedSectionApi | @merokudao/storekit-sdk
Right now, there's no API to get a list of all featured sections for a .appstore. So you would need to note down the section keys from UI and use them in your .appstore UI at the places you want.
Categories
You can specify your own categories. That way, any .app listing from the Meroku .apps registry will be shown with your category and subcategory instead of Meroku's.
Overriding default images
When we don't have any banner or screenshots of an app, we provide a default image. This default image is Meroku branded. Sometime you would want to override this with your own image. You can do this by checking if the default image URL is one of the following. If they are, then you can override it with your own image.
We serve the CDN urls on our APIs but the registry on chain has IPFS and CDN both. Hence we are sharing both the image urls.
Default Image URLs
IPFS
Banner -
https://bafybeie4nxjjsjsuxsvf7epxwa6i7fckbudrqgy6e6iomlhisehpnor4iq.ipfs.dweb.link/Banner.png
Screenshot -
https://bafybeie4nxjjsjsuxsvf7epxwa6i7fckbudrqgy6e6iomlhisehpnor4iq.ipfs.dweb.link/screenshots.png
Logo -
https://bafybeie4nxjjsjsuxsvf7epxwa6i7fckbudrqgy6e6iomlhisehpnor4iq.ipfs.dweb.link/icon.png
CDN
Banner -
https://dgshe1iny46ip.cloudfront.net/Banner.png
Screenshot -
https://dgshe1iny46ip.cloudfront.net/screenshots.png
Logo -
https://dgshe1iny46ip.cloudfront.net/icon.png
A following code will work
Last updated