You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a Data object based on the private key of an existing wallet that I have. In javascript if I json.parse this file's contents it does create the wallet. However in swift if I use Data(JSONEncoder().encode("{key}")) it exceptions on the Wallet line.
let walletData = try? Data(JSONEncoder().encode("my key")
let wallet = try Wallet(jwkFileData: walletData!) // fails here
The text was updated successfully, but these errors were encountered:
Thanks I'll try that. I'm getting someone on discord saying that your library does not work on arweave v2 using either testweave or arlocal, only v1. He says he gets http 412 errors. I'll try it on my end and see.
I'm trying to create a Data object based on the private key of an existing wallet that I have. In javascript if I json.parse this file's contents it does create the wallet. However in swift if I use Data(JSONEncoder().encode("{key}")) it exceptions on the Wallet line.
The text was updated successfully, but these errors were encountered: