Skip to content

scaffold-stark is a forkable StarkNet dev stack focused on fast product iterations, inspired by scaffold-eth.

Notifications You must be signed in to change notification settings

parketh/scaffold-stark

Repository files navigation

💠 scaffold-stark

scaffold-stark is a forkable StarkNet dev stack focused on fast product iterations, inspired by scaffold-eth.

Drop in your Cairo smart contracts and immediately compile, deploy and interact with them through a reusable frontend UI.

image

image

Link to the product demo.

Requirements:

  • Node.js
  • Python venv
  • Yarn
  • Git

Setup / Installation

  1. Clone / fork 💠 scaffold-stark:
https://github.com/parketh/scaffold-stark
  1. Run venv and install packages:
python3 -m venv cairo_venv
source cairo_venv/bin/activate
pip install -r requirements.txt
  1. Install JS packages with yarn:
yarn install
  1. Start starknet-devnet in first terminal window while running cairo_venv (http://localhost:5050)
starknet-devnet
  1. Start local server in second terminal window - used to handle RPC calls (http://localhost:3001)
yarn server
  1. Start frontend app in third terminal window (http://localhost:3000)
yarn dev
  1. Edit your smart contracts in the contracts/ folder and compile them with starknet-compile (see docs)
npx hardhat starknet-compile [PATH...]
  1. Open http://localhost:3000 to see the app. Add custom frontend as you wish (Next.js + TailwindCSS).

About

scaffold-stark is a forkable StarkNet dev stack focused on fast product iterations, inspired by scaffold-eth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published