This directory contains two Agoric Wallet pieces:
api
- the legacy "off-chain" wallet used by @agoric/soloui
- the @agoric/smart-wallet user interface
The smart wallet has not yet subsumed all the features of the off-chain wallet. Until it does, we require the api
directory.
The ui
directory no longer supports the off-chain wallet. In order to work around this, we point the solo web server at a wallet UI package that does.
Change the legacy wallet UI:
- Check out the Agoric SDK branch containing a working ag-solo wallet (such as
community-dev
). yarn && yarn build
cd packages/wallet/ui
- Develop any changes to the wallet, then
yarn build
yarn publish
, setting the version number to end in-solo.N
where N is greater than the previous.- Commit, create a PR and target it at the same branch in step 1.
Next, you can update the master branch:
- Check out the Agoric SDK master branch.
- Set the version of
@agoric/wallet-ui
in thepackages/wallet/package.json
to be the one you published (the exact version, no caret or tilde). yarn
- Test your wallet updates by running an ag-solo (sim chain is fine).
- Commit, create a PR and target it at master.
After merging the first PR, you can merge the second.