From c2d4f105fe5882446754377fc78cbce28bc2af8c Mon Sep 17 00:00:00 2001 From: nolash Date: Thu, 6 Aug 2020 09:54:01 +0200 Subject: [PATCH] Translate dict input --- scripts/web3_middleware.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/web3_middleware.py b/scripts/web3_middleware.py index 79d7009..92e517f 100644 --- a/scripts/web3_middleware.py +++ b/scripts/web3_middleware.py @@ -83,4 +83,9 @@ w3 = Web3(WebsocketProvider('ws://127.0.0.1:8546')) w3.eth.personal = w3.geth.personal w3.middleware_onion.add(PlatformMiddleware) #print(w3.eth.personal.newAccount('foo')) -print(w3.eth.blockNumber) +#print(w3.eth.blockNumber) +print(w3.eth.sendTransaction({ + 'to': '0xd3CdA913deB6f67967B99D67aCDFa1712C293601', + 'from': web3.eth.coinbase, + 'value': 1000 + })