Skip to content

Playground for implementing Substrate code before it can be converted to Parachain Runtime Builder configs

Notifications You must be signed in to change notification settings

MVPWorkshop/ssk-substrate-playground

Repository files navigation

Substrate Runtime Builder

This project allows users to generate Substrate projects with selected pallets and download them as zip files or publish them to your github. The project uses the substrate-runtime-builder crate to dynamically generate Substrate-based blockchain projects.

Prerequisites

Before running this project, ensure that you have the following installed on your system:

Getting Started

1. Clone the Repository

git clone https://github.com/MVPWorkshop/ssk-substrate-playground
cd ssk-substrate-playground

2. Build the project

cargo build

This will download all necessary dependencies, including actix-web, serde, and substrate-runtime-builder.

3. Install cargo-dotenv to run with enviroment files

cargo install cargo-dotenv

4. Run the Application

To start the server, run:

cargo dotenv -e .env.local run

5. Run the docker-compose

docker-compose up -d

The server will start at http://127.0.0.1:3000. You should see the following message in the console:

Starting server at http://127.0.0.1:3000

The server is now running, and you can make API requests to generate and download Substrate projects.

6. Swagger

You can access the swagger openapi UI at local, or latest_release

About

Playground for implementing Substrate code before it can be converted to Parachain Runtime Builder configs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages