diff --git a/README.md b/README.md index c83d5438..73e8ee78 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Full documentation is available at https://spl.solana.com ### Environment Setup 1. Install the latest Rust stable from https://rustup.rs/ -2. Install Solana v1.4.6 or later from from https://docs.solana.com/cli/install-solana-cli-tools +2. Install Solana v1.4.6 or later from https://docs.solana.com/cli/install-solana-cli-tools ### Build diff --git a/examples/c/README.md b/examples/c/README.md new file mode 100644 index 00000000..ce7ba1e6 --- /dev/null +++ b/examples/c/README.md @@ -0,0 +1,22 @@ + +# Program examples written in C + +The examples in this directory demonstrate various Solana program mechanisms. +They are for code reference only and are not end-to-end working examples. The +current C test frameworks are very limited so not all functionality is fully +tested. + +## Environment Setup + +1. Install `make` +2. Install gcc +3. Install Solana v1.4.6 or later from + https://docs.solana.com/cli/install-solana-cli-tools + +## Build and Test + +To build the examples and run the tests: + +```bash +$ make +``` \ No newline at end of file diff --git a/examples/rust/README.md b/examples/rust/README.md new file mode 100644 index 00000000..94c7ae09 --- /dev/null +++ b/examples/rust/README.md @@ -0,0 +1,11 @@ + +# Program examples written in C + +The examples in this directory demonstrate various Solana program mechanisms. +They are for code reference only and are not end-to-end examples that interact +with a live cluster. + +## Build and Test + +The root [README](../../README.md) gives instructions on how to build and test +these examples. \ No newline at end of file