xmtp-ios
xmtp-ios copied to clipboard
Bug: What is the appropriate way to create a PrivateKey?
Describe the bug
I am attempting to use PrivateKey.sign(data)
Implementing like this:
let privateKey = try PrivateKey(xmtpClient.keys.identityKey)
However when this is done the privateKey's address does not match the client's address
Is there a correct one to handle this? Or should there be different values used to ultimately create a signature?
Expected behavior
No response
Steps to reproduce the bug
No response