Add methods for modules to safely get/set data using storage layer.

Open
#85 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
api

Research direction

Start by reading core.ts and tracing how modules currently access the storage layer and tkey share metadata. Define the scope of the get/set metadata APIs and verify that module data access is routed through them without exposing full storage-layer access.

Written by the indexing model from the issue text.

Description

Problem - Full storage layer access to modules allows them to modify metadata of tkey shares.

Potential solution:-

  • Add set and get metadata APIs on core.ts. They will serve as middleware for modules to set data.
Dominant language
TypeScript
Stars
181
Forks
53
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MetaMask/tkey

All issues in MetaMask/tkey

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.