Optional dappId
This release makes the dappId
in the initialization object an optional parameter, so that Onboard.js can be used without an API key. By including a dappId
then you opt in to additional features:
- App onboarding chart analytics that are accessible via your account dashboard
- Connection to the Blocknative infrastructure which removes the need for Onboard to poll the provider to keep an accurate balance state as it can just retrieve the balance after it gets notified of a transaction event on the current account.
If a dappId
is not included in the initialization object, then "Powered by Blocknative" will be displayed on the bottom of each modal by default. If you would like to hide this branding, you can set an additional initialization parameter hideBranding: true
to remove it.
If you have included a dappId
but you would still like the Blocknative branding to be displayed, then set hideBranding: false
.
Changelog: