Modules
- The
AccountId32
type is a wrapper aroundsp_core::crypto::AccountId32
with added functionality and convenience methods. It is designed for working with account IDs in the context of Substrate-based blockchains. This wrapper is necessary because thescale_encode::EncodeAsType
andscale_decode::DecodeAsType
traits are not implemented forsp_core::crypto::AccountId32
, but they are required for the latest version of thesubxt
crate. - A signer suitable for substrate based chains. This provides compatibility with Substrate packages like sp_keyring and such, and so relies on sp_core and sp_runtime to be included. Custom implementation needed because as it feature gated by subxt
substrate-compat
feature flag.