Mina_net2.Keypairmodule Stable : sig ... endtype t = Stable.Latest.tval to_string : t -> stringFormats this keypair to a comma-separated list of public key, secret key, and peer_id.
val of_string : string -> t Core.Or_error.tUndo to_string t.
Only fails if the string has the wrong format, not if the embedded keypair data is corrupt.
val to_peer_id : t -> Network_peer.Peer.Id.tval secret : t -> string