You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
I was just about to make a pull request for this, when i have seen there already was a PR and a discussion for this last year here #9
Persisting peerIds by exporting and importing seems like a core functionality to me.
I use it in all of my projects. The createFromJSON is also used often in the examples. Here was also a user recently who needed this libp2p/js-libp2p#1613
Is there another way to persist peer ids?
Handling uint8Arrays isnt't easy for everyone, so having this function would be nice.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Could you add a function "exportToJSON" to to libp2p-peer-id-factory?
It should return a json object that can be used with the existing createFromJSON function.
The text was updated successfully, but these errors were encountered: