3.0.20 • Published 9 months ago
@secux/utility v3.0.20
@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.20
9 months ago
3.0.19
9 months ago
3.0.18
1 year ago
3.0.16
2 years ago
3.0.17
2 years ago
3.0.15
2 years ago
3.0.12
3 years ago
3.0.13
3 years ago
3.0.14
3 years ago
3.0.10
3 years ago
3.0.11
3 years ago
3.0.9
3 years ago
3.0.8
3 years ago
3.0.7
4 years ago
3.0.6
4 years ago
3.0.5
4 years ago
3.0.4
4 years ago
3.0.3
4 years ago
3.0.2
4 years ago
3.0.1
4 years ago
2.0.7
4 years ago
2.0.6
4 years ago
3.0.0
4 years ago
2.0.5
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.4
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago