A Clarity development environment generator, usable as an npm init initializer.
Generates a TypeScript project that contains a
hello-world.clar sample smart contract and
a minimal Mocha test suite using the Clarity SDK.
Generate a project
npm init clarity-starter my-proj cd my-proj
my-proj with your app name. The app directory is created if it does not already exist.
hello world contract test suite ✓ should have a valid syntax deploying an instance of the contract ✓ should return 'hello world' ✓ should echo number 3 passing
Alternate install commands
npm install -g yo generator-clarity-dev yo clarity-dev
See generator-clarity-dev for more details.
If seeing error messages related to the clarity-native-bin package then see its README for more details.