Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions apps/docs/content/docs/en/programs/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ example programs within them:

- [Basics](#basics)
- [Tokens](#tokens)
- [Token 2022 (Token Extensions)](#token-2022-token-extensions)
- [Token Extensions (Token 2022)](#token-extensions-token-2022)

There are also [ecosystem program examples](#ecosystem-solana-program-examples)

## Basics

Expand Down Expand Up @@ -61,7 +63,7 @@ interact with them in programs.
| [Transfer Tokens](https://github.com/solana-developers/program-examples/tree/main/tokens/transfer-tokens) | Shows how to transfer SPL token using CPIs into the token program. | Anchor, Native |
| [Token-2022](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022) | See Token 2022 (Token extensions). | Anchor, Native |

## Token 2022 (Token Extensions)
## Token Extensions (Token 2022)

Token 2022 is a new standard for tokens on Solana. It is a more flexible and
lets you add 16 different extensions to a token mint to add more functionality
Expand All @@ -78,3 +80,12 @@ to it. A full list of the extensions can be found in the
| [Not Transferable](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/non-transferable) | Useful for example for achievements, referral programs or any soul bound tokens. | Anchor, Native |
| [Transfer fee](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/transfer-fee) | Every transfer of the tokens hold some tokens back in the token account which can then be collected. | Anchor, Native |
| [Transfer Hook](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/transfer-hook) | Four examples to add additional functionality to your token using a CPI from the token program into your program. | Anchor |

## Ecosystem Solana program examples

Third parties often maintain their own libraries of example Solana programs.
These are maintained by the providers rather than by Solana Foundation.

- [Quicknode's Solana Program Examples](https://github.com/quicknode/solana-program-examples)
provides additional programs, particularly for financial software, for both
newer Anchor versions and the Quasar framework.
Loading