Using Web3-Onboard
The Sequence wallet can be added through the Blocknative web3-onboard package.
Installation
The Sequence module is available through npm:
npm install @web3-onboard/sequence 0xsequence ethers
or
yarn add @web3-onboard/sequence 0xsequence ethers
Usage
import sequenceModule from '@web3-onboard/sequence'
const sequenceOptions = {
network: 137,
appName: 'My app'
}
const sequenceOnboard = sequenceModule({})
const onboard = Onboard({
wallets: [
sequenceOnboard,
...restWallets
],
...restofOnboardParams
})
Parameters
network (optional)
The default network that the Sequence wallet will attempt to connect to.
appName (optional)
The name of the app which will show up in Sequence's prompt upon an attempt to connect.
Example
An example demo of an integration of Sequence + Web3 Onboard is available here