File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Program Examples
2
2
3
- ### : crab : Rust. : snake : Python. : link : All on-chain.
3
+ ### Onchain program examples for : anchor : Anchor : crab : Native Rust and : snake : Python
4
4
5
5
## Navigating this Repo
6
6
7
7
:file_folder : Each example contains four folders:
8
8
9
- - ` native ` - Written using Solana's native Rust crates and vanilla Rust.
10
9
- ` anchor ` - Written using Anchor's ` anchor_lang ` Rust crate and the associated Anchor framework to build & deploy.
10
+ - ` native ` - Written using Solana's native Rust crates and vanilla Rust.
11
11
- ` seahorse ` - Written using the Python framework Seahorse, which converts your Python code to Anchor Rust.
12
12
13
13
:wrench : How to build & run:
14
14
15
15
- Before running anything in any folder make sure you pull in the dependencies with ` yarn install ` .
16
- - ` native ` - Use ` cicd.sh ` to build & deploy the program. Run ` yarn run test ` to test it.
17
16
- ` anchor ` - Use ` anchor build && anchor deploy ` to build & deploy the program. Run ` anchor run test ` to test it.
17
+ - ` native ` - Use ` cicd.sh ` to build & deploy the program. Run ` yarn run test ` to test it.
18
18
- ` seahorse ` - Use ` seahorse build && anchor deploy ` to build & deploy the program. Run ` anchor run test ` to test it.
19
19
20
20
## Examples We'd Love to See!
21
21
22
22
- Examples needed for Native:
23
- - Token2022
23
+ - Token Extensions
24
24
- Examples needed for Anchor:
25
25
- Additional Accounts & Resolving Accounts
26
26
- Examples needed for Seahorse
27
27
- Any existing example missing a ` seahorse ` folder
28
- - New examples needed for Solidity, Anchor, Native & Seahorse:
28
+ - New examples needed for Anchor, Native, Solidity & Seahorse:
29
29
- Token lending
30
30
- Token swapping
31
31
- Escrow
You can’t perform that action at this time.
0 commit comments