Closed OR13 closed 7 years ago
This PR implements some helper methods on TransmuteIpfs
Consider a state change in 2 large json objects: state1 and state2.
These helper methods allow for computing of a patch from state1 to state2.
This patch can then be saved to IPFS as IPLD.
Any JSON object state change can therefor be reconstructed from a base object (state1) and some number of IPLD hashes.
https://github.com/cujojs/jiff https://www.npmjs.com/package/ipld
This allows for more compact representation of larger state changes on IPFS.
This PR implements some helper methods on TransmuteIpfs
Consider a state change in 2 large json objects: state1 and state2.
These helper methods allow for computing of a patch from state1 to state2.
This patch can then be saved to IPFS as IPLD.
Any JSON object state change can therefor be reconstructed from a base object (state1) and some number of IPLD hashes.
https://github.com/cujojs/jiff https://www.npmjs.com/package/ipld
This allows for more compact representation of larger state changes on IPFS.