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 attempting to sign grouped transactions with Pera created on the server using Python and algosdk. Looking at your code, it appears to expect a "from" field:
Pera.ts, line 225 const signer = algosdk.encodeAddress(txn.from.publicKey)
The transactions created using algosdk do not have a from field, but a sender field instead. Because these are group transactions, I cannot alter the transaction on the client without breaking the signature.
My current workaround is to access the wallet directly:
const peraWallet = await activeWallet.value.client
and sign using this wallet.
Wouldn't it be best to stick to the standard transaction format? One fix would be to add a signRawTransaction method, that would pass the transaction unaltered to the client.
The text was updated successfully, but these errors were encountered:
Hi @ironhacker
Reach out to the official Support Portal to report your request and get more details by initiating a live chat with an agent through the chat button on the platform. Access the portal here: Support Page.
Note: Click the chat button to start a conversation with an agent for assistance.
I'm attempting to sign grouped transactions with Pera created on the server using Python and algosdk. Looking at your code, it appears to expect a "from" field:
Pera.ts, line 225
const signer = algosdk.encodeAddress(txn.from.publicKey)
The transactions created using algosdk do not have a from field, but a sender field instead. Because these are group transactions, I cannot alter the transaction on the client without breaking the signature.
My current workaround is to access the wallet directly:
const peraWallet = await activeWallet.value.client
and sign using this wallet.
Wouldn't it be best to stick to the standard transaction format? One fix would be to add a signRawTransaction method, that would pass the transaction unaltered to the client.
The text was updated successfully, but these errors were encountered: