@rangersprotocol-web3-onboard/okx
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

@web3-onboard/okx

Wallet module for connecting Tally Ho Wallet to web3-onboard

See OKX Wallet Developer Docs

Install

npm i @web3-onboard/okx

Usage

import Onboard from '@web3-onboard/core'
import okxWalletModule from '@web3-onboard/okx'

// initialize the module with options
const okxWalletSdk = okxWalletModule()

const onboard = Onboard({
    // ... other Onboard options
    wallets: [
        okxWalletSdk()
        //... other wallets
    ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)

/@rangersprotocol-web3-onboard/okx/

    Package Sidebar

    Install

    npm i @rangersprotocol-web3-onboard/okx

    Weekly Downloads

    5

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    6.89 kB

    Total Files

    8

    Last publish

    Collaborators

    • tianzige_dev
    • hai-tao