The cryptnox-pos open-source crypto payment terminal in its black 3D-printed case, showing a payment of 12.90 USDC with Tap your card, and the USB-C port
Hardware WalletCustom Development

Tap a card, pay in USDC: we open-sourced a crypto payment terminal

cryptnox-pos is free, open-source firmware that turns an ESP32 touchscreen board and a PN532 NFC module into a crypto payment terminal. The card that pays is a Cryptnox Hardware Wallet: the customer taps it, the card signs the transfer inside its secure element, and the terminal shows Approved once the transaction is mined. The firmware (LGPL-3.0), the printable case and the illustrated build guides are all public.

Cryptnox SA, Geneva  ·  Hardware wallet and custom development

Already have a Cryptnox Hardware Wallet?

Then you already have the card that pays. Every Cryptnox Hardware Wallet card works with this terminal: the card you use with the Cryptnox app taps, signs and pays at the counter, and if you run the terminal yourself, your own card fills in your payout address with one tap during setup. The terminal costs only its parts; the firmware, the case files and the guides are free.

Get the Cryptnox Hardware Wallet card

A payment terminal you can read, build and change

Most ways of accepting crypto in a shop are an app on a tablet: the merchant shows a QR code, the customer opens a wallet app, scans, confirms, and a payment service in the middle takes a fee and holds the funds for a while. It works, but it copies the card-scheme model without the card, and it puts a third party between the customer and the merchant.

cryptnox-pos takes the other road. The customer carries their own Cryptnox Hardware Wallet card, the same card they use with the Cryptnox app. At the counter they enter their card PIN on the terminal, tap the card, and the card signs a transfer straight to the merchant's address. No account to open, no gateway, no custody: the transaction goes from the customer's card to the chain, and the merchant watches it confirm on the screen.

Version 1.0.0 was published on 1 October 2026. Everything is in the repository: the firmware, the wiring diagram, the printable case, the setup portal, the over-the-air update path, the test plans and a frank security analysis. It is also the reference project for the Cryptnox SDK for ESP32: a complete product built on the SDK, not a code sample.

The cryptnox-pos terminal in its black 3D-printed case, seen from three angles, showing payments of 4.95 USDT on Tron, 0.49 ETH and 32.49 POL with Tap your card, and the USB-C port
The terminal in its printed case: a Cheap Yellow Display and a PN532 module inside a two-part shell that snaps shut, with no screws.

The sale, in twenty seconds

Illustration: at a market stall, a customer taps her Cryptnox Hardware Wallet card on the cryptnox-pos terminal, which shows Tap your card for 8.95 USDC
Illustration: a customer pays 8.95 USDC at a market stall by tapping her Cryptnox Hardware Wallet card.
  1. Amount. The merchant types the amount on the keypad, picks the asset and taps Charge.
  2. Review. The merchant hands the terminal to the customer. The screen shows the amount, the destination address, the maximum network fee and the token contract. Confirm or Cancel.
  3. PIN. The customer enters their card PIN on the on-screen keypad. It is checked before anything is signed and wiped from memory afterwards.
  4. Tap. The customer holds the card on the reader. The terminal opens a secure channel to the card, the card signs the transaction hash, the terminal assembles the signed transaction and broadcasts it.
  5. Approved. The terminal polls the chain and shows Approved only when the transaction is mined with a success status. New sale starts the next one.
Four terminal screens of a cryptnox-pos sale: the amount entered, the review screen, Tap your card, and Approved with the transaction hash
The four screens of a sale, from firmware v1.0.0 on a test network.
Why Approved means approved

The terminal does not take the network's word for it. A receipt only counts when it is for the exact transaction hash the card signed, to the expected token contract, with a transfer to the merchant's address for exactly the amount on the screen. Without network time, the terminal refuses to sign rather than guess.

What is inside

PartRole
ESP32-2432S028 "Cheap Yellow Display"The whole terminal: ESP32 microcontroller, 2.8-inch touchscreen, Wi-Fi. A hobby board sold under many names.
PN532 NFC moduleThe card reader, connected with four wires over I²C.
Printed caseA two-part snap-fit shell, printed in PLA or PETG from the STL files in the repository. No screws.
Cryptnox Hardware Wallet cardThe card that pays. Every Cryptnox Hardware Wallet card works: it holds the private key in an EAL6+ certified secure element and signs after PIN verification.
Cryptnox SDK for ESP32Secure channel to the card, PN532 transport, on-card signing. The open-source library the terminal is built on.
LVGL 8 and ESP-IDF 5.5The user interface library and the Espressif build framework.

The division of labour is the point. The terminal builds the transaction, asks the card to sign its hash, works out the signature's recovery bit against the card's own public key, encodes the result and sends it to a JSON-RPC endpoint over TLS. The card never reveals a key, and the terminal never holds one. A fully compromised terminal can corrupt a sale; it cannot sign one the customer did not tap for.

What it is, and what it is not

cryptnox-pos is published as a reference and educational dev kit, and the README says so in bold. The ESP32 is not a secure microcontroller and has no protected memory: at run time the card PIN and the Wi-Fi password sit in plain RAM. An optional secure build adds flash encryption, encrypted settings storage and Secure Boot v2 so that a stolen unit gives up nothing at rest and only firmware signed with your key will boot. That is good engineering for a kit; it is not the tamper resistance of a certified payment terminal, and we do not call it that.

It is also a different thing from the terminal in our C-WaaS blockchain card scheme. The two share the tap, the card form factor and the secure element, and almost nothing else:

 cryptnox-pos (open-source dev kit)C-WaaS terminal
Who pays with whatAnyone, with their own Cryptnox Hardware Wallet cardCardholders of a bank or programme, with cards the issuer personalised
Who authorisesThe cardholder: PIN plus cardThe cardholder, and the issuer, which co-signs every payment
Where the money goesDirectly to the address the merchant configuredThrough the scheme's settlement
Terminal hardwareA hobby ESP32 board and an NFC modulePayment terminals with a Secure Access Module
Made forLearning, prototypes, pilots, products built on the SDKProduction card programmes

If you run a card programme, read how the C-WaaS POS terminal works and how we built its Secure Access Module. If you want to see a tap-to-pay terminal from the inside, or build one, this project is for you.

Assets and networks

ChainAssetsTest network
EthereumETH, USDC, USDTSepolia
PolygonPOL, USDC, USDTAmoy
TronTRX, USDT (USDC on the test network only)Nile

The asset is chosen on the device for each sale, with two decimals up to 9999.99. One setting switches all three chains between their production and test networks together, and the terminal restarts to apply it. A fresh terminal is on production.

Build one in an afternoon

  • Get the parts. A Cheap Yellow Display (ESP32-2432S028), a PN532 NFC module, a four-wire harness, a USB cable, and a Cryptnox Hardware Wallet card set up in the Cryptnox app.
  • Wire it and print the case. Four wires: GND, 3.3 V, SDA to GPIO 27, SCL to GPIO 22, with one soldering job on the PN532. Set its switches to I²C and power-cycle it. The two-part case then snaps shut around the board and the module.
  • Flash the release image. No toolchain needed: Espressif's browser flasher or one esptool command writes the prebuilt firmware at address 0x0. Building from source takes ESP-IDF 5.5 and a recursive clone.
  • Set it up from your phone. The terminal shows a QR code for its own Wi-Fi. Scan it, confirm on the panel, and either type your payout address or read it off your own card with one tap.
  • Pick the shop Wi-Fi. From the terminal's own scan. It restarts, and it is ready.
  • Take a sale. Try it on a test network first; the switch is on the same setup page.
Four terminal screens of cryptnox-pos setup: the QR code, the browser number, Hold card to reader, and the payout address acceptance
Setup from a phone: scan, approve the browser on the panel, read the payout address off your own card, accept it on the terminal.

Four illustrated guides on docs.cryptnox.com walk through it: assembling the terminal, setting it up, taking a USDC payment and configuring it. The reference pages cover the wiring, flashing, firmware updates over Wi-Fi and the secure build.

Security, stated plainly

The repository ships its own security analysis, written against the code and naming the files. What the design defends: private keys never touch the terminal; every setting that can redirect money is confirmed on the terminal's screen by someone standing in front of it, never in a browser alone; payout addresses are stored twice and cross-checked; the chain node is not trusted for what gets signed; firmware updates are signed. What it does not defend: secrets in RAM, a setup page served over plain HTTP on the terminal's own access point, and no payment record kept on the device. The chain is the record.

We would rather publish the limits than have a reader discover them. If you find something we missed, open an issue.

Licence, and what we hope happens next

cryptnox-pos is dual-licensed: LGPL-3.0 for open-source projects and for proprietary ones that respect the LGPL, or a commercial licence for products that cannot. The Cryptnox SDK for ESP32 underneath it is licensed the same way.

Illustration: at a night-market food stall, a customer taps his Cryptnox Hardware Wallet card on the cryptnox-pos terminal held by the vendor
Illustration: the same terminal at a night-market food stall. The customer pays from his own card; the vendor receives the funds at her own address.

What we hope for is simple: makers who build one over a weekend and tell us what broke, developers who port it to the other display variants, and merchants who want to pilot card payments at a counter without a gateway in the middle. For the first two, the repository is the place. For the third, talk to us.

Third-party board and component names identify the hardware the firmware runs on. Cryptnox SA is not affiliated with their makers.

Frequently asked questions

What is cryptnox-pos?

Open-source firmware, published by Cryptnox under the LGPL-3.0 licence, that turns an ESP32 "Cheap Yellow Display" touchscreen board and a PN532 NFC module into a crypto payment terminal. A customer pays by tapping a Cryptnox Hardware Wallet card.

Do customers need a Cryptnox card to pay?

Yes, and every Cryptnox Hardware Wallet card works. The card is the customer's own self-custody wallet, set up once in the Cryptnox app or with the Cryptnox CLI, and it is sold in the Cryptnox shop.

Does the terminal hold private keys?

No. The private key stays inside the card's EAL6+ certified secure element. The terminal builds the transaction and asks the card to sign it after the customer enters the card PIN; a compromised terminal cannot sign a payment on its own.

Which cryptocurrencies does it accept?

ETH, USDC and USDT on Ethereum; POL, USDC and USDT on Polygon; TRX and USDT on Tron. One setting on the setup page switches all three chains together between their production and test networks.

Is it secure enough for a real shop?

It is a reference dev kit, not a certified payment terminal. Private keys are never at risk, because they stay on the card, but the ESP32 has no protected memory and the device keeps no payment record. The optional secure build encrypts the flash and locks the boot chain. For a production card programme, Cryptnox offers C-WaaS, with issuer-managed cards and terminals built around a Secure Access Module.

Can I use the code in my own product?

Yes. Under the LGPL-3.0 you can use and modify it as long as you respect the licence's obligations. For a proprietary product without those obligations, Cryptnox offers a commercial licence through its contact form.

Build it, or talk to us

The code is public, the guides are written, and the card that pays is in the shop.

Get the next article by email

One email on the Thursday a new Cryptnox article goes live. You get nothing else, and every message carries an unsubscribe link.

Cryptnox Newsletter Subscribe