Substrate.fromSeedAndPath constructor

Substrate.fromSeedAndPath(
  1. List<int> seedBytes,
  2. dynamic path,
  3. SubstrateCoins coinType
)

Create a Substrate context from a seed, path, and coin type.

Implementation

factory Substrate.fromSeedAndPath(
    List<int> seedBytes, dynamic path, SubstrateCoins coinType) {
  final substrateCtx = Substrate.fromSeed(seedBytes, coinType);
  return substrateCtx.derivePath(path);
}