Suggest unlimited approvals as default in Swap #21198
Labels
feature/web3/wallet
Integrating Ethereum+ wallet support
front-end-change
This task is a front end task and doesn't need any C++ changes
OS/Desktop
QA Pass-Linux
QA/Yes
release-notes/include
Milestone
Brave Wallet currently suggests the current balance as a the default allowance value on the token contracts for 0x exchange proxy. This is done for security reasons, but creates a lot of friction in the UX and costs a lot in fees due to repeated on-chain transactions. The proposal is to have one-time Unlimited allowance suggested by our Swap, but warn the users about it during transaction confirmation.
Test plan
For the QA steps, please try to reproduce the demo in the linked PR. Also try to test the following:
The text was updated successfully, but these errors were encountered: