`@ukeyfe/hd-transport-http` is a library that implements transport communication using http.
npm install @ukeyfe/hd-transport-lowlevel@ukeyfe/hd-transport-lowlevel@ukeyfe/hd-transport-http is a library that implements transport communication using http.
- translate JSON payloads to binary messages using protobuf definitions comprehensible to UKey devices
- chunking and reading chunked messages according to the UKey protocol
- exposing single API for various transport methods:
- Http Transport
- React Native Transport
- WebUSB
- Create and expose typescript definitions based on protobuf definitions.
In order to be able to use new features of ukey-firmware you need to update protobuf definitions.
1. git submodule update --init --recursive to initialize git submodules.
1. yarn update-submodules to update firmware submodule
1. yarn update:protobuf to generate new ./messages.json and ./src/types/messages.ts
git submodule update --init --recursive to initialize firmware submodule
yarn update-submodules to update firmware submodule
yarn update:protobuf to generate new ./messages.json and ./src/types/messages.ts
Documentation is available hardware-js-sdk