0.3.28 • Published 6 months ago

create-stark v0.3.28

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

⚠️ 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.

Requirements

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

Quickstart

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

  1. Install from NPM Registry and follow the CLI instructions.
npx create-stark@latest
  1. 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.

  1. 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

  1. 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:

0.3.28

6 months ago

0.3.27

6 months ago

0.3.26

6 months ago

0.3.25

7 months ago

0.3.24

7 months ago

0.3.23

7 months ago

0.3.22

7 months ago

0.3.21

7 months ago

0.3.20

8 months ago

0.3.19

8 months ago

0.3.18

8 months ago

0.3.17

8 months ago

0.3.16

8 months ago

0.3.15

8 months ago

0.3.14

8 months ago

0.3.13

8 months ago

0.3.12

9 months ago

0.3.11

9 months ago

0.3.9

9 months ago

0.3.10

9 months ago

0.3.8

9 months ago

0.3.6

10 months ago

0.3.7

9 months ago

0.3.5

10 months ago

0.3.4

10 months ago

0.3.3

10 months ago

0.2.16

12 months ago

0.2.15

1 year ago

0.2.14

1 year ago

0.3.0

12 months ago

0.3.2

11 months ago

0.3.1

11 months ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.7

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.4

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.3

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago