Version: 1.2.0
1.2.0 Nov 26, 2020
Featured
-
UNSTABLE API. This API is experimental. It can be changed in the next releases.
debot
module was added with debot engine functions, such as :start
,fetch
,execute
,remove
. See thedebot
module documentation for more info.
Check our tests for code examples. -
External signing was supported for message encoding:
SigningBox
type forSigner
enum was supported.
Now it is possible to sign messages with externally implemented signing box interface without private key disclosure to the library. Can be used in case of signing via HSM API or via cold wallet - when there is no access to the private key.It is also possible to create a Signing Box instance inside SDK - from a key pair passed into the library with
get_signing_box
method. It can be used for some test cases. Also it increases security - you need to pass your keys one time only.Check the
crypto
module documentation forSigningBoxHandle
type andregister_signing_box
,get_signing_box
,signing_box_get_public_key
,signing_box_sign
.
Check our tests for code examples.
Fixed
- panic after
tc_destroy_context
call. Now all contexts use global async runtime - field
mnemonic_hdkey_compliant
was removed fromCryptoConfig
(unused by the library) - original and resolved errors are swapped in result. Now
error.code
contains original error code