Test Environment
1. Set up example dapp environment.
- Build the environment to run the example dapp.
https://github.com/DcentWallet/dwc-example-dapp
- Download the related package.
npm install
- Run the example dapp.
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.
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