Expand description

Secret Contract Development Toolkit - Serialization Tools

⚠️ This package is a sub-package of the secret-toolkit package. Please see its crate page for more context.

This package contains all the tools related to serialization helpers.

Structs

  • A wrapper that automatically deserializes base64 strings to T using one of the Serde types. Use it as a field of your Handle messages (input and output), for example in the msg field of the Receive interface, to remove the boilerplate of serializing or deserializing the Binary to the relevant type T.
  • Use bincode2 for serialization.
  • Use json for serialization

Traits

  • This trait represents the ability to both serialize and deserialize using a specific format.

Type Aliases