tyronbrand/flow.net

Cadence breaking changes

Closed this issue · 0 comments

Overview
A new version of Cadence will cause some breaking changes in this SDK. It's important that those changes are addressed in a timely manner (by the end of the month) or else it will break the software using the SDK.

Breaking Change
This SDK is using a deprecated API for adding keys to the account.
DEPRECATED

account.addPublicKey()

NEW

account.keys.add()

Refactor
The cadence templates should be changed according to the account key documentation found here. We have already prepared those templates for you and they can be found here.

If you need any help implementing the changes you can always reach out to me directly on discord or here (both places with sideninja nick).