|
1 سال پیش | |
---|---|---|
.github | 1 سال پیش | |
.husky | 1 سال پیش | |
basics | 1 سال پیش | |
compression | 1 سال پیش | |
oracles | 1 سال پیش | |
scripts | 1 سال پیش | |
tokens | 1 سال پیش | |
tools | 1 سال پیش | |
.gitignore | 1 سال پیش | |
Cargo.lock | 1 سال پیش | |
Cargo.toml | 1 سال پیش | |
README.md | 1 سال پیش | |
biome.json | 1 سال پیش | |
make-table-of-contents.ts | 1 سال پیش | |
package.json | 1 سال پیش | |
pnpm-lock.yaml | 1 سال پیش | |
yarn.lock | 1 سال پیش |
This repo contains Solana onchain programs (referred to as 'Smart Contracts' in other blockchains).
[!NOTE] 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 to learn more.
Each folder includes examples for one or more of the following
anchor
- Written using Anchor, the most popular framework for Solana Development, which uses Rust. Use anchor build && anchor deploy
to build & deploy the program. Run anchor run test
to test it.native
- Written using Solana's native Rust crates and vanilla Rust. Use cicd.sh
to build & deploy the program. Run yarn run test
to test it.seahorse
- Written using the Seahorse framework, which converts your Python code to Anchor Rust. Use seahorse build && anchor deploy
to build & deploy the program. Run anchor run test
to test it.If a given example is missing, please add it!
seahorse
folder