# Nimiq Point of Sale Minimum Viable Product Requeriments

**URL:** <https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551>\
**Category:** Discussion\
**Created:** [January 21, 2020, 2:11am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551 "2020-01-21T02:11:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [January 21, 2020, 2:11am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/1 "2020-01-21T02:11:12Z")

</div>

Imagine you went to your favorite grocery store a couple of days ago and got the owner interested in start accepting crypto payments in a casual conversation 😉

They where able to create their own wallet on the Nimiq website, and now they need something to start processing payments right away. At least until they receive their Salamantex ATM/POS unit that they are going to order.

Maybe they just want something running on their smartphones that works as a POS terminal to process crypto payments because they have an old desktop computer without internet connection using it as the cash register, or they just have a small printing calculator in their local exchange with no desktop computer.

For all those use cases the whole payment process could go something like this:

- The cashier selects the currency for the payment (USD, EUR, etc.) from a calculator built-in in the POS app
- Then she enters the amount for the payment
- Then the cashier clicks a button to show the QR code to the customer and waits for the confirmation to appear on screen
- The customer selects what cryptocurrency he is going to use for the payment and scans the QR code that shows the amount and recipient address on his wallet
- Finally the customer sends the payment to the recipient’s address and the confirmation appears on the screen on the POS app

What requirements would a [minimum viable product](https://en.wikipedia.org/wiki/Minimum_viable_product) (MVP) for a POS app have in your opinion?

Are there any other use cases that you’d like to mention?

I’ll be adding more information in the upcoming days, to give some posible answers to those questions, but I’d love to hear your thoughts on the matter, and what solutions you propose to have a MVP for the crypto POS.

---

<div class="post-metadata">

**Author:** ![Chugwig](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@Chugwig](https://forum.nimiq.community/u/Chugwig)\
**Post date:** [January 22, 2020, 1:11am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/2 "2020-01-22T01:11:13Z")

</div>

I think what’s important is that it’s lightweight and easy to integrate into an existing system. It should handle the payment side and the store shouldn’t have to move their inventory from one system to another.

Ideally I’d want something close to the Square payment systems. Many small businesses use them as it’s a small and simple device that instantly turns your phone into a POS that can accept all cards.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [January 22, 2020, 8:57am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/3 "2020-01-22T08:57:38Z")

</div>

Being Nimiq browser-first, I think a web app with responsive UI capable of running smoothly on low end devices could get us to the MVP quickly, in which case it seems Svelte could get us covered:

> I’ll give you a couple of extreme examples. Last month, a developer in Brazil shared that it’s being used for point of sale systems in Brazil. There are like 200,000 of these devices in the wild. His job is to build this interface for the point of sale system. They’re working with a very outdated version of WebKit on extremely memory constrained and performance constrained hardware.
> 
> They tried a dozen different frameworks and none of them were up to the task. You would press a button on this interface and, half a second later, it would respond, which is kind of an awful user experience because you’re more likely to press that button twice and end up overcharging your customers or something like that. They tried it with Svelte and it worked smoothly, so that is an example of what you can do when you have a framework that has a very, very low memory footprint and very good performance.
> 
> Another example, we have a guy using it in the context of smart televisions, which also tend to be quite constrained devices […]

> **[Episodes](https://shoptalkshow.com/episodes/)**
>
> Visit the post for more.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [January 23, 2020, 7:00am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/4 "2020-01-23T07:00:39Z")

</div>

The POS app doesn’t have to send transactions nor to show the recipient address balance, so it doesn’t need to be connected to the blockchain at all times but only when confirming a payment, besides using some block explorer API would be preferable when using a cellular data connection, or even better a WebSocket connected to some server running a node capable of sending confirmation notifications.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [January 24, 2020, 8:40am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/5 "2020-01-24T08:40:33Z")

</div>

The POS app would need to show to the customer the option to select the coin for the payment instead of it being selected directly by the cashier, so that the option to pay with Nimiq is clearly visible alongside any other options with information about discounts, network fees, etc. if needed.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [February 6, 2020, 10:53am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/6 "2020-02-06T10:53:27Z")

</div>

Here is a [Figma prototype](https://www.figma.com/proto/apWWCqjkcZCCEJtMRAqA8J/Nimiq-POS?node-id=19%3A2&scaling=scale-down) that allows for some basic interaction and shows how the POS app might look like.

And some screenshots:

 ![Screen Shot 2020-02-06 at 6.42.46 AM](https://canada1.discourse-cdn.com/flex054/uploads/nimiq/original/1X/8c1c79d552c18a5507c2f866ef3820003d0b6fd6.png)

This version only supports Nimiq, but it could add support for BTC and ETH too.

Any comment or suggestion is very much appreciated.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [February 10, 2020, 8:36pm UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/7 "2020-02-10T20:36:02Z")

</div>

Here is a [Figma prototype](https://www.figma.com/proto/apWWCqjkcZCCEJtMRAqA8J/Nimiq-POS?node-id=83%3A8&scaling=scale-down) showing a multi-coin POS app.

 ![Screen Shot 2020-02-10 at 4.06.17 PM](https://canada1.discourse-cdn.com/flex054/uploads/nimiq/original/1X/6e227e139bbaa04b7c515839b6809151c7682ead.png)

Something that could be added, besides showing the percentage of discount for Nimiq, is the suggested fee for each coin.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [April 22, 2020, 10:53pm UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/8 "2020-04-22T22:53:16Z")

</div>

To test the Nimiq POS MVP I’ve [put online this PWA](http://spark-testnet.nimizuela.org), it’s based on the open source project [Spark POS](http://github.com/rraallvv/spark-payments-nimiq-webpack). What I did was to modify the POS app to work with the [Nimiq price rates](https://github.com/rraallvv/NimiqRates-API) and to connect to a very basic socket API on the backend that confirm transactions. The app is running on the **Nimiq Testnet** , so only those transactions sent from the testnet are confirmed by the app when processing payments. Please report any issues at the [app repository issue tracker](https://github.com/rraallvv/spark-payments-nimiq-webpack/issues).

---

<div class="post-metadata">

**Author:** ![Pissent](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/pissent/32/422_2.png) [@Pissent](https://forum.nimiq.community/u/Pissent)\
**Post date:** [April 23, 2020, 7:53am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/9 "2020-04-23T07:53:32Z")

</div>

Will be great to have ATM card Nimiq will be perfect.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [June 6, 2020, 6:52am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/10 "2020-06-06T06:52:08Z")

</div>

I just finished the new version of the app, which is built with Svelte. It’s still running on the Testnet, you can try it out [here](http://spark-testnet.nimizuela.org). Please report any issues you might encounter [here](https://github.com/rraallvv/spark-payments-nimiq-webpack/issues).

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [June 16, 2020, 4:35am UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/11 "2020-06-16T04:35:08Z")

</div>

Here is a video showing how to use the point-of-sale app.

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [June 16, 2020, 7:56pm UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/12 "2020-06-16T19:56:47Z")

</div>

Another video showing off the app on a mobile device

---

<div class="post-metadata">

**Author:** ![rraallvv](https://yyz2.discourse-cdn.com/flex054/user_avatar/forum.nimiq.community/rraallvv/32/24_2.png) [@rraallvv](https://forum.nimiq.community/u/rraallvv)\
**Post date:** [June 21, 2020, 1:47pm UTC](https://forum.nimiq.community/t/nimiq-point-of-sale-minimum-viable-product-requeriments/551/13 "2020-06-21T13:47:53Z")

</div>

Now the point-of-sale app shows the Nimiq identicon in the QR-code

 ![Screenshot_2020-06-21-07-35-01](https://canada1.discourse-cdn.com/flex054/uploads/nimiq/original/1X/6de7d73bfc6c8eb8ae56b4a8c7c3b9d98b2fc202.png)
