You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For adding liquidity (#5077), the AMM needs to be able to call suggestIssuer on the wallet bridge and have the wallet import the issuer and create a purse for it.
Description of the Design
Implement the suggestInstance method in ScopedBridge.js which shows a request in the user's inbox to import the issuer. It can also have inputs for the issuer petname and purse petname. When the user accepts the request, it can trigger a signed wallet action to call suggestIssuer on the wallet contract.
Security Considerations
The scoped bridge is accessible to the dapps only once the users have approved the dapp, and the issuer will be added to the smart wallet only after the user approves it
Test Plan
The text was updated successfully, but these errors were encountered:
What is the Problem Being Solved?
For adding liquidity (#5077), the AMM needs to be able to call suggestIssuer on the wallet bridge and have the wallet import the issuer and create a purse for it.
Description of the Design
Implement the
suggestInstance
method in ScopedBridge.js which shows a request in the user's inbox to import the issuer. It can also have inputs for the issuer petname and purse petname. When the user accepts the request, it can trigger a signed wallet action to callsuggestIssuer
on the wallet contract.Security Considerations
The scoped bridge is accessible to the dapps only once the users have approved the dapp, and the issuer will be added to the smart wallet only after the user approves it
Test Plan
The text was updated successfully, but these errors were encountered: