Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Treasury should use smart wallet connection #137

Open
samsiegart opened this issue Aug 8, 2022 · 0 comments
Open

Treasury should use smart wallet connection #137

samsiegart opened this issue Aug 8, 2022 · 0 comments
Assignees

Comments

@samsiegart
Copy link
Contributor

The dapp should connect to the smart wallet through local storage instead of ag-solo.

It should use followers to read the collaterals and vaults (pending Agoric/agoric-sdk#5915).

NEEDS DESIGN:
How to getAccountState and quoteGiven with smart wallet?

const newAccountState = await E(walletP).getAccountState();

const quoteP = E(priceAuthority).quoteGiven(inputAmount, debt.brand);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants