Currently, we are not calling ipfs.pin.add after creating de DID document, but we should. We aren’t experiencing any issues because JS IPFS doesn’t GC files yet, but it will eventually.
Moreover, we will need a method to do the opposite, maybe dispose or unpin, which should be called when we remove an identity from the IDM wallet.
Currently, we are not calling
ipfs.pin.add
after creating de DID document, but we should. We aren’t experiencing any issues because JS IPFS doesn’t GC files yet, but it will eventually.Moreover, we will need a method to do the opposite, maybe
dispose
orunpin
, which should be called when we remove an identity from the IDM wallet.