Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ccf1c75
chore(deps): bump rand from 0.9.2 to 0.9.3 in /examples/encrypted_cha…
dependabot[bot] Apr 14, 2026
88bdad9
feat(frontend): migrate @dfinity/vetkeys library from @dfinity/* to @…
marc0olo Apr 14, 2026
d3fb0f7
chore: migrate from dfx to icp-cli
marc0olo Apr 14, 2026
e8be6b0
fix(ci): fix vite .did import and motoko backend icp-cli setup
marc0olo Apr 14, 2026
343eb43
fix(ci): add mops toolchain, GITHUB_TOKEN for icp rate limiting
marc0olo Apr 14, 2026
91cd429
fix(frontend): address Copilot review comments and remove stale dfx a…
marc0olo Apr 14, 2026
d01ed07
fix(ci): use ICP_CLI_GITHUB_TOKEN in frontend workflow to avoid icp r…
marc0olo Apr 14, 2026
913fcf1
fix(frontend): use import type for type-only symbols from .did.js files
marc0olo Apr 14, 2026
0a7138e
fix(ci,tests): fix workflow self-trigger path and missing canister id…
marc0olo Apr 14, 2026
2323844
fix(changelog): correct deprecated API reference in 0.5.0 entry
marc0olo Apr 14, 2026
a34a5c2
style(frontend): run prettier on ic_vetkeys
marc0olo Apr 14, 2026
96d77ce
fix(tests): prevent flaky should_access_map_values test on key collision
marc0olo Apr 14, 2026
f642706
chore: use test_key_1 instead of dfx_test_key in icp.yaml and caniste…
marc0olo Apr 14, 2026
a2e4524
feat(examples): migrate all 7 example frontends to @icp-sdk/core
marc0olo Apr 14, 2026
c2370b6
feat(examples): migrate all 7 example backends from dfx to icp-cli
marc0olo Apr 14, 2026
5b6901d
fix(examples): update frontend source for @dfinity/vetkeys and @icp-s…
marc0olo Apr 14, 2026
e4a35da
fix(ci): update CI workflows to use icp-cli instead of dfx
marc0olo Apr 14, 2026
0118583
docs(examples): update documentation links and ICP CLI references
marc0olo Apr 14, 2026
d3b7b95
chore(examples): add missed new files from icp-cli and frontend migra…
marc0olo Apr 14, 2026
4378ea1
fix(ci): add GITHUB_TOKEN to icp network start steps in example workf…
marc0olo Apr 14, 2026
0c4616c
fix(ci): restore [toolchain] moc = "1.5.0" in backend/mo/ic_vetkeys/m…
marc0olo Apr 14, 2026
5177e71
fix(ci): use ICP_CLI_GITHUB_TOKEN instead of GITHUB_TOKEN for icp rat…
marc0olo Apr 14, 2026
a236968
fix(ci): install ic-mops and build workspace before icp deploy in exa…
marc0olo Apr 14, 2026
cfaf2ca
fix(ci): remove sudo from provision-linux.sh, guard candid-extractor,…
marc0olo Apr 14, 2026
0c7eed4
chore(examples): use test_key_1 instead of dfx_test_key in encrypted_…
marc0olo Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/backend-motoko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Run MOPS Test Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cd backend/mo/ic_vetkeys
Expand All @@ -51,6 +53,8 @@ jobs:
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Run MOPS Test Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cd backend/mo/ic_vetkeys
Expand Down
38 changes: 32 additions & 6 deletions .github/workflows/examples-basic-bls-signing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,29 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DFX_VERSION: 0.29.1
jobs:
examples-basic-bls-signing-rust-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic BLS Signing Rust Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_bls_signing/rust
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
examples-basic-bls-signing-rust-linux:
Expand All @@ -41,14 +46,21 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic BLS Signing Rust Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_bls_signing/rust
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
examples-basic-bls-signing-motoko-darwin:
Expand All @@ -57,15 +69,22 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic BLS Signing Motoko Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_bls_signing/motoko
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
examples-basic-bls-signing-motoko-linux:
Expand All @@ -74,13 +93,20 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic BLS Signing Motoko Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_bls_signing/motoko
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
40 changes: 33 additions & 7 deletions .github/workflows/examples-basic-ibe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,29 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DFX_VERSION: 0.29.1
jobs:
examples-basic-ibe-rust-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic IBE Rust Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_ibe/rust
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
examples-basic-ibe-rust-linux:
Expand All @@ -40,14 +45,21 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic IBE Rust Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_ibe/rust
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
examples-basic-ibe-motoko-darwin:
Expand All @@ -56,15 +68,22 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic IBE Motoko Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_ibe/motoko
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
examples-basic-ibe-motoko-linux:
Expand All @@ -73,13 +92,20 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic IBE Motoko Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_ibe/motoko
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
npm run lint
20 changes: 17 additions & 3 deletions .github/workflows/examples-basic-timelock-ibe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,22 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic Timelock IBE Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_timelock_ibe
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
examples-basic-timelock-ibe-rust-linux:
Expand All @@ -39,13 +46,20 @@ jobs:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Basic Timelock IBE Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cargo install candid-extractor
pushd examples/basic_timelock_ibe
dfx start --background && dfx deploy
icp network start -d && icp deploy
cd frontend
npm run lint
npm run lint
6 changes: 6 additions & 0 deletions .github/workflows/examples-encrypted-chat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
runs-on: macos-15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
Expand All @@ -32,6 +35,9 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Backend Tests Encrypted Chat Rust Linux
Expand Down
38 changes: 32 additions & 6 deletions .github/workflows/examples-encrypted-notes-dapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,60 +14,86 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DFX_VERSION: 0.29.1
jobs:
examples-encrypted-notes-dapp-rust-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Encrypted Notes Dapp VetKD Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cd examples/encrypted_notes_dapp_vetkd/rust
dfx start --background && dfx deploy
icp network start -d && icp deploy
examples-encrypted-notes-dapp-rust-linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Encrypted Notes Dapp VetKD Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cd examples/encrypted_notes_dapp_vetkd/rust
dfx start --background && dfx deploy
icp network start -d && icp deploy
examples-encrypted-notes-dapp-motoko-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Darwin
run: |
bash .github/workflows/provision-darwin.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Encrypted Notes Dapp VetKD Darwin
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cd examples/encrypted_notes_dapp_vetkd/motoko
dfx start --background && dfx deploy
icp network start -d && icp deploy
examples-encrypted-notes-dapp-motoko-linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Install workspace dependencies
run: npm install
- name: Deploy Encrypted Notes Dapp VetKD Linux
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eExuo pipefail
cd examples/encrypted_notes_dapp_vetkd/motoko
dfx start --background && dfx deploy
icp network start -d && icp deploy
Loading
Loading