PublicKey is not generated as expected Coin.EDDSA #271
Answered
by
hank121314
Sotatek-ToanTran
asked this question in
Q&A
-
PublicKey is not generated as expected Coin.EDDSA
This is a code common to get publicKey from this.publicKey(), it's not expected. // Get Address EDDSA
async getAddress(transport: types.Transport, appPrivateKey: string, appId: string, addressIndex: number): Promise<string> {
const publicKey = await this.getPublicKey(transport, appPrivateKey, appId, addressIndex);
// publicKey output: 7d6e279e17a99cc2af1c9aacd18ef626b839369abd57672bff5c7fc878ce0952
// return txUtil.pubKeyToAddress(publicKey, this.addressType);
}
// *Expected publicKey*:
// BIP 44, addressIndex 0: 74d0b6cc6a67c4041a8ab2611f054a9ca57fa1c6e4b29178bfe9462d49c8fbf9
// BIP-44 Change, addressIndex 0: 910a5ec043d8e79a6eb11d45d2fb6a2e34ef141f487ad5970f77a2b0cf24c4fe
XLM Error when run |
Beta Was this translation helpful? Give feedback.
Answered by
hank121314
Feb 11, 2022
Replies: 1 comment
-
|
Sorry for this issue. Thanks! Reference: #272 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Sotatek-ToanTran
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Sorry for this issue.
We have fixed it in the master branch. Please pull the latest change in master branch and test it again!
Thanks!
Reference: #272