Look at the interactive_functional_test.nim file for an usage example.
Install:
nimble install libu2fInstall dependencies (on Debian and Ubuntu):
sudo apt-get install libu2f-host0 libu2f-server0Run tests:
# Run functional test
nim c -r src/functional_test.nim
# Run interactive test - you'll need an U2F key
nim c -r src/interactive_functional_test.nim