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? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
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
Beta Was this translation helpful? Give feedback.
All reactions