Package Exports
- @subwallet-connect/sequence
- @subwallet-connect/sequence/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@subwallet-connect/sequence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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)