Grant Application - Hito Hardware Wallet - Zcash Cold Signing (Orchard)

Hito Firmware Zcash milestone 1

Milestone 1 is complete.

We now have console-based offline singing workng across the simulator and devboard, with multiple transaction types signed and validated.
The implementation covers Transparent, Sapling, Orchard parsing/singing, PCZT handling, end-to-end offline singing flow, and regression tests for core signing logic.

Additional validation beyond the original milestone scope has also been completed: a first signed Zcash testnet transaction was successfully broadcast.

Testnet transaction (apps/zcash_spike/tests/fixtures/first_orchard.pczt)

d6cabd0047f1f5551ad7059d1a6ebaaa8190b876c4020c146e5f85036bfc68d8

Link to explorer: Transaction d6cabd0047f1f5551ad7059d1a6ebaaa8190b876c4020c146e5f85036bfc68d8 details - ZCASH - Testnet | BlockExplorer

Transaction details:

  • Orchard actions: 2
  • Shielded sighash: d868fc6b03855f6e140c02c476b89081aaba6e1a9d05d71a55f5f14700bdcad6
  • One real Orchard spend/output and one zero-value/dummy Orchard action were handled correctly.
  • The signed transaction was accepted by the Zcash testnet network.

Current status against milestone objectives:

  • Offline signing demonstrated in a controlled setup: complete
  • Valid signed transaction produced: complete
  • Regression tests passing across simulator/devboard flows: complete
  • Correct handling of PCZT transaction structures: complete
  • Broadcast not required by the milestone, but successfully demonstrated on testnet

Implementation Notes

The Milestone 1 implementation targets the Hito hardware development board running Zephyr RTOS.

The signing implementation is built on top of our cross-platform libcrypt0 cryptographic primitives library, which provides the low-level cryptographic building blocks shared between the desktop simulator and embedded firmware. This allows the same signing logic to be executed in both environments while minimizing platform-specific code.

The firmware currently runs with:

  • Zephyr RTOS
  • Heap: 61 KiB
  • Stack: 22 KiB

Validation was performed in three stages:

  1. Desktop simulator regression tests.
  2. Hardware devboard signing using the same signing implementation.
  3. Sucessfull singing and broadcast of a Zcash testnet transaction using zcash-devtool.

This milestone focuses on the sinning engine and transaction correctness. The production user interface and higher-level wallet functionality are outside the scope of this milestone.

4 Likes