0.3.0 • Published 4 years ago
@gnosis.pm/safe-apps-onboard v0.3.0
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
- Setup Safe App
- Use
Onboard
fromsafe-apps-onboard
instead ofbnc-onboard
import Onboard from 'safe-apps-onboard'
export const onboard = Onboard(onboardOptions)