Skip to content

Commit

Permalink
docs: move relevant docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed Nov 29, 2024
1 parent 470b1b9 commit ab8e0ad
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:catalyst_voices_models/catalyst_voices_models.dart';

/// Derives key pairs from a seed phrase.
final class KeyDerivation {
/// See: https://github.com/input-output-hk/catalyst-voices/pull/1300
static const int _purpose = 508;
static const int _type = 139;

Expand Down Expand Up @@ -47,8 +48,6 @@ final class KeyDerivation {

/// The path feed into key derivation algorithm
/// to generate a key pair from a seed phrase.
///
/// See: https://github.com/input-output-hk/catalyst-voices/pull/1300
String _roleKeyDerivationPath(AccountRole role) {
return "m/$_purpose'/$_type'/0'/${role.number}/0";
}
Expand Down

0 comments on commit ab8e0ad

Please sign in to comment.