|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
Directories | |
| BasicUsage | |
| Connect | |
| Sign | |
| UsdcSigning | |
| VerifyPin | |
Standalone Arduino sketches that exercise the Cryptnox Hardware Wallet over NFC (PN532). Each sketch ships with its own focused README so a reader landing on a single example gets everything needed end-to-end.
| Component | Details |
|---|---|
| Hardware Wallet | Cryptnox Hardware Wallet (firmware ≥ v1.6.0), initialised with a PIN — and a seed loaded for the signing examples |
| NFC reader | PN532 NFC module wired over SPI (default) or I²C — see hardware setup |
| Board | Arduino UNO R4 Minima or Arduino UNO R4 WiFi (the WiFi variant is required for UsdcSigning) |
| IDE | Arduino IDE 2.x with the Arduino UNO R4 Boards core installed |
| SDK | Installed via setup.bat from the repository root — see installation |
Provision a card from a host with a PC/SC reader and the Cryptnox CLI:
| Example | What it does |
|---|---|
| Connect | Opens the secure channel and reads back the card owner's name & email. Safest first sketch — no PIN, no signing, can't lock the card. |
| VerifyPin | Opens the secure channel and submits a PIN. Halts on a wrong PIN to protect the on-card retry counter. |
| Sign | Signs a 32-byte hash with the card's secp256k1 key. Returns the raw r ‖ s signature ready to broadcast. |
| BasicUsage | End-to-end walkthrough in one sketch: pick SPI or I²C, open the channel, sign a hash. Good reference for production wiring. |
| UsdcSigning | Real-world flow on UNO R4 WiFi: build an EIP-1559 USDC transfer, sign it on the card, broadcast it on Sepolia. |
Follow the conventions used by the existing sketches:
cryptnox-sdk-arduino is dual-licensed:
For commercial inquiries, contact: conta.nosp@m.ct@c.nosp@m.ryptn.nosp@m.ox.c.nosp@m.om