3.0.17 • Published 7 months ago
@secux/utility v3.0.17
@secux/utility
SecuX Hardware Wallet internal tools for SDK
Logger module configuration (default: disabled)
- Add the code to your project starting point:
require("@secux/utility/lib/logger");
Install following packages:
- for web:
npm install --save-dev winston setimmediate
- for react-native:
npm install --save-dev react-native-logs
- for web:
Configure global environment with your bundler or at project starting point:
- for web:
// use this line to trigger debug level process.env.DISTRIBUTION = "development"; process.env.LOGGER = "winston";
- for react-native:
// use this line to trigger debug level process.env.DISTRIBUTION = "development"; process.env.LOGGER = "react-native-logs";
- for web:
API doc
toExtenededPublicKey(path, parentFingerPrint, chainCode, publicKey) ⇒ String
Convert publicKey to extended publicKey
Kind: global function
Returns: String - extended publicKey
Param | Type | Description |
---|---|---|
path | string | BIP32 path |
parentFingerPrint | Buffer | byte(4) |
chainCode | Buffer | byte(32) |
publicKey | Buffer | byte(33) |
3.0.16
8 months ago
3.0.17
7 months ago
3.0.15
9 months ago
3.0.12
2 years ago
3.0.13
2 years ago
3.0.14
2 years ago
3.0.10
2 years ago
3.0.11
2 years ago
3.0.9
2 years ago
3.0.8
2 years ago
3.0.7
2 years ago
3.0.6
2 years ago
3.0.5
2 years ago
3.0.4
2 years ago
3.0.3
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
3.0.0
2 years ago
2.0.5
3 years ago
2.0.3
3 years ago
2.0.2
3 years ago
2.0.4
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago