# Configs

In the template, the app has already had a manifest config which is to determine the DApp's id, DApp's url based on the runtime environment. For example, the DApp's url is `localhost` in the development environment, however, it will be your [Github Pages](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages) in the production environment.

There are 2 methods to classify you configs. One is based on the runtime environment namely `development` and `production`. The other is based on the Solana network namely `devnet`, `testnet`, and `mainnet`.

## Runtime Environment

```typescript
import { env } from '@sentre/senhub'

// development -> npm start
// production -> npm run build
```

## Solana Network

```typescript
import { net, chainId } from '@sentre/senhub'

// devnet | testnet | mainnet
// 103 | 102 | 101
```


---

# 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/development/configs.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.
