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

DApp Manifest

In the root folder ./my-app, you can declare your application info by changing default values in .env.local. Let's say we will change it like this:

.env.local

PORT=3000
APP_ID=my_app
APP_NAME=My App
AUTHOR_NAME=Sentre
AUTHOR_EMAIL=hi@sentre.io
TAGS=solana,dapps
DESCRIPTION=A DApp Example
GITHUB=https://tuphan-dn.github.io/my-app

Please replace all tuphan-dn by your username or organization name on Github.

Property
Description

PORT

The port of local hosting. For example, your development host would be http://localhost:3000 if the PORT=3000.

APP_ID

A unique identity for the DApp. It's must strictly follow the APP_NAME. The APP_ID is the lowercase of APP_NAME with all spaces being replaced by underscores. For example, the APP_NAME My App will be converted to my_app for APP_ID.

APP_NAME

The DApp's name, which is used to infer the APP_ID.

AUTHOR_NAME

The author's name. It's could be an individual name or organization name.

AUTHOR_EMAIL

The author's email.

TAGS

Related categories, tags for the DApp. Each will be separated by commas.

DESCRIPTION

A short description of the DApp.

GITHUB

Github Pages url of the DApp.

For submission

npx create-senhub-app manifest
PreviousGetting StartedNextFolder Structure

Last updated 2 years ago

A full manifest for your DApp will be generated in the root folder. You can use it to submit your DApp. See for details.

Submitting DApps