Learning-Bitcoin-from-the-C.../16_0_Programming_with_Libwally.md
2020-08-11 13:04:56 -10:00

1.4 KiB

Chapter 16: Programming with Libwally

The previous chapter presented three C Libraries, for RPC, JSON, and ZMQ, all of which are intended to interact directly with bitcoind, just like you've been doing since the start. But, sometimes you might want to code without direct access to a bitcoind. This might be due to an offline client, or just because you want to keep some functionality internal to your C program. You also might want to get into deeper wallet functionality, like mnemonic word creation or address derivation. That's where Libwally comes in: it's a wallet library for C, C++, Java, NodeJS, or Python, with wrappers also available for other languages, such as Swift.

This chapter touches upon the functionality possible within Libwally, most of which complements the work you've done through RPC access to bitcoind, but some of which replicates it. Obviously, this could be used with all three of the libraries from the previous chapter (and generally with a bitcoind), and together they can create a strong basis for your C programming of Bitcoin.

Objectives for This Chapter

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

  • Use Cryptographic Functions with Libwally
  • Use Wallet Functions with Libwally
  • Create C Programs that Integrate Multiple Functionality

Supporting objectives include the ability to:

[TODO]

Table of Contents