JSPM

@uxuyalpha/web3-onboard-uxuy

2.4.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q54936F
  • License MIT

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 javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.

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)