The architecture behind our cryptocurrencies system
Now that the fundamentals for object-oriented programming with R have been illustrated, we will take those principles and apply them to the example we will work with for the rest of the book. We will build a system to track cryptocurrencies with object-oriented programming. If you're not familliar with cryptocurrencies, read the beginning of this chapter for a brief introduction.
The design and implemention you will see in this example evolved over various iterations and weeks. It's actually a part of the basic system I initially used in CVEST (https://www.cvest.tech/) to offer a single point of truth for users managing a diverse set of cryptocurrencies (although it was not implemented in R), so don't feel that you should be able to come up with a design like this right away (although many people certainly are able to, but most of the time, object-oriented systems are evolve in unpredicted ways). As Grady Booch puts it: "A complex system...