Skip to content

Feat/add stellar prompt - #40

Merged
devfoma merged 15 commits into
Ender-Stellar:mainfrom
AugistineCreates:feat/add-stellar-prompt
Jun 19, 2026
Merged

devfoma merged 15 commits into
Ender-Stellar:mainfrom
AugistineCreates:feat/add-stellar-prompt

Conversation

@AugistineCreates

Copy link
Copy Markdown
Contributor

This pr closes #10

This pull request adds first‑class support for the Stellar blockchain and Soroban smart contracts to the prompt system.

Changes Made

  1. New file: lib/prompts/stellar-prompt.ts

    • Provides detailed guidance for generating Stellar/Soroban applications, including:
      • Installation and basic setup of @stellar/stellar-sdk.
      • Wallet connection instructions for Freighter and Albedo.
      • How to interact with Soroban contracts (host function invocation, auth handling).
      • Best practices for fee estimation, transaction submission, state restoration, error handling, and testing.
  2. Updated file: lib/prompts/index.ts

    • Imported and exported stellarPrompt.
    • Extended BlockchainNetwork type to include 'stellar'.
    • Updated network selection logic to choose stellarPrompt when the network is 'stellar'.
    • Added 'stellar' to the list of available networks, validation checks, display names, and descriptions.
    • Adjusted comments and documentation accordingly.

Impact

  • Enables the LLM orchestrator to generate Stellar and Soroban dApps with correct SDK usage and wallet integration.
  • No other parts of the codebase are affected; the changes are limited to prompt definitions and selection logic.

Testing

  • The TypeScript project compiles successfully with the new types and imports.
  • No runtime behavior changes other than the new 'stellar' option being available; manual testing can verify that selecting the Stellar network returns the expected prompt content.

@devfoma
devfoma merged commit 150afe3 into Ender-Stellar:main Jun 19, 2026
1 check 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.

backend: Add Stellar/Soroban SDK Guidelines & Prompt Engineering templates

2 participants