Skip to content

A simple, yet effective starting point for your Solidity projects.

License

Notifications You must be signed in to change notification settings

jhelison/solidity-boilerplate

 
 

Repository files navigation

Solidity Boilerplate

A simple, yet effective starting point for your Solidity projects.

Features

  • Clear and concise project structure
  • TypeScript integration for enhanced developer experience
  • Solidity and Github actions CI
  • Hardhat configuration for compilation, testing, deployment, and more
  • Solhint integration for linting and code quality checks
  • Basic testing setup using Mocha and Chai

TOC

Getting Started

  1. Clone the repository:
git clone https://github.com/jhelison/solidity-boilerplate.git
  1. Install dependencies:
cd solidity-boilerplate
yarn install
  1. Compile contracts:
yarn compile
  1. Run tests:
yarn test
  1. Deploy contracts (optional):
  • Configure your desired network in hardhat.config.ts.
  • Use Hardhat tasks for deployment.

Project Structure

solidity-boilerplate/
├── contracts/              # Solidity contracts
├── scripts/                # Hardhat scripts
├── test/                   # Tests
├── package.json            # Project dependencies
├── hardhat.config.ts       # Hardhat configuration
├── solhint.json            # Solhint configuration
└── README.md               # This file

Contribute

Contributions are welcome. Please open an issue or submit a pull request with your proposed changes.

License

This project is open-sourced software licensed under the MIT License.

About

A simple, yet effective starting point for your Solidity projects.

Topics

Resources

License

Stars

Watchers

Forks