Skip to content

[Soroban] Add a contract template system for common project types #48

@Atharv777

Description

@Atharv777

Summary

Add a template system for creating new Soroban projects from common starter patterns such as token contracts, NFT contracts, and governance contracts.

Why this matters

New users need a fast way to start building without writing boilerplate manually. Templates drastically reduce friction and make the IDE feel purpose-built for Soroban development.

Scope

  • Add template selection during project creation
  • Provide starter templates for:
    • token contract
    • NFT contract
    • DAO/governance contract
    • minimal hello-world contract
  • Generate correct folder and file structure
  • Pre-fill README/setup guidance

Acceptance Criteria

  • User can choose a template when creating a project
  • Each template creates a valid working Soroban project
  • Files are immediately editable
  • Templates are easily extendable

Files Involved

  • server/project_routes.py
  • server/db_utils.py
  • pages/app/index.jsx
  • components/*
  • templates/*

Difficulty

Medium

Labels: blockchain soroban enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions