@rangersprotocol-web3-onboard/okx
v1.0.8
Published
OKX Wallet 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 mod
Downloads
12
Readme
@web3-onboard/okx
Wallet module for connecting Tally Ho Wallet to web3-onboard
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)