> For the complete documentation index, see [llms.txt](https://dev-docs.dcentwallet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev-docs.dcentwallet.com/dwc/test-environment.md).

# Test Environment

**1. Set up example dapp environment.**

* Build the environment to run the example dapp.

{% embed url="<https://github.com/DcentWallet/dwc-example-dapp>" %}

* Download the related package.

```typescript
npm install
```

* Run the example dapp.

```typescript
npm run start
```

#### 2. Make sure to build the https environment in order to run and test the example dapp in the local environment.

* Download it from ngrok.

{% embed url="<https://ngrok.com/download>" %}

```
ngrok config add-authtoken YOUR TOKEN
ngrok http YOUR PORT

// success //
ngrok                                                                                                                                                         (Ctrl+C to quit)

Session Status                online
Account                       inconshreveable (Plan: Free)
Version                       3.0.0
Region                        United States (us)
Latency                       78.006541ms
Web Interface                 http://127.0.0.1:4040
Forwarding                    https://84c5df439d74.ngrok.io -> http://localhost:8000
```

#### 3. The real development test is available on the page below.

{% embed url="<https://dcentwallet.github.io/dwc-example-dapp/>" %}
