feat: Add encrypted-maps skill for vetKeys EncryptedMaps#158
Open
andreacerulli wants to merge 2 commits intomainfrom
Open
feat: Add encrypted-maps skill for vetKeys EncryptedMaps#158andreacerulli wants to merge 2 commits intomainfrom
andreacerulli wants to merge 2 commits intomainfrom
Conversation
New skill covering end-to-end encrypted on-chain storage using the ic-vetkeys EncryptedMaps library. Includes complete Rust backend, Motoko backend reference, frontend TypeScript examples, icp-cli configuration, and pitfalls from real-world testing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skill Validation ReportValidating skill: /home/runner/work/icskills/icskills/skills/encrypted-mapsStructure
Frontmatter
Markdown
Tokens
Content Analysis
References Content Analysis
Contamination Analysis
References Contamination Analysis
Result: passed Project Checks |
marc0olo
reviewed
Apr 10, 2026
Comment on lines
+74
to
+83
| "@dfinity/agent": "^3.4.0", | ||
| "@dfinity/principal": "^3.4.0", | ||
| "@dfinity/vetkeys": "^0.4.0", | ||
| "@icp-sdk/auth": "^5.0.0", | ||
| "@icp-sdk/core": "^5.0.0" | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| `@dfinity/agent` and `@dfinity/principal` are required because `@dfinity/vetkeys` depends on them. `@icp-sdk/auth` provides Internet Identity login — import from `@icp-sdk/auth/client`, not the root module (the root has no exports). `@icp-sdk/core` provides canister ID discovery via the `ic_env` cookie set by `icp deploy`. |
Member
There was a problem hiding this comment.
same question here. can we get rid of using @dfinity/agent and @dfinity/principal ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New skill covering end-to-end encrypted on-chain storage using the ic-vetkeys EncryptedMaps library. Includes complete Rust backend, Motoko backend reference, frontend TypeScript examples, icp-cli configuration, and pitfalls from real-world testing.