decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

Test Restricted action: interact w wallet #560

Open nearnshaw opened 1 year ago

nearnshaw commented 1 year ago

A restricted action to smart wearables already exists to control the use of the player's wallet. We need to validate that it really works.

Smart wearables without this permission won't be able to interact with the player's wallet, to make transactions or to sign messages.

Content creators will need to add this new permission to the list of `requiredPermissions" https://docs.decentraland.org/creator/development-guide/scene-metadata/#required-permissions

This change should only affect SDK7. Smart wearables built with older versions won't be allowed to be published at all.

For reference to why, see: https://www.notion.so/decentraland/RFC-Portable-experience-controlled-actions-fde77221063143fd9697aa7d69612f4d

nearnshaw commented 1 year ago

The permission USE_WEB3_API already exists, but what remains is to test that it works as expected. To do this, we need the preview of smart wearables to work for SDK7

nearnshaw commented 1 year ago

@gonpombo8 I assigned you to this one, I think it's surely something that's already in the scope you're working on. If you're confident this already works, we can close it.