Sentre
Search…
Static
Metadata for DApps
Static assets include icons, panels, readme, etc., which build your DApps appearance to users on the Sen Store and also the user's dashboard.
The folder structure of static is similar to the page or the widget when your static assets will be placed in the static folder and the declaration is in the static file.
1
// ./src/app/static.app.tsx
2
3
import panel1 from 'app/static/images/panel1.png'
4
import panel2 from 'app/static/images/panel2.png'
5
import panel3 from 'app/static/images/panel3.png'
6
7
export const panels = [panel1, panel2, panel3]
8
export { default as logo } from 'app/static/images/logo.png'
9
export { default as readme } from 'app/static/docs/README.md'
Copied!
Currently, to present a DApp, developers can use a logo, panels, and a readme.
The logo is used as an application icon and Window, iOS, or Android. The logo must be exported in the static file.
Property
Spec
Format
image/png, image/jpeg, image/svg
Ratio
1:1

Panel

The panel is a group of panels that usually appears as a slide for DApp introduction in Sen Store. The panel must be exported as an array in the static file.
Property
Spec
Format
image/png, image/jpeg, image/svg
Ratio
4:3

Readme

The readme will give users an deep look such as introduction, guideline, technical explanation, etc., about the DApp. The readme must be written under format of markdown and exported in the static file.
Property
Spec
Format
markdown
Copy link
Contents