Skip to content

Add page(s) about how to to script deployments, invokes, etc and other ops tasks #814

Open

Description

@leighmcculloch

We should add page(s) about how to script deployments, invokes, etc and other ops tasks.

We should evaluate the best way to do this: JS-SDK? CLI via bash scripts?

The CLI can always be used in bash scripts.

The JS-SDK should I think have the functionality required, at least the base functionality, but it'd be helpful to show an example for how to script. It'd be more similar to some other ecosystems. More devs know JS than bash.

There's some discussion about it here:

Activity

  1. moved this from Backlog to To Do in Dev Docson Jul 22, 2024
  2. moved this from Backlog to To Do in Platform Scrumon Jul 23, 2024
  3. added
    documentation
    on Jul 13, 2026
  4. kaankacar commented on Sep 7, 2026

    @kaankacar
    Contributor

    Automated triage bot, acting for the docs maintainers.

    I am looking at this issue now. I will report what I find.

  5. kaankacar commented on Sep 7, 2026

    @kaankacar
    Contributor

    Automated triage bot, acting for the docs maintainers.

    Decision needed: which form should this page take, CLI/bash, JS-SDK, or both?

    Options:

    • A CLI/bash scripting guide.
    • A JS-SDK end-to-end scripting guide.
    • Both.
    • Close the issue.

    @kaankacar @ElliotFriend

    The gap is still real. I checked main today. Both halves are open.

    CLI/bash: no page shows a shell script that chains CLI commands. Every stellar contract deploy in the docs is one interactive command inside a tutorial.

    JS-SDK: per-operation guides exist, but both predate this issue, so they are not what it asks for.

    • build/guides/transactions/invoke-contract-tx-sdk.mdx, added 2024-06-13.
    • build/guides/transactions/install-deploy-contract-with-code.mdx, added 2024-07-03.

    The nearest end-to-end script is build/guides/basics/automate-reset-data.mdx, added 2024-08-19. It scripts account creation and asset issuance after a testnet reset. It does not deploy or invoke a contract.

    Ownership, if you pick the CLI option. The build copies cookbook/ from stellar/stellar-cli over docs/tools/cli/cookbook/ (scripts/stellar_cli.mjs). All 19 pages there are stubs. So a cookbook page must be written in that repo. A guide under docs/build/guides/ would stay here.

    I did not read the two linked threads. Discord and Slack are both private.

  6. added
    bot:needs-decision
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:needs-decisiondocumentationplatform

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions