program-examples/basics/counter/README.md at main · usmanovbf/program-examples

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

File metadata and controls

14 lines (7 loc) · 349 Bytes

Counter

This example program allows anyone to create a counter and increment it.

Any counter can be incremented by any key.

Note: Seahorse

Seahorse currently does not allow the program to initialize anchor accounts unless they are PDAs.

Seahorse example only allows users to increment the counter that corresponds to their public key.