Skip to content
Simple and Secure Crypto Payments Gateway
Branch: master
Clone or download
Latest commit 5498f50 Jul 12, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
img Initial release Jul 11, 2019
HubApi.standalone.umd.js Initial commit Jul 6, 2019
LICENSE Create LICENSE Jul 11, 2019 Update Jul 11, 2019
favicon.ico Initial release Jul 11, 2019
index.html Initial release Jul 11, 2019
meekrodb.2.3.class.php Initial commit Jul 6, 2019
nimipay.css Initial release Jul 11, 2019
nimipay.js Initial release Jul 11, 2019
nimipay.php Comments Jul 11, 2019
nimipay.sql Initial commit Jul 6, 2019
nimipay_auth.php Initial commit Jul 6, 2019
np.0.1.min.css Initial release Jul 11, 2019
np.0.1.min.js Initial release Jul 11, 2019
reef.min.js Initial commit Jul 6, 2019

Nimipay - Simple and Flexible Payments Gateway


Nimipay creates an overlayed UI for the interaction with the user's NIM wallet, shopping cart, and items.

It also creates a new record in the database, using the user's wallet address as the unique identifier for the user's data.

With the help of the new Nimiq Hub API, the UI allows the user to pay for invoices. Then the transaction hash is returned for the backend validation. After the transaction is confirmed, the user receives a new item. It can then be seen under the Items tab.

Being a modal window, Nimipay is shown on top of any website, and without the need to re-design the website in order to integrate a webshop.

Nimipay is all-in-one, but lightweight (~30 kb). To make it possible, some rough simplifications were made. The code is vanilla JavaScript/PHP, you can extend and customize it.

The app is experimental. Use it at your own risk.

Front-end nimipay.js

  • Reef.js (4kb) anti-framework for reactive UI components
  • Nimiq Hub API for simple payments processing

The total Nimipay javascript bundle is ~30 kb and a few kb of CSS.

Back-end nimipay.php

  • MeekroDB PHP library for simple and secure MySQL queries

For the database structure, use nimipay.sql

Quickstart and examples



Report issues in issue tracker.


Feel free to make a pull request or suggest ideas.

You can’t perform that action at this time.