funga

Signer and keystore daemon and library for cryptocurrency software development
Log | Files | Refs | README | LICENSE

commit c2d4f105fe5882446754377fc78cbce28bc2af8c
parent 5313b4c8a6b1043b6b8779ef05f069d0bd06596a
Author: nolash <dev@holbrook.no>
Date:   Thu,  6 Aug 2020 09:54:01 +0200

Translate dict input

Diffstat:
Mscripts/web3_middleware.py | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 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 + })