Skip to main content

Crate host_encoding

Crate host_encoding 

Source
Expand description

Pure encoding/decoding functions for DOTNS and sp-statement-store.

No I/O. No threads. WASM-safe.

Modules§

dotns
Pure DOTNS encoding and decoding functions.
identity
Pure encoding and decoding for the Identity and Resources pallets on People chains.
statement_store
Pure sp-statement-store encoding and decoding functions.

Enums§

CryptoScheme
Crypto scheme selector for MultiSignature SCALE encoding.

Functions§

encode_multi_signature
Wrap a raw signature in a Substrate MultiSignature SCALE envelope.
hex_decode
Decode a 0x-prefixed (or bare) hex string into bytes.
hex_encode
Hex-encode bytes as a 0x-prefixed lowercase string.