Module kilt_asset_dids::chain
source · Structs
- An EIP155 chain reference. It is a modification of the CAIP-3 spec according to the rules defined in the Asset DID method specification.
- A generic chain ID compliant with the CAIP-2 spec that cannot be boxed in any of the supported variants.
- A generic chain namespace as defined in the CAIP-2 spec. It stores the provided UTF8-encoded namespace without trying to apply any parsing/decoding logic.
- A generic chain reference as defined in the CAIP-2 spec.
- A chain reference for CAIP-2 chains that are identified by a Base58-encoded genesis hash of 32 characters.
- A chain reference for CAIP-2 chains that are identified by a HEX genesis hash of 32 characters.
Enums
- The Chain ID component as specified in the Asset DID specification.
Constants
- Namespace for Bip122 chains.
- Namespace for Dotsama chains.
- Namespace for Eip155 chains.
- The maximum length, including separator symbols, a chain ID can have according to the minimum values defined by the CAIP-2 definition.
- The maximum length of a valid chain ID namespace.
- The maximum length of a valid chain ID reference.
- The minimum length, including separator symbols, a chain ID can have according to the minimum values defined by the CAIP-2 definition.
- The minimum length of a valid chain ID namespace.
- The minimum length of a valid chain ID reference.
- Namespace for Solana chains.