Skip to content

Stark-Neptune/Nepswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nepswap

Compile smart contract

scarb build

Test smart contract

Use cairo-test

cairo-test --starknet --path .

Declare and deploy smart contract

Declare:

starknet declare --contract ${sierra_path} --account ${startnet_account}

Deploy:

starknet deploy --class_hash ${class_hash} --inputs ${constructor_param_1} ${constructor_param_2}  --account ${startnet_account}

Commitizen

Commitizen is a tool for writing qualified Commit messages.

Installing the command line tool

npm install -g commitizen

Then, in the project directory, run the following command to support Angular's Commit Message format.

commitizen init cz-conventional-changelog --save --save-exact

Use git cz instead of git commit. At this point, options are presented to generate a Commit message that matches the format.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages