solidity-template

Create Hardhat/Truffle template with pre-configured network and plugins for smart contract development using solidity


License
MIT
Install
npm install solidity-template@1.0.4

Documentation

Contributors Forks Stargazers Issues MIT License


Solidity Template

A npm package to jumpstart your solidity projects!
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

npm package

There are many great solidity templates available on GitHub; however, I didn't find one that really suited my needs so I created this enhanced one.

Here's why:

  • Your time should be focused on creating something amazing. A project that solves a problem and helps others
  • You shouldn't be doing the same tasks over and over like creating and configuring project from scratch
  • You should implement DRY principles to the rest of your life 😄

Of course, no one template will serve all projects since your needs may be different. So I'll be adding more in the near future. You may also suggest changes by forking template repos and creating a pull request or opening an issue. Thanks to all the people have contributed to expanding this template!

  1. Hardhat Template Repo
  2. Truffle Template Repo

Built With

  • Node js
  • npm

Getting Started

Please install the package globally so that you can get the template from anywhere

To get a local copy up and running follow these simple example steps.

git clone https://github.com/akshay-na/solidity-template
cd solidity-template
npm install

Prerequisites

Make sure that the following prerequisites is installed before using the package

  • Node Js

  • npm

    npm install npm@latest -g

Installation

  1. Install the package globally

    npm i -g solidity-template

Usage

Once the package is installed, globally, go to the directory from where you want to start the project and run the following command

npx solidity-template <your-project-name>

When you run the above command, you will be prompted to select the template. Select your option and the package will clone and install dependencies of that particular template.

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Your Name - Akshay N

Project Link: https://github.com/akshay-na/solidity-template