1.5.0 • Published 7 months ago
@vechain/dapp-kit-ui v1.5.0
@vechain/dapp-kit-ui
The Vechain DApp Kit serves as a sophisticated layer built upon @vechain/sdk-network, providing a simplified and efficient avenue for engaging with a multitude of Vechain wallets. This innovative toolkit enhances the ease of interaction, offering developers a seamless bridge to connect with diverse Vechain wallet functionalities. For more information, please refer to the official Vechain Docs
Usage
yarn add @vechain/dapp-kit-ui
- In your root
main.ts
import type { WalletConnectOptions, DAppKitOptions } from '@vechain/dapp-kit';
import { DAppKitUI } from '@vechain/dapp-kit-ui';
const walletConnectOptions: WalletConnectOptions = {
projectId: '<PROJECT_ID>',
metadata: {
name: 'Sample VeChain dApp',
description: 'A sample VeChain dApp',
url: window.location.origin,
icons: [`${window.location.origin}/images/logo/my-dapp.png`],
},
};
const options: DAppKitOptions = {
node: 'https://testnet.vechain.org/',
walletConnectOptions,
usePersistence: true,
};
DAppKitUI.configure(options);
- In your root
index.html
. This will add a button to your page, when clicked it will open a modal with the wallet connect QR code.
<body>
<vdk-button></vdk-button>
</body>
2.0.0-rc.1
7 months ago
1.5.0
8 months ago
1.4.1
9 months ago
1.4.0
9 months ago
1.2.2
10 months ago
1.3.0
10 months ago
1.1.1
11 months ago
1.1.0
11 months ago
1.0.16
12 months ago
1.0.15
12 months ago
1.0.14
12 months ago
1.0.13
1 year ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago