Skip to content

Version: 1.2.0

Compare
Choose a tag to compare
@g9d g9d released this 26 Nov 14:46
· 2108 commits to master since this release
98dbb10

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 the debot module documentation for more info.
    Check our tests for code examples.

  • External signing was supported for message encoding: SigningBox type for Signer 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 for SigningBoxHandle type and register_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 from CryptoConfig (unused by the library)
  • original and resolved errors are swapped in result. Now error.code contains original error code