Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 564 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 564 Bytes

@web3-onboard/gnosis

Wallet module for connecting Gnosis Safe to web3-onboard

Install

npm i @web3-onboard/gnosis

Options

type GnosisOptions = {
  whitelistedDomains: RegExp[]
}

Usage

import Onboard from '@web3-onboard/core'
import gnosisModule from '@web3-onboard/gnosis'

const gnosis = gnosisModule()

const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    gnosis
    //... other wallets
  ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)