decentraland / decentraland/sdk

Test Restricted action: interact w wallet

Open
#560 2 comments 0 reactions 1 assignee Claimed by @gonpombo8 View on GitHub
portable-experiences
Dominant language
No language data
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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

- If the permission is not included, and the scene attempts to interact with the players wallet on the browser, the action will be blocked.

- If the permission is not included, it should still be possible to use the player's ephemeral key via [signedFetch()](https://docs.decentraland.org/creator/development-guide/sdk7/network-connections/#signed-requests)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.