@bn-onboard/gnosis
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-alpha.6 • Public • Published

@bn-onboard/gnosis

Wallet module for connecting Gnosis Safe to Onboard V2

Install

npm i @bn-onboard/gnosis

Options

type GnosisOptions = {
  whitelistedDomains: RegExp[]
}

Usage

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

const gnosis = gnosisModule()

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @bn-onboard/gnosis

Weekly Downloads

1

Version

2.0.0-alpha.6

License

MIT

Unpacked Size

2.99 kB

Total Files

6

Last publish

Collaborators

  • tdawson
  • zeroecco
  • cmeisl