Closed glamperd closed 1 year ago
IPFS deployment will require some variations to the code:
TODO:
npm run build-ipfs
COOP/COEP headers can be done using a service worker. No need now for a customised IPFS gateway.
Conditional compile is no longer necessary. The service worker is useful for other purposes. We'll revert to having a single build option.
The redirect URL will be determined from the URL at runtime even when running from a server. It will still be possible to override the redirect by adding a REACT_APP_SIGNIN_REDIRECT_URL
environment var.
The sequencer URL will need to be specified in .env
to build for IPFS
We should have an instance of the final version code deployed on IPFS such that this is a viable option for many users to run the front end. The aim is to have a content-addressed link for the sake of transparency wrt the code that users are running.