Skip to content

chore(vetkeys): migrate basic_ibe to icp-cli and @icp-sdk/vetkeys#1349

Draft
marc0olo wants to merge 2 commits into
masterfrom
chore/vetkeys-basic-ibe-migration
Draft

chore(vetkeys): migrate basic_ibe to icp-cli and @icp-sdk/vetkeys#1349
marc0olo wants to merge 2 commits into
masterfrom
chore/vetkeys-basic-ibe-migration

Conversation

@marc0olo
Copy link
Copy Markdown
Member

Summary

Migrates the basic_ibe vetkeys example as part of #1343:

  • Replaces dfx.json with icp.yaml for both Rust and Motoko backends
  • Replaces @dfinity/vetkeys@0.3.0 with @icp-sdk/vetkeys@0.5.0-beta.0
  • Replaces @dfinity/auth-client / @dfinity/principal / @dfinity/agent with @icp-sdk/auth@7.1.0 / @icp-sdk/core@5.4.0
  • Bumps Rust crate ic-vetkeys to 0.7.0
  • Bumps Motoko package ic-vetkeys to 0.5.0, updates core to 2.4.0, adds [toolchain] moc = "1.5.1"
  • Replaces dfx generate with @icp-sdk/bindgen in gen_bindings.sh
  • Updates vite.config.ts to use icp CLI for dev server config
  • Removes window.global polyfill, updates all actor creation to HttpAgent.create() + Actor.createActor()
  • Adds CI workflow for both Rust and Motoko backends on Darwin and Linux
  • Drops icp.ninja support, comments out icp.ninja badges in README

Test plan

  • CI workflow passes for both Rust and Motoko backends on Darwin and Linux
  • npm install resolves without errors in frontend/
  • icp network start -d && icp deploy succeeds from rust/ and motoko/ dirs
  • No remaining @dfinity/vetkeys or dfx references in the example

🤖 Generated with Claude Code

- Replace dfx.json with icp.yaml (Rust and Motoko backends)
- Use @icp-sdk/vetkeys@0.5.0-beta.0 instead of @dfinity/vetkeys
- Use @icp-sdk/auth@7.1.0 and @icp-sdk/core@5.4.0
- Update Motoko ic-vetkeys to 0.5.0, Rust ic-vetkeys to 0.7.0
- Add moc 1.5.1 toolchain to mops.toml
- Replace dfx generate with @icp-sdk/bindgen in gen_bindings.sh
- Add CI workflow for both Rust and Motoko backends
- Drop icp.ninja support

Closes #1343

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marc0olo marc0olo requested a review from a team as a code owner May 29, 2026 09:47
@marc0olo marc0olo marked this pull request as draft May 29, 2026 12:12
…0 API

- Remove rust-toolchain channel pin and profile (fixes cargo component error)
- Bump ic-cdk to 0.20.1 and add ic-cdk-management-canister 0.1.1
- Update ic_cdk::management_canister imports to ic_cdk_management_canister
- Update AuthClient API: constructor, signIn/signOut, async getIdentity

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant