[–] 2color 11mo ago ↗ There's a `loadOrCreateSelfKey` function which you can use to load the key from a persistent datastore (fs).It's documented here: https://github.com/libp2p/js-libp2p/tree/4420fad686921f88785...I'll be sure to update the docs to include an example in the config docs.
3 comments
[ 3.1 ms ] story [ 16.4 ms ] threadIt's documented here: https://github.com/libp2p/js-libp2p/tree/4420fad686921f88785...
I'll be sure to update the docs to include an example in the config docs.