@coolwallet/core
TypeScript icon, indicating that this package has built-in type declarations

1.1.24 • Public • Published

CoolWallet Core SDK

CoolWallet Software Development Kit is built with Typescript, which handles the APDU requests, cryptography and some common logics.

version Typed with TypeScript code style: prettier

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @coolwallet/core

Weekly Downloads

659

Version

1.1.24

License

Apache-2.0

Unpacked Size

2.06 MB

Total Files

126

Last publish

Collaborators

  • coolwallet-team