How to connect to Bitcoin or Ethereum with an RPC and how do Node API Providers differ?

Connecting to Bitcoin or Ethereum Network with RPC

from jsonrpc import ServiceProxy // if you want to use python-jsonrpc
from bitcoinrpc.authproxy import AuthServiceProxy // if you want to use python-bitcoinrpc
access = ServiceProxy("http://user:password@127.0.0.1:8332")
access.getblockchaininfo()
access.listreceivedbyaddress(6)
#access.sendtoaddress("11yEmxiMso2RsFVfBcCa616npBvGgxiBX", 10)

The Potential Pains of Running a Self-Hosted RPC Node

Consumes Plenty of Time

Unreliable Synchronization and Missing Optimization

Higher Cost

The Benefits of Outsourcing Node Management and Operations

  • Limited to private enterprises and consortium chains
  • More privacy
  • Clients need to commit to long-term contracts due to the operational costs
  • Developers can leverage the entire resource-set offered on our cloud
  • Available for public networks in the cloud
  • Relatively less privacy depending on the jurisdiction (i.e. GDPR or Patriot Act)
  • Flexible contracts that are usually cheaper in the short run
  • Limited/shared resources

Selecting the Best API Node Provider

Technical Factors

Non-Technical Errors

Conclusion

Freddy Zwanzger — Co-Founder of Anyblock

Interested or questions?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anyblock Analytics GmbH

Anyblock Analytics GmbH

Anyblock Analytics is a German blockchain solution provider. We offer consulting, tools and data to integrate business processes with blockchain.