Skip to content

Commit

Permalink
Clarify ValueError: The method eth_sendTransaction (#2474)
Browse files Browse the repository at this point in the history
* Clarify ValueError: The method eth_sendTransaction does not exist/is not available

This confuses new user so better to put it directly in the docs
  • Loading branch information
miohtama authored and pacrob committed May 23, 2022
1 parent 0dcf2ba commit bd0cf57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/web3.eth.account.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ Example ``account_test_script.py``
print(f"Your hot wallet address is {account.address}")
# Now you can use web3.eth.send_transaction(), Contract.functions.xxx.transact() functions
# with your local private key through middleware and you no longer get the error
# "ValueError: The method eth_sendTransaction does not exist/is not available
Example how to run this in UNIX shell:

.. code-block:: shell
Expand All @@ -103,6 +107,7 @@ Example how to run this in UNIX shell:
# Run our script
python account_test_script.py
This will print::

Your hot wallet address is 0x27C8F899bb69E1501BBB96d09d7477a2a7518918
Expand Down
1 change: 1 addition & 0 deletions newsfragments/2474.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add clarification around ValueError and Local Signing middleware

0 comments on commit bd0cf57

Please sign in to comment.