Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

tokens/nft-operations: add the native (Solana Native) flavor to complete the anchor/native/pinocchio trio

Abierto
#754 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust, typescript

Línea de trabajo

Read AGENTS.md and CONTRIBUTING.md, then compare the existing tokens/nft-operations/anchor/ and pinocchio/ flavors with the native examples named in the proposal. The work spans a Rust program crate and LiteSVM tests using @solana/kit; done means adding tokens/nft-operations/native/ with hand-built token-metadata instructions and the required build-and-test script. The issue is newly opened and has no comments or linked pull requests, but the proposed implementation is substantial.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Proposal

tokens/nft-operations currently ships two flavors: anchor/ and pinocchio/. The native/ flavor is missing, which breaks the repo's stated pattern of "one per framework flavor" for token examples (cf. tokens/create-token, tokens/transfer-tokens, tokens/pda-mint-authority, tokens/escrow, which all ship the full trio).

This issue proposes adding tokens/nft-operations/native/ — a Solana Native (plain cargo build-sbf) implementation of the same NFT operations the Anchor flavor teaches, so learners can compare the three frameworks on the same example.

Why this example

  • Framework-completion PRs have direct precedent: the Solana Foundation's recent program-examples bounty rounds paid for exactly this kind of flavor coverage (Account Data, PDA-Rent-Payer, Create Token, Transfer Tokens, Token Swap, etc.).
  • native/ is the middle ground learners use to understand what Anchor generates for them — it is the most instructive diff of the trio for Metaplex-heavy examples, since the native flavor hand-builds token-metadata instructions (per AGENTS.md, no mpl crate dependency, mpl_util.rs pattern).

What I will deliver (on approval — happy to be assigned)

  • tokens/nft-operations/native/ following the repo layout: program/ crate (root workspace member), package.json with the mandatory build-and-test script, LiteSVM-based tests via @solana/kit + litesvm 1.x (mocha + tsx, FailedTransactionMetadata assertions, svm.expireBlockhash() on resend).
  • Hand-built Metaplex token-metadata instructions in Rust (no mpl crate), mirroring the pinocchio flavor's approach where applicable.
  • No toolchain bumps, no lockfile hoisting, no shared JS helpers — AGENTS.md and CONTRIBUTING.md followed.
  • A separate branch + PR referencing Fixes #<this issue> once approved.

If the maintainers would rather see a different flavor gap filled first (e.g. tokens/token-swap native), I'm happy to redirect — it's open for me to pick up.

Lenguaje dominante
TypeScript
Estrellas
1.4k
Forks
548
Merge medio
57 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de solana-foundation/program-examples

Todos los issues de solana-foundation/program-examples

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.