0.3.28 • Published 4 months ago

create-stark v0.3.28

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 months ago

0.3.27

4 months ago

0.3.26

4 months ago

0.3.25

4 months ago

0.3.24

5 months ago

0.3.23

5 months ago

0.3.22

5 months ago

0.3.21

5 months ago

0.3.20

5 months ago

0.3.19

5 months ago

0.3.18

5 months ago

0.3.17

5 months ago

0.3.16

6 months ago

0.3.15

6 months ago

0.3.14

6 months ago

0.3.13

6 months ago

0.3.12

7 months ago

0.3.11

7 months ago

0.3.9

7 months ago

0.3.10

7 months ago

0.3.8

7 months ago

0.3.6

7 months ago

0.3.7

7 months ago

0.3.5

7 months ago

0.3.4

8 months ago

0.3.3

8 months ago

0.2.16

10 months ago

0.2.15

10 months ago

0.2.14

10 months ago

0.3.0

9 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.2.13

10 months ago

0.2.12

10 months ago

0.2.11

11 months ago

0.2.10

11 months ago

0.2.7

11 months ago

0.2.9

11 months ago

0.2.8

11 months ago

0.2.6

11 months ago

0.2.5

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.2.3

11 months ago

0.2.2

11 months ago

0.2.4

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.3

11 months ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

12 months ago

0.0.14

12 months ago

0.1.0

11 months 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