Counter
In this example, we will implement a counter on Solana. When a user invokes the program the counter will add 1.
Concepts that we will learn about:
- Program Derive Address (PDA)
- Serialize & deserialize data
This example was originally from the program, example-helloworld, of Solana-labs. I rename it since I think its core function is a counter, which is a good example to demostrate how state data stored on Solana.