From DApp Kit
Was this helpful?
If you're coming from DApp Kit or SDK, you may have version conflicts from different versions installed across your project.
VeChain Kit includes DApp Kit functionality, but still requires @vechain/dapp-kit-react as a peer dependency for compatibility.
Multiple versions of DApp Kit packages can cause:
Version conflicts between different parts of your project
Runtime errors from competing implementations
Unexpected behaviour from mixed package versions
Completely Remove DApp Kit Packages
Remove all existing DApp Kit packages from your project:
npm uninstall @vechain/dapp-kit @vechain/dapp-kit-react @vechain/dapp-kit-uiCompletely Remove DApp Kit Packages
VeChain Kit provides similar functionality with updated component names:
// X Old DApp Kit
import { ConnectWallet } from '@vechain/dapp-kit-react';
// ✅ New VeChain Kit
import { WalletButton } from '@vechain/vechain-kit';Clean Installation
After removing old packages:
Component Mapping
ConnectWallet
WalletButton
<other dapp-kit components>
<available through VeChain Kit exports>
Ensure clean migration:
No dapp-kit packages in package.json
All imports updated to use @vechain/vechain-kit
Component names updated to VeChain Kit equivalents
Was this helpful?
Was this helpful?
rm -rf node_modules package-lock.json
npm install