create-solidity-contract

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i create-solidity-contract

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

785 kB

Total Files

7

Last publish

Collaborators

  • patitonar