Top 6 smart contract frameworks for web3 projects in 2022

Linh Tran
Coinmonks
4 min readNov 18, 2022

--

Top 6 smart contract frameworks for web3 in 2022

During this bear market, some users may leave, but the builders still build. Let’s explore the top 6 smart contract development frameworks that every web3 developer should know.

But first, let me introduce myself:

Hi, I’m Linh, Business Development at Dreamerly (Twitter: @DreamerlyHQ). Follow our Twitter for more insights on the latest stories in crypto.

Alternatively, you could read this article on our Twitter:

Smart contract frameworks are essential tools to build in web3. They help developers test and deploy smart contracts quickly and effectively. Here are the top 10 DeFi projects and the frameworks they use:

Top 10 DeFi projects and the frameworks they use

Now, let’s get to the top 6 smart contract frameworks that every web3 developers should know.

1/ HardHat — The Superstar

Hardhat is currently the dominant smart contract development framework.

It is a Javascript & Solidity-based framework that will get your app up to speed.

Hardhat uses ethersjs on the backend, its own local blockchain for testing.

Why use HardHat:

— Testing speed is crazy fast

— Typescript support

— Wide adoption

— Developer experience-focused team

HardHat

2/ Brownie — Powerful as a Python

Brownie is an open-source Python-based framework built on top of http://web3.py.

It also supports Solidity & Vyper Brownie was created because many Python engineers dislike Javascript and want a Python-based framework.

Why use Brownie:

— The best Python framework

— Used by top DeFi projects like Yearn Finance and Curve Finance

— Blockchain: Ganache/local, testnets, mainnet

— Has testing feature

— Very active maintenance and support

— Open-source

Brownie

3/ DappTools — Simple setup

DappTools is a command-line-focused framework built with Haskell (no need to know Haskell to use it though). Instead of working with high-level programming languages like Python/Javascript, you can use the command line/shell tools like bash/zsh.

Why use DappTools:

— It comes with a suite of tools like dapp, seth, ethsign, and hev. Each tool is designed for a specific portion of smart contract development.

— Used by MakerDAO

— Built-in fuzzing tests

— No need to learn Javascript or Python

— Best for a lean setup

DappTools’s logo. Not fancy at all, but the product is great.

4/ Ethereum Remix — The visual tool for Ethereum smart contract

Remix is more like a visual browser IDE that is easy to get started. Remix is also very flexible. You can choose Solidity version, compile, and run Solidity tests. Want to use Javascript instead? Just pick it!

Why use Ethereum Remix:

— Super friendly

— Fully extendable, so you can improve it if you want to add a feature

— Can connect your local disk to remix to run code from your version-controlled repo

— Straightforward to get up to speed if you know Solidity

— Automated tests

Remix

5/ Truffle Suite — The OG framework

Truffle is a Javascript-based framework that comes with tools like Ganache and Drizzle. Since Truffle was the first developed smart contract framework, it has big impact on other frameworks, with many frameworks adopting practices from Truffle

Why use Truffle Suite:

— One of the most widely used platforms

— Come packed with other tools like Ganache and Drizzle

— Has built-in contract abstractions that make web3.js easy to use

— Has a native debugger with step in/out, breakpoint, etc.

— Open source and 100% free!

Truffle

6/ Foundry — The next star after DappTools

Foundry is written in Rust. It’s command-line focused like DappTools and the two frameworks are very similar.

Foundry is fast, powerful, and focuses on building tests in Solidity, with built-in fuzzing and other powerful tools.

Why useFoundry:

— Fast Solidity testing

— Built-in fuzzing tests

— Rust is becoming more and more popular

Foundry

Follow us @DreamerlyHQ on Twitter for interesting insights and stories in crypto like this!

New to trading? Try crypto trading bots or copy trading

--

--

Linh Tran
Coinmonks

I'm Business Development at Dreamerly. We help web3 developers integrate NFTs into iOS apps. Follow our Twitter @DreamerlyHQ to get early access to beta test.