Solhint

open-source

Solidity Linter


An open-source Solidity linter to help you write standardized,

high-quality and secure smart contracts.

Used by 1m customers

OpenZeppelinPOAGnosis0x

Trusted by

EthereumOptimism
Solhint Helps

Solhint helps you write standardized, high-quality and secure smart contracts

Readable code Readable code
Style guides Style guides
Security alerts Security alerts
Prevention from known bugs Prevention from known bugs

70+

Requests Merged

100+

User Issues Resolved

4+

Features Added

About Solhint

Downloaded 6 million times within the past couple of years, with 3.5 million downloads already in 2023, Solhint has become one of the most used development tools within the Ethereum dev community.

The project releases a new rule set focused on reducing gas consumption, and also evolving the traditional linting features. Solhint suggests the majority of features required for end-to-end coding, removing the necessity to use multiple tools for a complete code-to-release path.

Strong attachment to the traditions of open source and prompt adaptivity to community feedback are the core motivators for the project's growth.

About Solhint
Contribution

Contribution

We are committed to maintaining a rapid pace of development, and to achieve this goal, we invite volunteers to join us in the evolution of Solhint and contribute to its enhancement.

You can get started by heading to GitHub to pick up your first issue or by joining our Discord server to discuss any suggestions, bugs, or thoughts.

Learn more →
Shareable Rules

Shareable Rules

Use and extend shareable rules. These can be used as basic configuration and are regular npm packages.

After creating a shareable package you can publish it to npm to make it available for everyone.

Learn more →
Pull Requests

Pull Requests

All code changes happen through pull requests. To create one:

  • Fork the Solhint repo.
  • Create your branch from master.
  • Adjust Solhint for your needs.
  • Ensure the tests are still passing. Make sure you add tests for new features.
  • Create the pull request.

By contributing, you agree that your contributions will be licensed under its MIT License.

Learn more →
Choose Your Rules

Choose Your Rules

We've compiled a set of rules that can be incorporated into any Solidity project.

These rules fall into three primary categories: Best Practices, Style Guide, and Security. Each category is tailored to its core principles, meticulously crafted by seasoned developers, and requested by the community.

Go through our recommended rules listed on GItHub.

Learn more →
Donate or Suggest a Grant

Donate or Suggest a Grant

Being an open-source initiative we appreciate any support of yours to the project.

Donate

Let’s start your project

Protofire is the blockchain engineer team behind the Solhint development. Reach out for a custom version of Solhint or request a similar tool development for your project.

Request smart contract audit

Request smart contract audit

Smart contract auditing plays an important role in the performance of the blockchain ecosystem, especially when it comes to growth potential. At your request, we will conduct a detailed analysis of your code to identify security problems and incorrect coding with further recommendations for effective improvement.

Request Now