Static

Metadata for DApps

Static assets include icons, panels, readme, etc., which build your DApps appearance to users on the Sen Store and also on the user's dashboard.

// ./src/static.app.tsx

import panel1 from 'app/static/images/panel1.png'
import panel2 from 'app/static/images/panel2.png'
import panel3 from 'app/static/images/panel3.png'

export const panels = [panel1, panel2, panel3]
export { default as logo } from 'app/static/images/logo.png'
export { default as readme } from 'app/static/docs/README.md'

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

We highly recommend the size 256x256 pixels with a 60 border-radius for Logo.

Panels

The panels usually appear 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 a deep look such as introduction, guidelines, technical explanation, etc., about the DApp. The readme must be written under the format of markdown and exported in the static file.

Property
Spec

Format

markdown

Last updated