Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
de4c09f
chore: remove checked-in .vscode settings
dev-jodee Jul 28, 2026
6ee100f
chore: replace biome with prettier using @solana/prettier-config-solana
dev-jodee Jul 28, 2026
f3f59a4
chore: drop husky and lint-staged, CI enforces formatting
dev-jodee Jul 28, 2026
6950f0a
chore: remove stale anchor 1.0 migration notes
dev-jodee Jul 28, 2026
9d39040
chore: remove unused root runtime dependencies
dev-jodee Jul 28, 2026
7533632
chore: add .nvmrc, pin rust toolchain, adopt shared rustfmt style
dev-jodee Jul 28, 2026
4be8c57
docs: document intentional no-workspace layout
dev-jodee Jul 28, 2026
72c20e3
refactor: merge rent example into create-account
dev-jodee Jul 28, 2026
ca315cf
refactor: remove spl-token-minter, duplicate subset of transfer-tokens
dev-jodee Jul 28, 2026
5fa8540
refactor: remove nft-minter, covered by nft-operations
dev-jodee Jul 28, 2026
7fa0289
refactor: rehabilitate block-list transfer-hook example
dev-jodee Jul 28, 2026
75e8b9c
fix: rehabilitate token-2022 metadata and nft-meta-data-pointer examples
dev-jodee Jul 28, 2026
4a7bbbd
chore: re-enable escrow and token-swap anchor tests in CI, failures n…
dev-jodee Jul 28, 2026
3c6ea75
fix: compression examples build again, add getrandom custom feature f…
dev-jodee Jul 28, 2026
f80be2a
chore: remove dead examples and stale CI ignores
dev-jodee Jul 28, 2026
3dfabb6
fix: make CI typecheck pass for block-list, metadata, nft-meta-data-p…
dev-jodee Jul 28, 2026
6c7f132
refactor: migrate all tests from solana-bankrun to litesvm
dev-jodee Jul 29, 2026
d80a687
test: fix exit-code blind spot and replace stub pinocchio tests
dev-jodee Jul 29, 2026
2dc9fcd
fix: rehabilitate the six remaining fixable CI-skipped examples
dev-jodee Jul 29, 2026
e817028
refactor: upgrade all pinocchio programs to 0.11, matching world-cup
dev-jodee Jul 29, 2026
898bfcb
refactor: unify the TS test harness on mocha 11 + tsx across all exam…
dev-jodee Jul 29, 2026
4c0ac2e
fix: use confirmed commitment in transfer-hook tests
dev-jodee Jul 29, 2026
ea0987a
chore: pin anchor_version 1.0.2 in every Anchor.toml toolchain
dev-jodee Jul 29, 2026
493d3fd
refactor: modernize the four legacy-pinned native programs
dev-jodee Jul 29, 2026
570d66a
refactor: migrate non-anchor tests from web3.js to @solana/kit
dev-jodee Jul 29, 2026
0f83d1f
fix: per-crate feature declarations and CI rust-test guards
dev-jodee Jul 29, 2026
460b5b3
chore: bump @solana/kit to ^7 across example tests
dev-jodee Jul 29, 2026
304e593
refactor: hand-roll Metaplex instructions, drop the mpl-token-metadat…
dev-jodee Jul 29, 2026
339c40b
docs: add AGENTS.md
dev-jodee Jul 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
70 changes: 2 additions & 68 deletions .github/.ghaignore
Original file line number Diff line number Diff line change
@@ -1,74 +1,8 @@
# build and test error
basics/realloc/native
basics/cross-program-invocation/native

# bankrun runtime rejects an instruction the current build-sbf toolchain emits
basics/favorites/native

# uses generated client from shank, can't rewrite to solana-bankrun
tools/shank-and-solita/native

# can't test on localnet
tokens/pda-mint-authority/native
tokens/nft-minter/native
tokens/transfer-tokens/native
tokens/spl-token-minter/native
tokens/create-token/native

tokens/token-swap/anchor

# not building
oracles/pyth/anchor

# not building
# programs build; tests need the DAS API, unavailable on localnet
compression/cutils/anchor
compression/cnft-vault/anchor
# builds but need to test on localhost
compression/cnft-burn/anchor

# test failing
# https://github.com/solana-developers/helpers/issues/40
tokens/escrow/anchor

# not live
tokens/token-2022/group/anchor

# error in tests
tokens/external-delegate-token-master/anchor

# build failed - program outdated
tokens/token-2022/metadata/anchor

# dependency issues
tokens/token-2022/nft-meta-data-pointer/anchor-example/anchor

tokens/token-2022/mint-close-authority/native
tokens/token-2022/transfer-fee/native
tokens/token-2022/non-transferable/native

# all steel projects

basics/account-data/steel
basics/checking-accounts/steel
basics/close-account/steel
basics/counter/steel
basics/create-account/steel
basics/cross-program-invocation/steel
basics/favorites/steel
basics/pda-rent-payer/steel
basics/processing-instructions/steel
basics/program-derived-addresses/steel
basics/realloc/steel
basics/rent/steel
basics/transfer-sol/steel

tokens/escrow/steel

tokens/pda-mint-authority/steel
tokens/spl-token-minter/steel
tokens/token-swap/steel
tokens/transfer-tokens/steel

# justfile-driven example: built and tested by .github/workflows/just.yml,
# not the legacy pinocchio CI (it has no build-and-test script)
games/world-cup/pinocchio
games/world-cup/pinocchio
21 changes: 4 additions & 17 deletions .github/.workspace-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,10 @@ games/world-cup/pinocchio/program
games/world-cup/pinocchio/tests/integration-tests
oracles/pyth/anchor/programs/pythexample
tokens/create-token/anchor/programs/create-token
tokens/create-token/native/program
tokens/escrow/anchor/programs/escrow
tokens/escrow/native/program
tokens/external-delegate-token-master/anchor/programs/external-delegate-token-master
tokens/nft-minter/anchor/programs/nft-minter
tokens/nft-minter/native/program
tokens/nft-operations/anchor/programs/mint-nft
tokens/pda-mint-authority/anchor/programs/token-minter
tokens/pda-mint-authority/native/program
tokens/spl-token-minter/anchor/programs/spl-token-minter
tokens/spl-token-minter/native/program
tokens/token-2022/basics/anchor/programs/basics
tokens/token-2022/cpi-guard/anchor/programs/cpi-guard
tokens/token-2022/default-account-state/anchor/programs/default-account-state
Expand All @@ -32,25 +25,19 @@ tokens/token-2022/interest-bearing/anchor/programs/interest-bearing
tokens/token-2022/memo-transfer/anchor/programs/memo-transfer
tokens/token-2022/metadata/anchor/programs/metadata
tokens/token-2022/mint-close-authority/anchor/programs/mint-close-authority
tokens/token-2022/nft-meta-data-pointer/anchor-example/anchor/programs/extension_nft
tokens/token-2022/nft-meta-data-pointer/anchor/programs/extension_nft
tokens/token-2022/non-transferable/anchor/programs/non-transferable
tokens/token-2022/permanent-delegate/anchor/programs/permanent-delegate
tokens/token-2022/transfer-fee/anchor/programs/transfer-fee
tokens/token-2022/transfer-hook/account-data-as-seed/anchor/programs/transfer-hook
tokens/token-2022/transfer-hook/allow-block-list-token/anchor/programs/abl-token
tokens/token-2022/transfer-hook/counter/anchor/programs/transfer-hook
tokens/token-2022/transfer-hook/hello-world/anchor/programs/transfer-hook
tokens/token-2022/transfer-hook/pblock-list/cli
tokens/token-2022/transfer-hook/pblock-list/pino/cli
tokens/token-2022/transfer-hook/pblock-list/pino/program
tokens/token-2022/transfer-hook/pblock-list/pino/sdk/rust
tokens/token-2022/transfer-hook/pblock-list/program
tokens/token-2022/transfer-hook/pblock-list/sdk/rust
tokens/token-2022/transfer-hook/block-list/pinocchio/cli
tokens/token-2022/transfer-hook/block-list/pinocchio/program
tokens/token-2022/transfer-hook/block-list/pinocchio/sdk/rust
tokens/token-2022/transfer-hook/transfer-cost/anchor/programs/transfer-hook
tokens/token-2022/transfer-hook/transfer-switch/anchor/programs/transfer-switch
tokens/token-2022/transfer-hook/whitelist/anchor/programs/transfer-hook
tokens/token-fundraiser/anchor/programs/fundraiser
tokens/token-swap/anchor/programs/token-swap
tokens/transfer-tokens/anchor/programs/transfer-tokens
tokens/transfer-tokens/native/program
tools/shank-and-solita/native/program
20 changes: 10 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,41 @@ multi-ecosystem-groups:
all-deps:
schedule:
interval: cron
cronjob: "0 9 1,15 * *"
cronjob: '0 9 1,15 * *'
timezone: UTC
open-pull-requests-limit: 10

updates:
- package-ecosystem: cargo
directory: "/"
directory: '/'
multi-ecosystem-group: all-deps
patterns: ["*"]
patterns: ['*']
cooldown:
default-days: 7
allow:
- dependency-name: "*"
- dependency-name: '*'
update-types:
- version-update:semver-patch

- package-ecosystem: github-actions
directory: "/"
directory: '/'
multi-ecosystem-group: all-deps
patterns: ["*"]
patterns: ['*']
cooldown:
default-days: 7
allow:
- dependency-name: "*"
- dependency-name: '*'
update-types:
- version-update:semver-patch

- package-ecosystem: npm
directories:
- "**/*"
- '**/*'
multi-ecosystem-group: all-deps
patterns: ["*"]
patterns: ['*']
cooldown:
default-days: 7
allow:
- dependency-name: "*"
- dependency-name: '*'
update-types:
- version-update:semver-patch
4 changes: 2 additions & 2 deletions .github/workflows/anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Anchor

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'
push:
branches:
- main
Expand All @@ -26,7 +26,7 @@ env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
# Harden cargo against transient crates.io index fetch failures that flake
# cargo build-sbf ("failed to get <crate> as a dependency").
CARGO_NET_RETRY: "10"
CARGO_NET_RETRY: '10'
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/just.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Just

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'
push:
branches:
- main
Expand All @@ -24,7 +24,7 @@ concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
CARGO_NET_RETRY: "10"
CARGO_NET_RETRY: '10'
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/solana-asm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ASM

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'
push:
branches:
- main
Expand All @@ -24,7 +24,7 @@ env:
MIN_PROJECTS_FOR_MATRIX: 4
# Harden cargo against transient crates.io index fetch failures that flake
# cargo build-sbf ("failed to get <crate> as a dependency").
CARGO_NET_RETRY: "10"
CARGO_NET_RETRY: '10'
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
fi

# Run Rust unit tests
if [ -d "program" ]; then
if [ -f "program/Cargo.toml" ]; then
echo "Running Rust unit tests for $project"
if ! cargo test --manifest-path=./program/Cargo.toml; then
echo "::error::Rust unit tests failed for $project"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/solana-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Native

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'
push:
branches:
- main
Expand All @@ -24,7 +24,7 @@ env:
MIN_PROJECTS_FOR_MATRIX: 4
# Harden cargo against transient crates.io index fetch failures that flake
# cargo build-sbf ("failed to get <crate> as a dependency").
CARGO_NET_RETRY: "10"
CARGO_NET_RETRY: '10'
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
fi

# Run Rust unit tests
if [ -d "program" ]; then
if [ -f "program/Cargo.toml" ]; then
echo "Running Rust unit tests for $project"
if ! cargo test --manifest-path=./program/Cargo.toml; then
echo "::error::Rust unit tests failed for $project"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/solana-pinocchio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pinocchio

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'
push:
branches:
- main
Expand All @@ -24,7 +24,7 @@ env:
MIN_PROJECTS_FOR_MATRIX: 4
# Harden cargo against transient crates.io index fetch failures that flake
# cargo build-sbf ("failed to get <crate> as a dependency").
CARGO_NET_RETRY: "10"
CARGO_NET_RETRY: '10'
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
fi

# Run Rust unit tests
if [ -d "program" ]; then
if [ -f "program/Cargo.toml" ]; then
echo "Running Rust unit tests for $project"
if ! cargo test --manifest-path=./program/Cargo.toml; then
echo "::error::Rust unit tests failed for $project"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

jobs:
biome:
name: Biome check
prettier:
name: Prettier check
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ node_modules/
**/*/node_modules
**/*/package-lock.json
**/*/Cargo.lock
# Exception: escrow native needs Cargo.lock to pin blake3 (see tokens/escrow/native/Cargo.toml)
!tokens/escrow/native/Cargo.lock

**/*/.anchor
**/*/.DS_Store
Expand All @@ -21,3 +19,5 @@ node_modules/

/target
deploy

.vscode/
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package.json
pnpm-lock.yaml
Cargo.lock
**/Assets/
games/world-cup/
tokens/token-2022/transfer-hook/block-list/pinocchio/sdk/
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"@solana/prettier-config-solana"
41 changes: 0 additions & 41 deletions .reference/ANCHOR-1.0-MIGRATION.md

This file was deleted.

4 changes: 0 additions & 4 deletions .vscode/settings.json

This file was deleted.

Loading
Loading