Installation

How to install @vechain/dapp-kit-react in order to use it with TypeScript or Javascript.

If using TypeScript follow the NPM installation steps, for JavaScript follow the CommonJS (CJS) installation steps.

circle-info

Should you wish to implement this in a pure JavaScript project, it is recommended to use CommonJS (CJS) imports. Potential complications might arise with ES Module (ESM) imports.

NPM

npm i @vechain/dapp-kit-react

Upon installation, you may utilize the subsequent code snippet to verify the proper functioning within your TypeScript project:

import { DAppKitProvider } from '@vechain/dapp-kit-react';

Last updated

Was this helpful?