kleros / builder-baseline

A baseline for the Kleros Builder covering architectural, UX, security, coding styles, tooling decisions.
MIT License
0 stars 0 forks source link

Standard URIs for IPFS resources #16

Closed jaybuidl closed 2 months ago

jaybuidl commented 7 months ago

⚠ REVERTED


All the IPFS URIs we have been using since v1 do not conform with the RFC3986 specs for URIs.

/ipfs/QmZ3Cmnip8bmFNruuTuCdxPymEjyK9VcQEyf2beDYcaHaK/metaEvidence.jsonipfs://QmZ3Cmnip8bmFNruuTuCdxPymEjyK9VcQEyf2beDYcaHaK/metaEvidence.json

It should be relatively easy to fix, and we could even have a fallback for backward-compatibility.

Implementation

https://github.com/kleros/kleros-v2/issues/1447 ❌ reverted https://github.com/kleros/escrow-v2/issues/27 ❌ reverted

jaybuidl commented 2 months ago

Counter-argument: the multiaddress format https://github.com/multiformats/multiaddr?tab=readme-ov-file#use-cases

jaybuidl commented 2 months ago

Marking as canceled as multiaddress looks superior.