0.0.4 • Published 4 years ago

create-solidity-contract v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Create Solidity Contract

Start creating solidity smart contracts with the best tools by running one command.

Creating a solidity project

To create a new solidity project, you may use the following commands:

Yarn

yarn create solidity-contract my-contract

npm

npm init solidity-contract my-contract

npx

npx create-solidity-contract my-contract

It will create a directory called my-contract inside the current folder.

Inside that directory, it will generate the initial project structure, assuming you did not provide a custom template:

Templates

Create Solidity Contract comes with templates with different tools. Peek into the templates folder to see what options are available and pass the name of the folder as the value for the --template argument.

As an example:

yarn create solidity-contract my-contract --template truffle
npx create-solidity-contract my-contract --template truffle