📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

create-stark

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-stark

> ⚠️ Under active development. >

1.0.4
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

⚠️ Under active development.

🏗 create-stark

CLI to create decentralized applications (dapps) using Scaffold-Stark.

This is an alternative method of installing Scaffold-Stark. Instead of directly cloning SS-2, you can use create-stark to create your own custom instance, where you can choose among several configurations and extensions.

SS-2 Repo | SS-2 Docs | SS-2 Website

Requirements

Before you begin, you need to install the following tools:

Quickstart

To get started with Scaffold-Stark 2, follow the steps below:

  • Install from NPM Registry and follow the CLI instructions.
npx create-stark@latest
  • Run a local network in the first terminal:
yarn chain

This command starts a local Starknet network. The network runs on your local machine and can be used for testing and development.

  • On a second terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract can be modified to suit your needs. Is located in: packages/snfoundry/contracts/src

The yarn deploy command uses a deploy script to deploy the contract to the network. You can customize it. Is located in: packages/snfoundry/scripts-ts

  • On a third terminal, start your NextJS app:
yarn start

Visit your app on: http://localhost:3000. You can interact with your smart contract using the Debug Contracts page. You can tweak the app config in packages/nextjs/scaffold.config.ts.

What's next:

  • Edit your smart contract YourContract.cairo in packages/snfoundry/contracts/src
  • Edit your frontend homepage at packages/nextjs/app/page.tsx. For guidance on routing and configuring pages/layouts checkout the Next.js documentation.
  • Edit your deployment scripts in packages/snfoundry/scripts-ts

Documentation

Visit our docs to learn how to start building with Scaffold-Stark 2.

To know more about its features, check out our website.

Contributing to create-stark

We welcome contributions to create-stark and Scaffold-Stark 2!

For more information and guidelines for contributing, please see:

FAQs

Package last updated on 02 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts