0.1.3 • Published 10 months ago

vue3-wagmi-dome v0.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Install it

pnpm add @wagmi/vue viem@2.x @tanstack/vue-query
pnpm add vue3-wagmi-dome

import {QueryClient, VueQueryPlugin} from '@tanstack/vue-query'
import {WagmiPlugin} from '@wagmi/vue'

import { http, createConfig } from '@wagmi/vue'
import { mainnet, sepolia } from '@wagmi/vue/chains'

export const config = createConfig({
    chains: [mainnet, sepolia],
    transports: {
        [mainnet.id]: http(),
        [sepolia.id]: http()
    }
})

const queryClient = new QueryClient()

use(WagmiPlugin, {config})
use(VueQueryPlugin, {queryClient})


walletData 数据  type: Object, 
title 标题  type: String, 


链接成功回调  {address:钱包地址, status: 状态}
onConnects(data)=> {
}

断开链接回调 true
onDisconnect()=> {
}

链接错误回调 Object
onCancel(data)=> {
}

断开链接钱包方法
onDisconnect()
0.1.0

10 months ago

0.1.2

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.1.3

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago