maidsafe / sn_dbc

Safe Network DBCs
BSD 3-Clause "New" or "Revised" License
15 stars 16 forks source link

enables Mint to be Serializable, Deserializable #58

Closed dan-da closed 3 years ago

dan-da commented 3 years ago

This PR wraps SecretKeyShare with SerdeSecret, which enables it to be serialized, thus enabling Mint to be serialized, along with the spendbook.

I need the serialization in mint-cli example only until a better method is implemented for writing out spendbook and key data, which is supposed to be coming soon (tm). Thus, it is not critical that this be merged. But if it isn't, it blocks adding the mint-cli example until the better solution is impl'd.