Package Exports
- @uxuyalpha/web3-onboard-uxuy
- @uxuyalpha/web3-onboard-uxuy/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uxuyalpha/web3-onboard-uxuy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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)