IPFSDictChain Module
- class ipfs_dict_chain.IPFSDictChain.IPFSDictChain(cid: str | None = None)[source]
Bases:
IPFSDictA dictionary-like data structure that stores its state on IPFS and keeps track of changes.
- Parameters:
cid (Optional[str], optional) – The IPFS CID to initialize the dictionary with, defaults to None
- changes() Dict[str, Dict[str, Any]][source]
Returns a dictionary containing the changes between the current state and the previous state.