Examples
There are a few existing applets that
demonstrate simple usage of the prelude. Each example starts with a short documentation in its
src/lib.rs
file.
Noticeable examples are:
hsm
implements some simple HSM-like API using thecrypto
,store
, andusb::serial
modules of the prelude. It comes with a companion program to interact with the applet (see the documentation in thesrc/lib.rs
of the applet).ctap
implements some simple CTAP-like API using thebutton
,led
,timer
,scheduling
,store
, andusb::serial
modules of the prelude. It describes its usage when connecting to the USB serial interface.memory_game
implements some memory game using theusb::serial
module of the prelude. It describes its usage when connecting to the USB serial interface.