Attachments and AuthAccount capabilities preview release

Thank you for your feedback Jacob!

For this preview release the Cadence team is mostly looking for feedback on the implementation, i.e. if it works as expected, or if there are any problems you encounter.

Feedback regarding the features themselves are best targeted to the FLIPs, as that is where the discussion around them happens and design feedback is incorporated.

As pointed out in the FLIP for AuthAccount capabilities, the main use case is “walletless onboarding”. The Flow team just published a blog post explaining it: Overcoming barriers to mainstream Web3 adoption with walletless onboarding on Flow. As discussed in the FLIP, the feature is indeed not adding any new functionality: “child accounts” can be implemented today, the proposal is mainly just making it explicit. The proposal is not making anything possible that is not already possible today – it does not make “hacking into accounts” easier. But this concern, that nothing is proposed to make it harder, was raised in the FLIP too, and is the main reason why the community is working on/discussing such improvements, as linked above, in this topic: Super User Account.

The purpose of the attachments feature is to allow third-parties to extend existing types and values with additional functionality and data, which enables composability: Developers can build on other developers’ code, without needing the original author’s approval – users can freely choose how their data can be used/extended.

Allowing contract authors to update contracts is a related, but separate feature, and is already being discussed in this FLIP: FLIP: Cadence - Enable new fields on existing resource and struct definitions by austinkline · Pull Request #1097 · onflow/flow · GitHub.

3 Likes