@subwallet-connect/sequence
v1.0.8
Published
Sequence is the smartest Web3 wallet. Easy, fun and secure.
Downloads
11
Maintainers
Readme
@subwallet-connect/sequence
Wallet module for connecting Sequence wallet to web3-onboard
Install
npm i @subwallet-connect/sequence 0xsequence ethers
oryarn add @subwallet-connect/sequence 0xsequence ethers
Options
type SequenceOptions {
appName?: string
network?: number | string
}
Usage
import Onboard from '@subwallet-connect/core'
import sequenceModule from '@subwallet-connect/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)