@cryptafriq/crypto-wallet-sdk-vue
v0.1.3
Published
A Vue SDK for integrating cryptocurrency wallet functionality into your website.
Downloads
200
Readme
Crypto Wallet SDK
A Vue SDK for integrating cryptocurrency wallet functionality into your website. This SDK provides a seamless way to handle crypto transactions and wallet management on your websites.
Installation
Using npm
npm install @cryptafriq/crypto-wallet-sdk-vue
Using yarn
yarn add @cryptafriq/crypto-wallet-sdk-vue
Usage
import the installed @cryptafriq/crypto-wallet-sdk-vue in your main.js file
import CryptoWallet from '@cryptafriq/crypto-wallet-sdk-vue'
then use the .use() method to add CryptoWallet to plugin lists
createApp(App).use(CryptoWallet).mount('#app')
Show Modal
import useCryptoWallet from 'crypto-wallet-sdk-vue'
useCryptoWallet({
apiKey: 'BSCAPIK_TEST_861d25e1987b1a0e705360Z',
callbackUrl: 'https://www.google.com',
customerEmail: '[email protected]',
businessName: 'Example Business',
businessLogo: 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_light_color_272x92dp.png'
})