Load a Local Mini App in Nimiq Pay
Use this guide to load any locally running web app inside Nimiq Pay.
Temporary Testing Access
Mini app testing is currently limited to allowlisted users.
- On iOS, share the email associated with your Apple account. Install TestFlight, and the Nimiq Pay test build will appear there once your account is allowlisted.
- On Android, share the email associated with your Google account. You will receive an email when access is enabled.
Prerequisites
- Node.js (version 22+, only if your mini app uses Node.js; the examples in this guide use it)
- Nimiq Pay app installed on a mobile device (or emulator)
- Phone and development machine on the same Wi-Fi network
Start your local app
The commands below assume you're using a Node.js mini app.
- Go to your project directory.
bash
cd my-mini-app- Install dependencies.
bash
npm install- Start the dev server with network access enabled.
bash
npm run dev -- --hostExample:
bash
http://192.168.1.42:5173Open your local app in Nimiq Pay
- Open Nimiq Pay on your phone.
- Go to Mini Apps.
- Enter your network URL in the Custom URL field:
http://<your-ip>:5173.
Your app should load inside Nimiq Pay. You can also test this demo to see a working mini app.
Tutorials
- Build a first mini app: Mini app tutorial
- Build a dual-chain mini app: Build a Dual-Chain Mini App with Nimiq Pay