MetaMask / MetaMask/snap-7715-permissions
Trying to use Delegator Framework
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 9
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 2
Description
Hi MM team,
I'm trying to use the Delegator Toolkit in my dApp so that i can sponsor transactions for my users by having them sign appropriate delegations.
However, I have discovered that i cannot simply call the MM extension to sign EIP712 payloads that correspond to Delegation types, this is blocked internally within MM core (https://github.com/MetaMask/core/blob/6f7c3393f4174ab3360ab189b479214d05199457/packages/signature-controller/src/utils/validation.ts#L249). I discovered this snap repo while investigating the npm.js package for the Delegation Toolkit.
My question is, does a MM user need to have a 7712-permission snap (like this one) installed in order to sign delegations in the browser with this delegator design? Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with packages/signature-controller/src/utils/validation.ts at the linked validation logic, then trace how the Delegation Toolkit and this permissions snap relate to signing. Done means providing a clear, documented answer about whether the snap is required for browser delegation signing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization, blockchain
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100