Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 2.02 KB

17_0_Talking_to_Bitcoind_Other.md

File metadata and controls

26 lines (17 loc) · 2.02 KB

Chapter 17: Talking to Bitcoind with Other Languages

You should now have a solid foundation for working with Bitcoin in C, not only using RPC, JSON, and ZMQ libraries to directly interact with bitcoind, but also utilizing the Libwally libraries to complement that work. And C is a great language for prototyping and abstraction — but it's probably not what you're programming in. This chapter thus takes a whirlwind tour of six other programming languages, demonstrating the barest Bitcoin functionality in each and allowing you to expand the lessons of the command line and C to the programming language of your choice.

Each of the sections contains approximately the same information, focused on: creating an RPC connection; examining the wallet; creating a new address, and creating a transaction. However, there's some variety among the languages, showing off different aspects of Bitcoin's RPC commands in different examples. In particular, some languages use the easy methodology of sendtoaddress while others use the hard methodology of creating a raw transaction from scratch.

Objectives for This Chapter

After working through this chapter, a developer will be able to:

  • Prepare Bitcoin Development Environments for a Variety of Languages
  • Use Wallet Functions in a Variety of Languages
  • Use Transaction Functions in a Variety of Languages

Supporting objectives include the ability to:

  • Understand More about Bitcoin RPC through Interactions with a Variety of Languages

Table of Contents