trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.32k forks source link

Add NPM Generator functionality for basic smart contract templates #331

Closed mbeylin closed 7 years ago

mbeylin commented 7 years ago

Issue

Using basic smart contracts that are standard requires copying and pasting. Truffle can include several basic smart contracts to be used with the npm generate command, creating basic smart contract templates (such as standardToken). Similar strides have been achieved for example by the react-boilerplate project (https://github.com/mxstbr/react-boilerplate/tree/master/internals/generators). This would make it incredibly simple for a new developer to spin up projects with basic component contracts to be used for projects.

Steps to Reproduce

Expected Behavior

Actual Results

Environment

tcoulter commented 7 years ago

Hey @mbeylin. This was definitely a good idea. We think we've solved this with Truffle Boxes (which will grow in amount and usefulness and over time). Additionally this can be supplemented by EthPM. Going to close this for housekeeping now, but if you think it deserves reconsidering, open up a new ticket and we'll discuss. Cheers!