@coolwallet/core
v1.1.30
Published
Core library for other CoolWallet SDKs.
Downloads
1,827
Readme
CoolWallet Core SDK
CoolWallet Software Development Kit is built with Typescript, which handles the APDU requests, cryptography and some common logics.
Install
npm install @coolwallet/core
Project Structure
| Directory | Features |
|:------------: |:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| apdu | Collections of APDU and MCU commands. |
| coin | Key derivation functions base on ECDSA
and EDDSA
algorithms. All @coolwallet/coin
packages will need to inherit Coin
to work with Coolwallet SDK. |
| config | Config values and some pieces of information about the Coolwallet, ex. error codes/messages. |
| crypto | Commonly used cryptography, ex. hmac-sha512
, sha256
. |
| device | Maintain Bluetooth device connection and using Transport
to communicate with Bluetooth device. |
| error | CoolWallet SDK internal error handler. |
| setting | Authentication settings for CoolWallet. |
| transcaction | Functions often used when creating transactions. |
| transport | Have two abstract classes, BleManager
and Transport
.BleManager
is responsible for Bluetooth
status management and Transport
is responsible for data transfer. |
| utils | Commonly used utilities, ex. serialize and deserialize the message from Bluetooth device. |