Part of the implementation of #131. Switch to scale codec for encoding & decoding to be in line with spacemesh, which uses scale extensively for serialization and doesn't use borsh.
Also, fixes #136 (borsh depends on an unmaintained crate reported in the sec issue).
Part of the implementation of #131. Switch to scale codec for encoding & decoding to be in line with spacemesh, which uses scale extensively for serialization and doesn't use borsh.
Also, fixes #136 (borsh depends on an unmaintained crate reported in the sec issue).