Terms of service feature & Portis update
The latest release of Onboard includes a new option that enables developers to ask users to agree to the terms of services before using Onboard. To enable this feature add the following to your Onboard init object:
const onboard = Onboard({
...
walletSelect: {
agreement: {
version: '0.1.0',
termsUrl:'https://www.yourdapp.com/terms-conditions',
privacyUrl: 'https://www.yourdapp.com/privacy-policy',
}
}
})
Example:
Please see the docs for more information regarding this feature.
Additionally, it includes the updated Portis wallet!
Changelog: