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.
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.
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 sale, in twenty seconds

- Amount. The merchant types the amount on the keypad, picks the asset and taps Charge.
- 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.
- PIN. The customer enters their card PIN on the on-screen keypad. It is checked before anything is signed and wiped from memory afterwards.
- 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.
- 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.

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
| Part | Role |
|---|---|
| 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 module | The card reader, connected with four wires over I²C. |
| Printed case | A two-part snap-fit shell, printed in PLA or PETG from the STL files in the repository. No screws. |
| Cryptnox Hardware Wallet card | The 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 ESP32 | Secure channel to the card, PN532 transport, on-card signing. The open-source library the terminal is built on. |
| LVGL 8 and ESP-IDF 5.5 | The 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 what | Anyone, with their own Cryptnox Hardware Wallet card | Cardholders of a bank or programme, with cards the issuer personalised |
| Who authorises | The cardholder: PIN plus card | The cardholder, and the issuer, which co-signs every payment |
| Where the money goes | Directly to the address the merchant configured | Through the scheme's settlement |
| Terminal hardware | A hobby ESP32 board and an NFC module | Payment terminals with a Secure Access Module |
| Made for | Learning, prototypes, pilots, products built on the SDK | Production 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
| Chain | Assets | Test network |
|---|---|---|
| Ethereum | ETH, USDC, USDT | Sepolia |
| Polygon | POL, USDC, USDT | Amoy |
| Tron | TRX, 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
esptoolcommand 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 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.

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.