Sentre Legacy
  • 🥳Welcome
  • Getting Started
  • DApp Manifest
  • Folder Structure
  • Available Scripts
  • Development
    • View
    • Model & Controllers
    • Providers
      • UI Provider
      • Wallet Provider
      • Account Provider
      • Mint Provider
    • Static
    • Global variables
    • Configs
  • Advanced Usage
    • ☀️Theme
    • 👘Customizing Styles
    • 🪝Hooks
  • 🤩Submitting DApps
  • References
  • Best Practices
  • Troubleshoots
  • 🎨Design Pricinples
    • Button
    • Card
    • Checkbox
    • Color
    • Corner radius
    • Drawer
    • Dropdown
    • Grid
    • Icons
    • Input
    • List
    • Menu
    • Modal
    • Radio
    • Select
    • Shadow
    • Spacing
    • Switch
    • Tabs
    • Tooltip
    • Table
    • Typography
  • 📄Litepaper
    • Introduction
    • Industry Problems
    • Sentre: An All-in-one Solution
      • The Open Protocol
      • Liquidity Efficiency
    • SEN as the Heart of the Ecosystem
      • Asymmetric Deposit
      • Adaptive Fee Model
      • The Triad Pool
      • Simulated Mesh Trading
      • Token Use Cases
    • Conclusion
Powered by GitBook
On this page
  1. Development

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.

Logo

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

PreviousMint ProviderNextGlobal variables

Last updated 2 years ago

For .

markdown quick references