this code works and the transaction is signed
when I call
const tx1 = await wallet.sendTransaction(signedTransactionRequest); I get an error stating invalid transaction invalid sender. shouldn't the address that signed my transaction be the same as the ETH address computed from my PKP public key. I keep getting a different signature and public key everytime I sign the transaction
const pkpWallet = new PKPEthersWallet({
controllerSessionSigs: sessionSigs,
// controllerAuthSig:sessionSigs,
// controllerSessionSigs:session.contr,
// Or you can also pass in controllerSessionSigs
pkpPubKey: publicKey,
rpc: 'https://chain-rpc.litprotocol.com/http'
});
await pkpWallet.init();
return {pkpWallet,sessionSigs}
}
Current issue is a user asking about the same problem \~1 year after the issue first opened. I responded here asking for more details/an example of their implementation
Description of the issue
From user:
const signedTransactionRequest = await wallet.signTransaction( tx );
this code works and the transaction is signed when I call const tx1 = await wallet.sendTransaction(signedTransactionRequest); I get an error stating invalid transaction invalid sender. shouldn't the address that signed my transaction be the same as the ETH address computed from my PKP public key. I keep getting a different signature and public key everytime I sign the transaction
const pkpWallet = new PKPEthersWallet({
This is my wallet.
Message link
Additional context
No response