@0xsequence/web3-onboard-plugin
v2.0.5
Published
Sequence is the smartest Web3 wallet. Easy, fun and secure.
Downloads
5
Readme
@web3-onboard/sequence
Wallet module for connecting Sequence wallet to web3-onboard
Install
npm i @web3-onboard/sequence @0xsequence ethers
Options
type SequenceOptions {
appName?: string
network?: number | string
}
Usage
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)