input-output-hk / cip72-dapp-registration

Apache License 2.0
4 stars 3 forks source link

feat: [LW-9189] fetch and validate metadata #5

Closed greatertomi closed 8 months ago

greatertomi commented 8 months ago

This PR fetches the off-chain metadata from the metadata url and removes the need for a local copy of the off-chain metadata.

This also improved the formatting of the codes to make them more consistent.

emiride commented 8 months ago

I tested this and it works as expected. Steps I used to test this:

Used previous version from current main and submitted a dApp - LINK TO TRANSACTION

Used new version with same offchain metadata uploaded - LINK TO TRANSACTION

As can be seen, on-chain metadata is the same in both versions, which is expected.