Skip to content

This is a development platform to quickly generate, develop & deploy smart contract based applications on StarkNet.

License

Notifications You must be signed in to change notification settings

onlydustxyz/generator-starknet

Repository files navigation

NPM version Downloads generator-starknet-ci Actions Status License sonar-quality-gatesonar-bugs sonar-vulnerabilities

follow on Twitter

generator-starknet

This is a development platform to quickly generate, develop, & deploy smart contract based apps on StarkNet.

StarkNet Generator Demo

Installation

First, install Yeoman and generator-starknet using npm (we assume you have pre-installed node.js).
Make sure you are using a python 3.7.

With NPM:

npm install -g yo
npm install -g generator-starknet

With Yarn:

yarn global add yo
yarn global add generator-starknet

Then generate your new project:

yo starknet

Now follow what is written in the console

Want to get involved?

If you are reading this part it is probably because you want to get involve and help us expand this git repository.
First you can have a look at the issues open. Read them and try to find one you think you can help on.
If you don't find any issue that you can work on but still find anything that can be improved, feel free to make a PR!

The first step should always be to fork this repository.
If you didn't change the yeoman app then you can probably stop reading and just make a pull request (make sure what you are submitting is working).

If you are updating the yeoman application it would be better that you test it locally first.
So install yeoman and yeoman-generator and link the current repository as the yeoman instance:

npm install -g yo
npm install -g yeoman-generator
npm install -g yosay
npm link

Npm link will allow to link a module to a local directory. So whenever you'll run

yo starknet

It'll use the app present in the folder you were when doing the command instead of looking into the node_modules directory .
You can now try it locally!
Once you are sure your dev is over just submit a pull request.

Don't forget to insert the issue you are trying to solve in the name (#issueNumber), and add a small description with the relevant tags.

License

MIT © Only Dust