Skip to content

Commit

Permalink
added getPrivateKeyWIF to memory wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
cf committed Jul 1, 2024
1 parent cb49f7e commit 75c875c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wallet/memory/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class DogeMemoryWallet implements IDogeTransactionSigner{
this.wif = encodePrivateKeyToWIF(privateKey, networkId);
this.name = name;
}
getPrivateKeyWIF(): Promise<string> {
return Promise.resolve(this.wif);
}
getCompressedPublicKey(): Promise<string> {
return Promise.resolve(this.compressedPublicKeyHex);
}
Expand Down

0 comments on commit 75c875c

Please sign in to comment.