enKrypt icon indicating copy to clipboard operation
enKrypt copied to clipboard

Prep: release v2.14.0

Open kvhnuke opened this issue 2 months ago • 2 comments

Summary by CodeRabbit

  • Chores
    • Updated development/build tooling and bumped various dependencies for stability.
  • New Features
    • Added Nibiru and Nibiru Testnet as supported networks.
    • Added Routescan as a new activity provider.
    • Swap: added RBTC floating-rate support (quotes and swap flows).
  • Maintenance
    • Removed ZChains and ProofOfPlayApex network support; OKC and XLayer asset lookup integrations removed.
    • Updated RPC endpoints for several networks.

kvhnuke avatar Nov 03 '25 20:11 kvhnuke

:briefcase: Build Files chrome: enkrypt-chrome-93e51806.zip firefox: enkrypt-firefox-93e51806.zip

:syringe: Virus total analysis chrome: 93e51806 firefox: 93e51806

github-actions[bot] avatar Nov 03 '25 20:11 github-actions[bot]

Walkthrough

Adds Nibiru and Nibiru Testnet with a Routescan activity provider; removes Canto, ZChains (ZCD), ProofOfPlayApex and related assets/token-list entries; updates multiple RPC/explorer endpoints; extends Changelly swap provider for RBTC floating-rate paths; broad dependency/devtool version bumps and small UI/utility tweaks.

Changes

Cohort / File(s) Summary
Monorepo root tooling
package.json
Dev tooling bumps (e.g., @commitlint/cli, @swc/core, nodemon).
Package dev tooling (bulk)
packages/*/package.json
packages/extension-bridge/package.json, packages/hw-wallets/package.json, packages/keyring/package.json, packages/name-resolution/package.json, packages/request/package.json, packages/signers/*/package.json, packages/storage/package.json, packages/types/package.json, packages/utils/package.json
Widespread devDependency updates (@types/node, @typescript-eslint/*, eslint, typescript, vitest, tsup, etc.); some packages add ESLint plugins.
Extension build/UI toolchain
packages/extension/package.json
UI/build deps upgraded (Vue, rollup, vite, tsup, typescript, vitest); package version bumped to 2.14.0; kadena prebuild script endpoint changed.
Networks enum & platforms
packages/types/src/networks.ts
Removed Canto, ZChains, ProofOfPlayApex; added Nibiru, NibiruTestnet; CoingeckoPlatform adds nibiru.
Networks registry
packages/extension/src/providers/ethereum/networks/index.ts
Removed exports: canto, zcd, popApex; added exports: nibiru, nibiruTestnet.
New Nibiru networks
packages/extension/src/providers/ethereum/networks/nibiru.ts, packages/extension/src/providers/ethereum/networks/nibiru-testnet.ts
New EVM network modules with full options and activity-handler wiring (Routescan).
Removed network modules
packages/extension/src/providers/ethereum/networks/pop-apex.ts, .../zcd.ts, .../canto.ts
Deleted ProofOfPlayApex, ZChains (ZCD), and Canto network modules/exports.
Network RPC/endpoint changes
packages/extension/src/providers/ethereum/networks/astr.ts, .../ftm.ts, .../palm.ts, .../xlayer.ts, packages/extension/src/providers/kadena/networks/kadena.ts
Updated RPC/explorer endpoints (wss → https/http changes), Kadena endpoints switched to community API/explorer URLs.
Assets / token lists / supported networks pruning
packages/extension/src/providers/ethereum/libs/assets-handlers/assetinfo-mew.ts, .../token-lists.ts, .../types/tokenbalance-mew.ts
Removed Okc, XLayer, Canto, ProofOfPlayApex from supported networks, token lists, and supported-network type unions.
Dapp list pruning
packages/extension/src/libs/dapp-list/index.ts
Removed dapp list entries: Canto, ZkSyncGoerli, ZChains, ProofOfPlayApex.
Etherscan endpoints
packages/extension/src/providers/ethereum/libs/activity-handlers/providers/etherscan/configs.ts
Removed ProofOfPlayApex endpoint entry.
New Routescan provider
packages/extension/src/providers/ethereum/libs/activity-handlers/providers/routescan/configs.ts, .../types.ts, .../index.ts
Added Routescan configs, RoutescanTxType, and provider implementation that fetches, normalizes, decodes txs and returns Activity[].
Activity handlers registry
packages/extension/src/providers/ethereum/libs/activity-handlers/index.ts
Added import/export of RoutescanActivity.
Swap provider (Changelly)
packages/swap/src/providers/changelly/index.ts
Adds RBTC/floating-rate support: dynamic RPC method selection (getFixRate vs getExchangeAmount), amount propagation via getMinMaxAmount, response/id handling, and logging updates. Signature for getMinMaxAmount updated to accept optional amount.
OKX tokens guard
packages/swap/src/providers/okx/index.ts
Guarded getOKXTokens to return [] when data.data is falsy.
Ledger configs change
packages/hw-wallets/src/ledger/ethereum/configs.ts
Removed Klaytn and Syscoin from Ethereum supportedPaths mapping.
Polkadot signer tweak
packages/signers/polkadot/src/index.ts
Removed explicit fourth arg 2048 from mnemonicToMiniSecret call.
New-features flag
packages/extension/src/providers/common/libs/new-features.ts
newNetworks now initialized to include NetworkNames.Nibiru.
Kadena networks index
packages/extension/src/providers/kadena/networks/index.ts, packages/extension/src/libs/utils/initialize-wallet.ts
Removed kadenaTestnet export/import from networks index; small import reorder in initialize-wallet.
Backup state
packages/extension/src/libs/backup-state/index.ts
Added excludedSignerTypes guard in restoreBackup (initialized empty) to skip certain signer types.
UI & formatting
packages/extension/src/providers/ethereum/ui/eth-verify-transaction.vue, packages/extension/src/ui/action/views/lock-screen/index.vue, packages/extension/src/ui/action/views/swap/index.vue
Template and formatting changes, small fallback for realToAddress, minor CSS/padding adjustments; no major logic changes.
README
README.md
Added Nibiru and Nibiru Testnet to supported chains list.

Sequence Diagram(s)

sequenceDiagram
    participant Ext as Extension (RoutescanActivity)
    participant RS as Routescan API
    participant Dec as decodeTx util
    Note over Ext,RS: Fetch address txs → normalize → decode → Activity[]
    Ext->>RS: GET /address/{addr}/txs?chainId={chainId}&limit=50&sort=desc
    RS-->>Ext: [RoutescanTxType[]]
    Ext->>Dec: decodeTx(rawTx)
    Dec-->>Ext: decodedTxData
    Ext-->>Caller: Activity[] (mapped from decoded + raw)
sequenceDiagram
    participant Client as Swap caller
    participant Changelly as Changelly provider
    participant RPC as Changelly RPC
    Note over Changelly: Dynamic RPC method selection based on RBTC presence
    Client->>Changelly: getQuote(from, to, amount)
    Changelly->>RPC: getFixRate OR getExchangeAmount (include amountFrom if floating)
    RPC-->>Changelly: response (id/quote)
    Changelly-->>Client: normalized quote

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Areas to focus:
    • Routescan provider: response normalization, chainId extraction, defensive parsing and compatibility with existing decodeTx/Activity shapes.
    • Changelly RBTC changes: dynamic RPC selection, amount propagation, response id mapping and updated signatures.
    • Network enum/registry edits: locate remaining references to removed networks (Canto, ZCD, ProofOfPlayApex) and verify all consumers updated.
    • RPC endpoint swaps and removed assetsInfoHandler imports: ensure no dangling imports and transport expectations match (wss vs https).
    • Backup/Kadena changes: ensure restore and initialization flows behave with removed/changed exports.

Possibly related PRs

  • enkryptcom/enKrypt#750 — Direct overlap: adds Nibiru/NibiruTestnet and Routescan provider changes.
  • enkryptcom/enKrypt#716 — Related: Changelly RBTC/floating-rate handling and overlapping eth-verify UI edits.
  • enkryptcom/enKrypt#767 — Related: Changelly RBTC floating-rate updates and swap provider logic.

Suggested reviewers

  • gamalielhere

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'Prep: release v2.14.0' accurately reflects the main objective: preparing a release for version 2.14.0, which is confirmed by the package version bump in packages/extension/package.json from 2.13.1 to 2.14.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • [ ] 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment
  • [ ] Commit unit tests in branch devop/package-updates-2-14

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Nov 03 '25 20:11 coderabbitai[bot]