From 9e6fa3cd5850fbfcb538824223fc66b49151378b Mon Sep 17 00:00:00 2001 From: URANI Date: Wed, 27 Mar 2024 22:14:44 +0100 Subject: [PATCH] add a readme for pda --- README.md | 2 +- demos/03_anchor_pda/README.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 demos/03_anchor_pda/README.md diff --git a/README.md b/README.md index 75ef4625..0fb45d20 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ * **[Demo 1: Hello World](demos/01_hello_world)** * **[Demo 2. Anchor and CPI](demos/02_anchor_cpi)** -* **[Demo 3. Program Derived Addresses](demos/03_pda)** +* **[Demo 3. Program Derived Addresses](demos/03_anchor_pda)**
diff --git a/demos/03_anchor_pda/README.md b/demos/03_anchor_pda/README.md new file mode 100644 index 00000000..b25a2516 --- /dev/null +++ b/demos/03_anchor_pda/README.md @@ -0,0 +1,18 @@ +# 🛹 Demo 3: A Simple PDA Example on Anchor + +
+ + +* Build with: + +``` +anchor build +``` + +
+ +* And then run tests with: + +``` +anchor test +``` \ No newline at end of file