Gnosis
Wallet module for connecting Gnosis Safe to web3-onboard

@web3-onboard/gnosis

Install

npm i @web3-onboard/gnosis

Options

1
type GnosisOptions = {
2
whitelistedDomains: RegExp[]
3
}
Copied!

Usage

1
import Onboard from '@web3-onboard/core'
2
import gnosisModule from '@web3-onboard/gnosis'
3
4
const gnosis = gnosisModule()
5
6
const onboard = Onboard({
7
// ... other Onboard options
8
wallets: [
9
gnosis
10
//... other wallets
11
]
12
})
13
14
const connectedWallets = await onboard.connectWallet()
15
console.log(connectedWallets)
Copied!
Copy link