n_signer CYD Web Serial Demo
A browser control panel for the CYD (ESP32-2432S028) signer firmware. Speaks the n_signer JSON-RPC protocol over Web Serial at 115200 baud.
Getting started
1. Plug the CYD into a USB port (CH340 enumerates as /dev/ttyUSB*).
2. Click Connect Web Serial and pick the CYD port.
3. get_info fires automatically and reports firmware version + supported verbs.
4. Enter a mnemonic on the CYD touchscreen to enable the signing verbs.
Auth envelope
Every request is signed with a demo secp256k1 key (priv = 0x0102…2020). The CYD verifies the kind-27235 auth event and replays-protects by event id.
Transports
Frames are 4-byte big-endian length + UTF-8 JSON payload. Same wire format as the host Unix-socket and TCP transports.