0.0.4 • Published 5 years ago
create-solidity-contract v0.0.4
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-contractnpm
npm init solidity-contract my-contractnpx
npx create-solidity-contract my-contractIt 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 trufflenpx create-solidity-contract my-contract --template truffle