Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 696 Bytes

File metadata and controls

40 lines (30 loc) · 696 Bytes

@web3-onboard/sequence

Wallet module for connecting Sequence wallet to web3-onboard

Install

npm i @web3-onboard/sequence 0xsequence ethers
or
yarn add @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)