Repository navigation
Replies: 5 comments 2 replies
|
Hi @deeryoona, please create a discussion, tickets are for bugs/improvements only. Could you please specify which Solana address you expect to get? Did you export this private key from an external wallet? |
2 replies
0 replies
|
I've found a solution for that issue. You need to pass only the first 32 bytes to get the private key with this SDK: This will return a working PrivateKey. @deeryoona I think it would help you |
0 replies
0 replies
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
i am an iOS developer
if let prik = PrivateKey(data: Data(hexString: "Nno9dBF53drmKNYbaXNKxyAf5KMFfMzudVXQgLcBgpzWqMJ5dK6MfsR51gaDPhsNLgEj2hkStnqGFU7iuBFmWF2")!) {
let address = CoinType.solana.deriveAddress(privateKey: prik)
return address
}else{
return ""
}
i can not get sol address,i do not know how to get the correct sol address
All reactions