@uxuyalpha/web3-onboard-uxuy
v2.4.4
Published
UXUY SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern ja
Downloads
11
Readme
@web3-onboard/Uxuy
Wallet module for connecting Uxuy Wallet SDK to web3-onboard
See Uxuy Wallet Developer Docs
Install
npm i @web3-onboard/uxuy
Options
interface UxuyWalletParameters {
debug?: boolean
bridge?: string
connect?: string
connect_direct_link?: string
injected?: boolean
request_timeout?: number
metaData?: {
hostname: string
icon?: string
name?: string
url?: string //
description?: string
direct_link?: string
}
}
Usage
import Onboard from '@web3-onboard/core'
import UxuyWalletModule from '@uxuyalpha/web3-onboard-uxuy'
// initialize the module with options
const UxuyWalletSdk = UxuyWalletModule()
// can also initialize with no options...
// const UxuyWalletSdk = UxuyWalletModule()
const onboard = Onboard({
// ... other Onboard options
wallets: [
UxuyWalletSdk
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)