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
@@ -12,21 +12,20 @@ This repo contains Solana onchain programs (referred to as 'Smart Contracts' in
12
12
> ⚠️ This repository uses **pnpm** as the default package manager.
13
13
> Ensure pnpm is installed before running any examples.
14
14
15
-
16
15
Each folder includes examples for one or more of the following:
17
16
18
17
-`anchor` - Written using [Anchor](https://www.anchor-lang.com/), the most popular framework for Solana development, which uses Rust.
19
18
Use `anchor build` and `anchor deploy` to build and deploy the program.
20
19
Tests should be executed using `pnpm test` as defined in the `Anchor.toml` scripts section.
21
20
22
-
-`native` - Written using Solana's native Rust crates and vanilla Rust.
23
-
Build and test commands are defined via pnpm scripts and use `litesvm` for testing.
24
-
Run `pnpm test` to execute tests.
25
-
26
21
-`pinocchio` - Written using [Pinocchio](https://github.com/febo/pinocchio), a zero-copy, zero-allocation library for Solana programs.
27
22
Build and test commands are the same as native examples.
28
23
Run `pnpm test` to execute tests.
29
24
25
+
-`native` - Written using Solana's native Rust crates and vanilla Rust.
26
+
Build and test commands are defined via pnpm scripts and use `litesvm` for testing.
27
+
Run `pnpm test` to execute tests.
28
+
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.
32
31
@@ -36,43 +35,43 @@ Each folder includes examples for one or more of the following:
36
35
37
36
[Hello World on Solana! A minimal program that logs a greeting.](./basics/hello-solana/README.md)
0 commit comments