npm i @web3-onboard/sequence 0xsequence ethers
or
yarn add @web3-onboard/sequence 0xsequence ethers
type SequenceOptions {
appName?: string
network?: number | string
}
import Onboard from '@web3-onboard/core'
import sequenceModule from '@web3-onboard/sequence'
const sequence = sequenceModule({
appName: 'My app'
})
const onboard = Onboard({
// ... other Onboard options
wallets: [
sequence
//... other wallets
]
})
const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)