Skip to content

Projects in SORA

Projects are the cornerstone of your development workflow in SORA, providing an intuitive interface to manage your Stellar contracts.

SHOWCASE CLIP

New to SORA? Check out our Projects showcase video to see how to create, manage, and develop your Stellar projects in SORA!

Projects Dashboard

This central hub is where all your Stellar projects come together, offering a clear overview and easy access to all your work.

Projects Dashboard

The Projects dashboard is your central hub for managing Soroban projects. Here's what you'll find:

  1. Project List: Displays all your projects with color-coded icons and project names.
  2. Project Count: Shows the total number of projects you have.
  3. Search Bar: Allows you to quickly find specific projects.
  4. Create New Project: A button to initiate the project creation process.

Creating a New Project

To create a new project:

  1. Click the "Create New Project" button in the top right corner.
  2. You'll see a modal with two tabs: "New Project" and "Import Existing".

Create New Project

Under the "New Project" tab:

  1. Project Name: Enter a name for your new project.
  2. Project Path: Choose where to save your project.
  3. With Example: Toggle this to include example contracts. A hello-world contract is included by default.
  4. Example Selection: If "With Example" is toggled on, you can choose from a variety of example contracts.
  5. Frontend Template: Optionally specify a frontend template for your project.
  6. Click "Create" to initialize your project.

TIP

Including example contracts can be a great way to learn Soroban development best practices!

Importing an Existing Project

To import an existing project:

  1. Click "Create New Project" and switch to the "Import Existing" tab.

Import Existing Project

  1. Enter a Project Name for SORA to display.
  2. Select the Project Path where your existing project is located.
  3. Click "Import" to add the project to SORA.

WARNING

Make sure the project path you provide is the root directory of your existing Soroban project. SORA will verify if it's a valid Soroban project before importing.

Opening Projects

You can easily open your projects in your preferred code editor:

  1. Click the "Open With" button next to a project.
  2. A modal will appear showing available editors on your system.

Open Project

  1. Select your preferred editor from the list of supported editors.
  2. Click "Open" to launch the project in the chosen editor.

INFO

SORA detects installed editors on your system automatically. The following editors are supported:

  • Visual Studio Code
  • Visual Studio Code Insiders
  • WebStorm
  • CLion
  • Cursor

Make sure your preferred editor is installed for it to appear in the list.

TIP

If you don't see your preferred editor in the list, it might not be installed in a standard location. You can open an issue on our GitHub repository to request it to be added.

Project Management

Each project in the list offers quick actions:

  • Open With: Opens the project in your chosen code editor.
  • Contracts: Provides quick access to manage contracts within the project.
  • Delete: Removes the project from SORA (doesn't delete files from your system).

WARNING

While SORA doesn't remove files from your system, it will remove the project from the dashboard.

Tips for Efficient Use

To make the most of the Projects dashboard:

  1. Use the Search Bar: When you have multiple projects, use the search functionality to quickly find what you need.
  2. Regular Cleanup: Remove projects you're no longer working on to keep your dashboard tidy.
  3. Naming Conventions: Use clear, descriptive names for your projects to make them easy to identify.
  4. Explore Examples: When creating a new project, consider using different example contracts to learn various Soroban features.

Behind the Scenes

While SORA provides a user-friendly interface, it's powered by Stellar's CLI tools. The app handles the complex command-line operations for you, making Soroban development more accessible.

For those interested in the underlying processes, SORA utilizes commands similar to stellar contract init when creating new projects, but you don't need to worry about the command-line syntax - SORA takes care of it all for you.