Agoric / ui-kit

Components and tools for building graphical UIs
https://ui-kit-dwm.pages.dev/
Apache License 2.0
3 stars 3 forks source link

Extend web-components with the ability to send a provision smart-wallet transaction #41

Closed WietzeSlagman closed 11 months ago

WietzeSlagman commented 11 months ago

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.ts

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.

Security Considerations

Scaling Considerations

Test Plan