Add a small Rust CLI tool to the quickstart image for non-trivial startup logic
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza revisando los scripts de inicio de la imagen de quickstart y la discusión en PR #841. Limita la primera implementación a calcular la dirección del contrato del activo nativo a partir de un ID de red usando los crates de bajo nivel stellar-xdr y stellar-strkey; se considera terminado cuando la CLI se incluye en la imagen y reemplaza la configuración frágil.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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-xdrcrate,stellar-strkeycrate) - 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.
- Lenguaje dominante
- Shell
- Estrellas
- 224
- Forks
- 237
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 7
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de stellar/quickstart
-
DockerHub README workflow fails with 403 ForbiddenPosiblemente ocupada @leighmcculloch la tomó hace 1 día. Abiertobug
stellar/quickstart#988 · 1 comentario · 1 asignado ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
stellar/quickstart#932 · 16 comentarios · 2 reacciones ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
stellar/quickstart#923 · 2 comentarios ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
stellar/quickstart#911 · 2 comentarios ·
-
feature request
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
stellar/quickstart#907 · 1 comentario ·
Todos los issues de stellar/quickstart
Issues similares
-
🎙️ task - fix(deployer): deploy --env prep runs deploy:dev where the repo declares deploy:prepAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
backlog bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
WLAN-Pi/wlanpi-profiler#306 ·
Los mantenedores suelen responder en 1 día
-
area: backend good first issue priority: P3 - low size: S type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Mizithra/ActiveTerrain#31 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
obra/superpowers#2422 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ComplianceAsCode/content#15152 ·
Los mantenedores suelen responder en 2 días