0.3.0 • Published 4 years ago

@gnosis.pm/safe-apps-onboard v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Safe Apps Onboard

This is a wrapper around Onboard that adds Safe Apps support.

If the app using the wrapper is run as a Safe App the walletSelect method will automatically connect to the Safe App.

How to use

  • Install the package and its dependencies
npm i @gnosis.pm/safe-apps-onboard @gnosis.pm/safe-apps-sdk bnc-onboard 

yarn add @gnosis.pm/safe-apps-onboard @gnosis.pm/safe-apps-sdk bnc-onboard 
  • Use Onboard from safe-apps-onboard instead of bnc-onboard
import Onboard from 'safe-apps-onboard'

export const onboard = Onboard(onboardOptions)