You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo contains Solana onchain programs (referred to as 'Smart Contracts' in other blockchains).
8
8
9
-
> [!NOTE]
10
-
> If you're new to Solana, you don't need to create your own programs to perform basic things like making accounts, creating tokens, sending tokens, or minting NFTs. These common tasks are handled with existing programs, for example the System Program (for making account or transferring SOL) or the token program (for creating tokens and NFTs). See the [Solana Developer site](https://solana.com/developers) to learn more.
11
-
12
9
Each folder includes examples for one or more of the following:
13
10
14
11
-`anchor` - Written using [Anchor](https://www.anchor-lang.com/), the most popular framework for Solana development, which uses Rust.
15
12
Use `anchor build` and `anchor deploy` to build and deploy the program.
16
13
Tests should be executed using `pnpm test` as defined in the `Anchor.toml` scripts section.
17
14
18
-
-`quasar` - Written using [Quasar](https://github.com/blueshift-gg/quasar), a zero-copy, zero-allocation `no_std` framework for Solana programs with Anchor-compatible ergonomics.
15
+
-`quasar` - Written using [Quasar](https://github.com/blueshift-gg/quasar), a newer more performant framework with Anchor-compatible ergonomics.
19
16
Build and test commands are the same as native examples.
20
17
Run `pnpm test` to execute tests.
21
18
@@ -27,6 +24,8 @@ Each folder includes examples for one or more of the following:
27
24
Build and test commands are defined via pnpm scripts and use `litesvm` for testing.
28
25
Run `pnpm test` to execute tests.
29
26
27
+
> [!NOTE]
28
+
> If you're new to Solana, you don't need to create your own programs to perform basic things like making accounts, creating tokens, sending tokens, or minting NFTs. These common tasks are handled with existing programs, for example the System Program (for making an account or transferring SOL) or the token program (for creating tokens and NFTs).
30
29
31
30
**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.
0 commit comments