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
When submitting a script through polkadot-js console and trying to sign using Talisman wallet I got the error Cannot sign with a locked key pair:
The script is one of the examples, where SENDER is the address from my Talisman wallet:
constSENDER='5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY';constRECEIVER='5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty';// Get a random number between 1 and 100000constrandomAmount=Math.floor((Math.random()*100000)+1);// Create a extrinsic, transferring randomAmount units to Bob.consttransfer=api.tx.balances.transferAllowDeath(RECEIVER,randomAmount);// Sign and Send the transactionawaittransfer.signAndSend(SENDER,({ events =[], status })=>{if(status.isInBlock){console.log('Successful transfer of '+randomAmount+' with hash '+status.asInBlock.toHex());}else{console.log('Status of transfer: '+status.type);}events.forEach(({ phase,event: { data, method, section }})=>{console.log(phase.toString()+' : '+section+'.'+method+' '+data.toString());});});
Environment
Brave Browser - Version 1.65.114 Chromium: 124.0.6367.60 (Official Build) (64-bit)
Talisman Wallet - Version v1.25.0
The text was updated successfully, but these errors were encountered:
When submitting a script through polkadot-js console and trying to sign using Talisman wallet I got the error
Cannot sign with a locked key pair
:The script is one of the examples, where SENDER is the address from my Talisman wallet:
Environment
The text was updated successfully, but these errors were encountered: