Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 2 additions & 78 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ members = [
"basics/favorites/pinocchio/program",
"basics/favorites/anchor/programs/favorites",
"basics/pyth/anchor/programs/pythexample",
"basics/repository-layout/native/program",
"basics/repository-layout/pinocchio/program",
"basics/repository-layout/anchor/programs/*",
"basics/transaction-v1/anchor/programs/transaction-v1",
"basics/transfer-sol/native/program",
"basics/transfer-sol/pinocchio/program",
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ Calculate an account's size to determine the minimum rent-exempt balance.

[⚓ Anchor v1](./basics/rent/anchor-v1) [⚓ Anchor v2](./basics/rent/anchor) [💫 Quasar](./basics/rent/quasar) [🤥 Pinocchio](./basics/rent/pinocchio) [🦀 Native](./basics/rent/native)

### Repository Layout

Structure a larger Solana program across multiple files and modules.

[⚓ Anchor v1](./basics/repository-layout/anchor-v1) [⚓ Anchor v2](./basics/repository-layout/anchor) [💫 Quasar](./basics/repository-layout/quasar) [🦀 Native](./basics/repository-layout/native)

### Transfer SOL

Send SOL between two accounts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ pub fn handle_pull_lever(
//
// The lever's switch_power instruction takes `String<50>`, which Quasar
// serialises with a single-byte length prefix (matching every other
// Quasar program: account-data, close-account, rent, realloc,
// repository-layout). An earlier version of this builder used a u32
// length prefix, which sent a malformed payload on every CPI call.
// Quasar program: account-data, close-account, rent, realloc). An earlier
// version of this builder used a u32 length prefix, which sent a malformed
// payload on every CPI call.
//
// 128 bytes is enough for any reasonable name (max 50 + 1 + 1 = 52).
let mut data = [0u8; 128];
Expand Down
7 changes: 0 additions & 7 deletions basics/repository-layout/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions basics/repository-layout/anchor-v1/Anchor.toml

This file was deleted.

5 changes: 0 additions & 5 deletions basics/repository-layout/anchor-v1/CHANGELOG.md

This file was deleted.

14 changes: 0 additions & 14 deletions basics/repository-layout/anchor-v1/Cargo.toml

This file was deleted.

40 changes: 0 additions & 40 deletions basics/repository-layout/anchor-v1/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions basics/repository-layout/anchor-v1/programs/carnival/Cargo.toml

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions basics/repository-layout/anchor-v1/programs/carnival/src/error.rs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading