Agoric / dapp-offer-up

Offer Up is a simple Dapp for the Agoric smart contract platform that permits users to explore items for sale in a marketplace
6 stars 5 forks source link

Using/Teaching `zone.exo` instead of `Far` #89

Open amessbee opened 3 months ago

amessbee commented 3 months ago

This adds code to contract file (and related deps to package.json) to use zone.exo to replace Far. Note that this is only for teaching purpose at the moment and does not make resulting contract upgradable because zone and baggage are created inside start function. The upgradability will require changing start signature which I am avoiding at the moment.

Ref(s): https://github.com/Agoric/documentation/issues/1033

amessbee commented 3 months ago

This can't be merged until https://github.com/Agoric/dapp-offer-up/pull/78 due to node version requirement for zone. @dckc

dckc commented 3 months ago

I gather recent symptoms include a problem when starting the ui: a blank page and a console error:

tame-console.js:159  TypeError: Cannot read properties of undefined (reading 'subscribeAfter')