use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
61 stars 44 forks source link

Prompt to unlock account when interacting with actual wallet accounts #513

Closed jimmychu0807 closed 7 months ago

jimmychu0807 commented 10 months ago

Describe the bug

When using development accounts (Alice, Bob, etc), I can interact fine with my contract, but when setting to an actual wallet account, sending a contract transaction yields a Call Error. Looking at the browser dev console sees the error message of:

Error: Cannot sign with a locked key pair

To Reproduce Steps to reproduce the behavior:

  1. Go to https://contracts-ui.substrate.io/
  2. Deploy a contract.
  3. Set the Caller to a wallet account.
  4. Send a transaction to the contract.

Expected behavior

I would expect Polkadot-js Extension will pop up a window to prompt me for password to unlock my keypair.

Screenshots

Screenshot 2023-09-03 at 07 01 06