Skip to content

feat: add Stellar smart contract starter template - #75

Merged
dDevAhmed merged 14 commits into
mainfrom
feat/cli-029-smart-contract-template
Sep 8, 2026
Merged

feat: add Stellar smart contract starter template#75
dDevAhmed merged 14 commits into
mainfrom
feat/cli-029-smart-contract-template

Conversation

@dDevAhmed

Copy link
Copy Markdown
Contributor

Summary

Implements CLI-029 by adding the trusted MVP Stellar smart-contract starter template and wiring it into bundled template resolution.

Included

  • Cargo workspace rooted at the generated project
  • starter contract under contracts/hello
  • soroban-sdk workspace dependency
  • simple non-custodial contract plus native unit test
  • generated README using current stellar contract build, deploy, and invoke terminology
  • Testnet-oriented examples with no embedded secret keys, seeds, or credentials
  • generated-template smoke coverage using the real stellarforge new --template smart-contract path
  • Cargo metadata validation without requiring network access

Security

  • template is bundled and selected through the controlled registry only
  • no arbitrary template paths or URLs
  • no private keys, seed phrases, or deployment credentials
  • starter contract intentionally contains no financial/custodial logic
  • generation continues to use CLI-024/CLI-026 destination and file-copy protections

Closes #32

@dDevAhmed
dDevAhmed merged commit a01e862 into main Sep 8, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI-029 — Add Stellar smart contract starter template

1 participant