Skip to content

Python client for Ethereum using the JSON-RPC interface

License

Notifications You must be signed in to change notification settings

jimkberry/ethjsonrpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethjsonrpc

Python client for Ethereum using the JSON-RPC interface

  • lightweight
  • complete: implements all 60 JSON-RPC methods

Installation

$ pip install ethjsonrpc

Example

>>> from ethjsonrpc import EthJsonRpc
>>> c = EthJsonRpc('127.0.0.1', 8545)
>>> c.net_version()
u'1'
>>> c.web3_clientVersion()
u'Geth/v1.1.3/linux/go1.5'
>>> c.eth_gasPrice()
50000000000
>>> c.eth_blockNumber()
230891

See also

About

Python client for Ethereum using the JSON-RPC interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%