Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add a small Rust CLI tool to the quickstart image for non-trivial startup logic

Aperta
#906 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
rust, shell
Ambito
cli, tooling

Direzione di ricerca

Inizia esaminando gli script di avvio dell’immagine quickstart e la discussione in PR #841. Limita la prima implementazione al calcolo dell’indirizzo del contratto dell’asset nativo a partire da un ID di rete usando i crate di basso livello stellar-xdr e stellar-strkey; il lavoro è completo quando la CLI viene distribuita nell’immagine e sostituisce la configurazione fragile.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature request
What problem does your feature solve?

The quickstart image startup scripts use shell tools like jq, stellar-xdr, and stellar-strkey to perform tasks such as computing the native asset contract address and (in the future) deploying the native asset contract for local networks (#555). As more logic is added to these scripts, they become increasingly brittle and hard to maintain.

Context: https://github.com/stellar/quickstart/pull/841#issuecomment-3710247435

What would you like to see?

A small Rust CLI application that lives in the quickstart image and handles any logic that is not trivial enough to live in a shell script. It would:

  • Stay low level and minimal
  • Depend only on very low level components released early as part of stellar-core (e.g. stellar-xdr crate, stellar-strkey crate)
  • Compute the native asset contract address given a network ID
  • Eventually submit a transaction to deploy the native asset contract for local networks (#555)
  • Replace the current config setup that is very brittle

The intent is for this tool to be easy to update quickly when a new stellar-core is released, or even when working with an unreleased stellar-core using new XDR definitions.

What alternatives are there?
  • Continue using shell scripts: Combine jq, stellar-xdr, stellar-strkey, and other CLI tools in bash. This works but becomes brittle as more complex logic is added.
  • Ship stellar-cli with quickstart: This would provide the needed functionality but stellar-cli is much further downstream, making it harder for quickstart to quickly adopt a just-released or unreleased stellar-core.
Lingua principale
Shell
Stelle
224
Fork
237
Merge medio
1g 12h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stellar/quickstart

Tutte le issue di stellar/quickstart

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.