Hello all, I have a very simple question:
I want to use ipfs as a library in GO to spawn a node in a separate process in my app and then to upload some files.
My problem is that, after creating the node with core.NewNode() I can’t figure out how to export the necessary node data (I’m guessing the private key) so that the next time the app is started, the same node could be spawned.
Could someone please paste a code snippet for this purpose? (so how to export, and then on node creation how to use the exported data).