Closed samsiegart closed 1 month ago
LGTM, awesome demo. I think there may be several reusable components that can be valuable in UI-kit if they don't already exist 😎
Thanks! Yea this stuff makes full use of the existing ui-kit, so whatever I wrote in this PR doesn't already exist as a component.
I just edited the PR to disable invitation swaps due to https://github.com/Agoric/agoric-sdk/issues/9378, will merge now.
Allows giving any assets (set, copyBag, or nat) in your purse and getting any assets in a recipient's purse.
One wrinkle is that all swap invitations have the same description, "matchOffer", so for offer specs to work correctly when you have multiple, we'll have to change the contract to make them unique (like "matchOffer-[x]").
Screenshots