{"repo":"mana-ethereum/ethereumex","free":true,"listed":false,"github":"https://github.com/mana-ethereum/ethereumex","clone":"git clone https://github.com/mana-ethereum/ethereumex.git","description":"Elixir JSON-RPC client for the Ethereum blockchain","language":"Elixir","stars":393,"topics":["elixir","ethereum-client","ethereum","json-rpc"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Ethereumex Elixir JSON-RPC client for the Ethereum blockchain. Check out the documentation here. Installation Add :ethereumex to your list of dependencies in mix.exs : Configuration HTTP In config/config.exs , add Ethereum protocol host params to your config file You can also configure the HTTP request timeout for requests sent to the Ethereum JSON-RPC (you can also overwrite this configuration in opts used when calling the client). :pool timeout - This timeout is applied when we check out a connection from the pool. Default value is 5 000 . :receive timeout - The maximum time to wait for a response before returning an error. Default value is 15 000 :enable request error logs - Optional request error logs. Default value is false IPC If you want to use IPC you will need to set a few things in your config. First, specify the :client type : This will resolve to :http by default. Second, specify the :ipc path : The IPC client type mode opens a pool of connection workers (default is 5 and 2, respectively). You can configure the pool size. WebSocket The WebSocket client supports both standard JSON-RPC requests and real-time subscriptions. To use it, configure your application with: Standard RPC Calls All standard RPC methods work the same as with HTTP: Real-time Subscriptions Subscribe to various blockchain events: Available subscription types: - :newHeads - New block headers - :logs - Contract events/logs with optional filtering - :newPendingTransactions - Pending transaction hash","default_branch":null,"files":null,"tree":[],"storefront":"/r/mana-ethereum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mana-ethereum/ethereumex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}