Geo-Web-Project / cadastre

Map-based interface for claiming, buying, and managing Geo Web land parcels.
https://geoweb.land/
MIT License
26 stars 15 forks source link

feat!: SSX and w3up integration #387

Closed codynhat closed 1 year ago

codynhat commented 1 year ago

Description

Updates @geo-web/content to 0.5.x, which contains Ceramic performance improvements and new integration with w3up and SSX. Using the new w3up and UCAN required some changes to how we use SIWE. There must now be an actual nonce generated on the server, with a server verifying the SIWE signature before issuing a UCAN to allow a user to upload content to our web3.storage space.

This contains a breaking change in the content layer. Writes to content using this Cadastre is not backwards compatible with older versions of @geo-web/content. The corresponding PR for the browser should be deployed before this one to ensure compatibility.

Issue

https://github.com/Geo-Web-Project/js-geo-web/issues/10

Checklist:

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

Alert Reviewers

@tnrdd @gravenp

tnrdd commented 1 year ago

Works nicely on my end too. All the configuration done in pages/index.tsx to set w3InvocationConfig doesn't even affect loading time!