Skip to content

Set up a solidity smart contract project with a complete set of tools ready to use by running one command

License

Notifications You must be signed in to change notification settings

patitonar/create-solidity-contract

Repository files navigation

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

About

Set up a solidity smart contract project with a complete set of tools ready to use by running one command

Resources

License

Stars

Watchers

Forks

Packages

No packages published