Skip to content

Commit a075e9f

Browse files
docs: replace collapsible sections with flat headings in README
1 parent 36b01c9 commit a075e9f

1 file changed

Lines changed: 5 additions & 33 deletions

File tree

README.md

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ This repo contains Solana onchain programs (referred to as 'Smart Contracts' in
1212
> ⚠️ This repository uses **pnpm** as the default package manager.
1313
> Ensure pnpm is installed before running any examples.
1414
15-
1615
Each folder includes examples for one or more of the following:
1716

1817
- `anchor` - Written using [Anchor](https://www.anchor-lang.com/), the most popular framework for Solana development, which uses Rust.
@@ -27,14 +26,10 @@ Each folder includes examples for one or more of the following:
2726
Build and test commands are the same as native examples.
2827
Run `pnpm test` to execute tests.
2928

30-
3129
**If a given example is missing, please send us a PR to add it!** Our aim is to have every example available in every option. We'd also love to see more programs involving staking, wrapped tokens, oracles, compression and VRF. Follow the [contributing guidelines](./CONTRIBUTING.md) to keep things consistent.
3230

3331
## The example programs
34-
35-
<details>
36-
<summary>Basics</summary>
37-
32+
## Basics
3833
### Hello world
3934

4035
[Hello World on Solana! A minimal program that logs a greeting.](./basics/hello-solana/README.md)
@@ -124,11 +119,7 @@ How to store state that changes size in Solana.
124119
[Send SOL between two accounts.](./basics/transfer-sol/README.md)
125120

126121
[anchor](./basics/transfer-sol/anchor) [native](./basics/transfer-sol/native) [pinocchio](./basics/transfer-sol/pinocchio)
127-
128-
</details>
129-
<details>
130-
<summary>Tokens</summary>
131-
122+
## Tokens
132123
### Creating tokens
133124

134125
[Create a token on Solana with a token symbol and icon.](./tokens/create-token/README.md)
@@ -170,13 +161,7 @@ Allow two users to swap digital assets with each other, each getting 100% of wha
170161
[Create liquidity pools to allow trading of new digital assets and allows users that provide liquidity to be rewarded by creating an Automated Market Maker.](./tokens/token-swap/README.md)
171162

172163
[anchor](./tokens/token-swap/anchor)
173-
174-
</details>
175-
176-
<details>
177-
178-
<summary>Token Extensions</summary>
179-
164+
## Token Extensions
180165
### Basics - create token mints, mint tokens, and transfer tokens with Token Extensions
181166

182167
Create token mints, mint tokens, and transfer tokens using Token Extensions.
@@ -254,12 +239,7 @@ Create tokens that remain under the control of an account, even when transferred
254239
Create tokens with an inbuilt transfer fee.
255240

256241
[anchor](./tokens/token-2022/transfer-fee/anchor) [native](./tokens/token-2022/transfer-fee/native)
257-
258-
</details>
259-
<details>
260-
261-
<summary>Compression</summary>
262-
242+
## Compression
263243
### Cnft-burn
264244

265245
Burn compressed NFTs.
@@ -277,19 +257,11 @@ Store Metaplex compressed NFTs inside a PDA.
277257
Work with Metaplex compressed NFTs.
278258

279259
[anchor](./compression/cutils/anchor)
280-
281-
</details>
282-
283-
<details>
284-
285-
<summary>Oracles</summary>
286-
260+
## Oracles
287261
### pyth
288262

289263
Use a data source for offchain data (called an Oracle) to perform activities onchain.
290264

291265
[anchor](./oracles/pyth/anchor)
292266

293-
</details>
294-
295267
---

0 commit comments

Comments
 (0)