# Submitting DApps

#### Prerequisite

```
// Build a manifest
npx create-senhub-app manifest
```

You need to run `npx create-senhub-app manifest` to create a manifest file of your DApp first. This file will contain all the needed information for your submission.

```json
// my_app.manifest.json
{
  "url": "https://tuphan-dn.github.io/my-app/index.js",
  "appId": "my_app",
  "name": "My App",
  "author": {
    "name": "Tu Phan",
    "email": "tuphan@descartes.netowkr"
  },
  "tags": [
    "solana",
    "dapps"
  ],
  "description": "A sample project for Sentre developers",
  "verified": false
}
```

#### Publish the repo

To publish the repo (your DApps hosting), you have to change and save the **Source** to the `gh-pages` branch.

![Github Pages](/files/bRSk2R4IAwrErOWtArAp)

#### Submission

1. Fork <https://github.com/DescartesNetwork/senreg>
2. Add your manifest file (e.g. `my_app.manifest.json`) to `src`.
3. Create a pull request to <https://github.com/DescartesNetwork/senreg> for submission.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sentre.io/submitting-dapps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
