Module moonbeam_service::chain_spec
source · Modules§
- Moonbase Chain Specifications and utilities for building them.
- Moonbeam Chain Specifications and utilities for building them.
- Moonriver Chain Specifications and utilities for building them.
- Embedded specs for testing purposes, must be compiled with –features=test-spec
Structs§
Functions§
- Helper function to derive
num_accounts
child pairs from mnemonics Substrate derive function cannot be used because the derivation is different than Ethereum’s https://substrate.dev/rustdocs/v2.0.0/src/sp_core/ecdsa.rs.html#460-470 - Function to generate accounts given a mnemonic and a number of child accounts to be generated Defaults to a default mnemonic if no mnemonic is supplied
- Helper function to get an
AccountId
from an ECDSA Key Pair. - Helper function to generate a crypto pair from seed
Type Aliases§
- Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.