瀏覽代碼

counter: add descriptive README.md

ngundotra 3 年之前
父節點
當前提交
96f52c3cef
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      basics/counter/README.md

+ 14 - 0
basics/counter/README.md

@@ -0,0 +1,14 @@
+# 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.
+
+