Compatibility
- Wallets are by default opted out of Magic’s Signature Request UI and Sign Confirmation, but we do recommend that you enable both to enhance wallet security
Use cases
When users connect their wallet to an app or send tokens to another wallet, they are performing an on-chain transaction. Magic provides Signature Request UI that you can enable in the developer dashboard so users are prompted to approve these actions before it is executed. However, malicious front-end attacks can attempt to trick users into performing unintended actions by overlaying malicious content on top of legitimate websites or applications such as your own. By opting into the Sign Confirmation feature, you add an extra layer of security to users’ wallets, preventing front-end attacks and ensuring that they can more safely confirm transactions.Usage
- Go to the Magic Dashboard and sign into your developer account
- Go to your app for which you would like to enable this feature
- Go to Settings on the left navigation bar, scroll down to the Sign Confirmation section, and click Edit in the top right corner
- Toggle on Enable confirmation in new tab and click Save