Problem
Currently, when publishing to IPFS, all changes to the metadata necessitate a change to the dataURI on the smart contract, increasing the number of smart contract calls.
Solution
Use js-ipfs to instead publish to IPNS. Require that the dataURI be passed such that it forms a standard URI, with applicable handlers to be implemented by the client (eg. ipns://, ipfs://, bzz://).
Problem
Currently, when publishing to
IPFS, all changes to the metadata necessitate a change to thedataURIon the smart contract, increasing the number of smart contract calls.Solution
Use
js-ipfsto instead publish toIPNS. Require that thedataURIbe passed such that it forms a standard URI, with applicable handlers to be implemented by the client (eg.ipns://,ipfs://,bzz://).