Closed otoole-brendan closed 6 months ago
In preparation for auto wallet provisioning where absent (Agoric/agoric-sdk#8558) - dapp-inter changes are required in order to accommodate this new flow/UX.
To be clear, the changes are not needed before auto-provisioning is deployed. The current manual provisioning should still work. It actually is likely simpler to only deploy the UI change after auto-provision is deployed.
Yep - apologies, I was aware of that having discussed with Sam yesterday. 'Required' is too strong...will update
What is the Problem Being Solved?
In preparation for auto wallet provisioning where absent (https://github.com/Agoric/agoric-sdk/issues/8558) - there are dapp-inter changes we can make to accommodate this new flow/UX.
In current flow, a user is prompted with the 'You need to provision a wallet dialog that will cost 10BLD' if they connect Keplr on the app and no wallet is detected.
Description of the Design
Once #8558 is deployed - the desired flow will change to:
Dialog Text + Design:
Title: 'Smart Wallet Required' 'To interact with contracts on the Agoric chain, a smart wallet must be created for your account. As an anti-spam measure, you will need 1 IST to fund its provision which will be deposited into the community fund. Click 'Proceed' to provision wallet and submit transaction.'
Security Considerations
N/A
Test Plan
Will be smoke tested