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 theSerde
types. Use it as a field of your Handle messages (input and output), for example in themsg
field of theReceive
interface, to remove the boilerplate of serializing or deserializing theBinary
to the relevant typeT
. - 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
- Alias of
cosmwasm_std::Binary
for better naming