> For the complete documentation index, see [llms.txt](https://docs.vechainkit.vechain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vechainkit.vechain.org/troubleshooting/migration-issues/from-dapp-kit.md).

# From DApp Kit

If you're coming from DApp Kit or SDK, you may have version conflicts from different versions installed across your project.

{% hint style="info" %}
VeChain Kit includes DApp Kit functionality, but still requires @vechain/dapp-kit-react as a peer dependency for compatibility.
{% endhint %}

### Problem

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

### Solution

1. Completely Remove DApp Kit Packages

Remove all existing DApp Kit packages from your project:

```bash
npm uninstall @vechain/dapp-kit @vechain/dapp-kit-react @vechain/dapp-kit-ui
```

2. Completely Remove DApp Kit Packages

VeChain Kit provides similar functionality with updated component names:

```bash
// X Old DApp Kit
import { ConnectWallet } from '@vechain/dapp-kit-react';

// ✅ New VeChain Kit
import { WalletButton } from '@vechain/vechain-kit';
```

3. Clean Installation

After removing old packages:

```bash
rm -rf node_modules package-lock.json
npm install
```

**Component Mapping**

| DApp Kit                     | VeChain Kit                              |
| ---------------------------- | ---------------------------------------- |
| ConnectWallet                | WalletButton                             |
| \<other dapp-kit components> | \<available through VeChain Kit exports> |

#### **Verification**

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vechainkit.vechain.org/troubleshooting/migration-issues/from-dapp-kit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
