@okwallet/web3-react-okxwallet
v0.0.6
Published
Support web3-react(https://github.com/Uniswap/web3-react)
Downloads
299
Readme
web3-react-okxwallet-SDK
Support web3-react(https://github.com/Uniswap/web3-react)
How to use it
- Install web3-react first.
- download the code or npm install @okwallet/web3-react-okxwallet
- import it
Example
import { initializeConnector } from '@web3-react/core'
import { OKXWallet } from ' @okwallet/web3-react-okxwallet'
export const [okxWallet, hooks] = initializeConnector<OKXWallet>((actions) => new OKXWallet({ actions }))