funga

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

web3_middleware.py (369B)


      1 from web3ext import Web3
      2 
      3 # TODO: remove and replace with test
      4 if __name__ == '__main__':
      5     w3 = Web3()
      6     print(w3.eth.personal.newAccount('foo'))
      7     print(w3.eth.blockNumber)
      8     #print(w3.eth.sendTransaction({'to': '0xd3CdA913deB6f67967B99D67aCDFa1712C293601','from': '0xc305c901078781C232A2a521C2aF7980f8385ee9','value': 1000}))
      9         
     10         
     11         
     12