Skip to content

Commit

Permalink
add derivable interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Jun 24, 2023
1 parent 02228f7 commit f456673
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/domain/models/DerivableKey.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { DerivationPath } from "../../apollo/utils/derivation/DerivationPath";
import { PrivateKey } from "./KeyManagement";

export abstract class DerivableKey {
abstract derive(): void;
abstract derive(derivationPath: DerivationPath): PrivateKey;
}

0 comments on commit f456673

Please sign in to comment.