Closed WietzeSlagman closed 11 months ago
Allow dapp-developers to easily provision smart-wallet from any dapp through web-components.
Extend the interactive signer in web-components with the signing of the provision that exists in wallet-app, and expose this through makeAgoricWalletConnection. https://github.com/Agoric/wallet-app/blob/main/wallet/src/util/keyManagement.ts
makeAgoricWalletConnection
Would require an update to how watchWallet handles not having a smart-wallet assigned to the current account that is used for the chain-connection.
watchWallet
What is the Problem Being Solved?
Allow dapp-developers to easily provision smart-wallet from any dapp through web-components.
Description of the Design
Extend the interactive signer in web-components with the signing of the provision that exists in wallet-app, and expose this through
makeAgoricWalletConnection
. https://github.com/Agoric/wallet-app/blob/main/wallet/src/util/keyManagement.tsWould require an update to how
watchWallet
handles not having a smart-wallet assigned to the current account that is used for the chain-connection.Security Considerations
Scaling Considerations
Test Plan