hg0088线上

in order for a software application to interact with the ethereum blockchain (i.e. read blockchain data and/or send transactions to the network), it must connect to an ethereum node.

for this purpose, every ethereum client implements the json-rpc specification, so there are a uniform set of endpoints that applications can rely on.

hg0088线上if you want to use a specific programming language to connect with an ethereum node, roll your own solution but several convenience libraries exist within the ecosystem that make this much easier. with these libraries, developers can write intuitive, one-line methods to initialize json rpc requests (under the hood) that interact with ethereum.

Prerequisites

It might be helpful to understand the Ethereum stack and Ethereum clients.

Why use a library?

hg0088线上these libraries abstract away much of the complexity of interacting directly with an ethereum node. they also provide utility functions (e.g. converting eth to gwei) so as a developer you can spend less time dealing with the intricacies of ethereum clients and more time focused on the unique functionality of your application.

Available libraries

Alchemy - Ethereum API and developer tools.

Infura - The Ethereum API as a service.

Cloudflare Ethereum Gateway.

Nodesmith - JSON-RPC API access to Ethereum mainnet and testnets.

Ethercluster - Run your own Ethereum API service supporting both ETH and ETC.

Chainstack - Shared and dedicated Ethereum nodes as a service.

QuikNode - Blockchain developer platform.

Python Tooling - Variety of libraries for Ethereum interaction via Python.

web3j - A Java/Android/Kotlin/Scala integration library for Ethereum.

Rivet - Ethereum and Ethereum Classic APIs as a service powered by open source software.

Further reading

Know of a community resource that helped you? Edit this page and add it!

Back to top ↑
  • On this page
  • Prerequisites
  • Why use a library?
  • Available libraries
  • Further reading
  • Related topics
  • Related tutorials