feat: Add encrypted-maps skill for vetKeys EncryptedMaps#158
feat: Add encrypted-maps skill for vetKeys EncryptedMaps#158andreacerulli 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 |
| "@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`. |
There was a problem hiding this comment.
same question here. can we get rid of using @dfinity/agent and @dfinity/principal ?
Review: encrypted-maps skillStrongest of the two PRs — the structure is clear, the pitfalls section is excellent, and the frontend is well-organized into logical sub-sections. A few things to fix before merge: Bug:
|
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.