Sender account not authorized to send transactions

813 views Asked by At

I am trying to deploy smart contract in remix.ethereum.org. I am create a private network with hyperledger besu with 3 node. I added private keys to Metamask wallet. I can send eth to one account to another. I wrote a smart contract in remix.ethereum.org But When I deploy I get this error. I selected environment Injected Web3 in remix.

creation of Storage errored: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32007,"message":"Sender account not authorized to send transactions"}}}'
1

There are 1 answers

0
Serey Vathana Tum On

This could be the problem with Onchain Permissioning on your Besu network. Check your Besu configuration on :

  1. permissions-accounts-contract-enabled : "set to false to disable"
  2. permissions-accounts-contract-address : "add your account to allowed list"