hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log. (by nomiclabs)

Hardhat Alternatives

Similar projects and alternatives to hardhat

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hardhat alternative or higher similarity.

Suggest an alternative to hardhat

Reviews and mentions

Posts with mentions or reviews of hardhat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-18.
  • How to Create a Custom "faucet" Command With Hardhat
    1 project | dev.to | 19 Nov 2021
    // hardhat.config.ts import * as dotenv from 'dotenv'; import { HardhatUserConfig, task } from 'hardhat/config'; import '@nomiclabs/hardhat-etherscan'; import '@nomiclabs/hardhat-waffle'; import '@typechain/hardhat'; import 'hardhat-gas-reporter'; import 'solidity-coverage'; import '@nomiclabs/hardhat-ethers'; // Tasks import './tasks/faucet.ts'; // { const accounts = await hre.ethers.getSigners(); for (const account of accounts) { console.log(account.address); } }); // You need to export an object to set up your config // Go to https://hardhat.org/config/ to learn more const config: HardhatUserConfig = { solidity: { version: '0.8.4', }, networks: { hardhat: { chainId: 1337, }, ropsten: { url: process.env.ROPSTEN_URL || '', accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [], }, }, gasReporter: { enabled: process.env.REPORT_GAS !== undefined, currency: 'USD', }, etherscan: { apiKey: process.env.ETHERSCAN_API_KEY, }, }; export default config;
  • Notes on Web3
    9 projects | news.ycombinator.com | 18 Nov 2021
    If you want a programmer/documentation approach then GitHub and developer forums are where you will get the best shill free discussion, read the eips/ercs on github and the eth cat herders forum.

    https://eips.ethereum.org/

    https://ethereumcatherders.com/

    Play with the tools like https://eth-brownie.readthedocs.io/en/stable/

    https://hardhat.org/

    https://www.cairo-lang.org/docs/hello_starknet/index.html

    Note these are eth focused, but there is overlap with zcash/cosmos/polkadot and the many evm chains that now exist.

    I’d also recommend:

  • Solidity Basics for JavaScript Devs Part 2
    1 project | dev.to | 1 Nov 2021
    The book is written for Truffle, web3.js, and JavaScript, and I replaced the tools with Hardhat, Ethers.js, and TypeScript to spice things up a bit.
  • My First Two Weeks in web3
    2 projects | dev.to | 1 Nov 2021
    Ethereum development environment. Build local blockchain server and deploy contracts https://hardhat.org/
  • An NFT based game
    8 projects | dev.to | 27 Oct 2021
    So like the previous dApp, this required some knowledge of Solidity to build out our smart contact, Hardhat to help us develop our dApp with ETH, and some frontend skills (React and JavaScript).
  • Unit Testing a Solidity Smart Contract using Chai & Mocha with TypeScript
    3 projects | dev.to | 20 Oct 2021
    As mentioned above we are going to use Hardhat for this. Just in case you don't know what Hardhat is, it provides a development environment for Ethereum based projects. It's very intuitive I like it and the documentation is also great. You can visit the docs from here.
  • I built my first DApp!
    6 projects | dev.to | 19 Oct 2021
    element! Aside from that some other web3 goodies like hardhat. The buildspace projects have really straightforward instructions. I did go rogue a bit though. I recently created a web3 starter, and decided to use that as the base for my project. nickytonline / web3-starter An opinionated web3 starter Web3 Starter The goal of this project is to give you an opinionated boilerplate to start a web3 project. Contributing If you are interested in contributing to the project, first read our contributing guidelines. Take a look at our existing issues or if you come across an issue create an issue For feature requests, start a discussion first. Getting Started (Local Development) Install the dependencies npm install # or yarn Enter fullscreen mode Exit fullscreen mode Start the project npm run dev # or yarn dev Enter fullscreen mode Exit fullscreen mode Open http://localhost:3000 with your browser to see the result. Getting Started (Gitpod) The project can be run in Gitpod. Navigate to https://gitpod.io/#https://github.com/nickytonline/hello-edge-and-node. If you wish to load it in Gitpod as an external contributor, you will need to fork the project first, then open the fork in Gitpod, e.g. https://gitpod.io/#https://github.com/some_user_that_forked_the_repository/hello-edge-and-node. Gitpod will take a minute or two to load. If this is the first time… View on GitHub I also decided to make the project my own and made some modifications. For one the contract allowed for storing one more field, a URL. I was doing this quickly, so just opted to use images from a funny site I love, http.cat. The code is still a bit scrappy as it really was a weekend project, but I'm still happy with how it turned out. I've made some tweaks since then, but there's still a bunch of refactoring to do. 😅 If you're into TypeScript, there's some a couple examples of declaration merging like this one to get the element in JSX. The dapp is live running the contract off the Rinkeby network. Feel free to check out the Picture Portal source code. nickytonline / picture-portal Picture Portal A project to learn about web3 following a Buildspace walkthrough. The initial code is based off of my starter, https://github.com/nickytonline/web3-starter which I thought would be fun to do for Hacktoberfest 2021 and potentially be helpful for others. There is a lot to improve as this was just have fun building something, but I'm still pretty happy with what I cranked out. The latest is deployed at https://pics.iamdeveloper.com. Contributing If you are interested in contributing to the project, first read our contributing guidelines. Take a look at our existing issues or if you come across an issue create an issue. For feature requests, start a discussion first. Getting Started (Local Development) Install the dependencies npm install # or yarn Enter fullscreen mode Exit fullscreen mode Start the project npm run dev # or yarn dev Enter fullscreen mode Exit fullscreen mode Open http://localhost:3000 with your browser to see the result. Getting Started (Gitpod) The project can… View on GitHub And while you're here, check out the live app at pics.iamdeveloper.com!
  • Advice to start with solidity
    1 project | reddit.com/r/solidity | 16 Oct 2021
    Check out Hardhat
  • What is a good project to build to get a good understanding of how to develop on Eth?
    10 projects | reddit.com/r/ethdev | 6 Oct 2021
    https://hardhat.org/ has a really good tutorial and set of tools. Plus, it works great with remix online! I learned a lot with that (Contract + Web3 Frontend with React) They even have a scaffolding boilerplate https://hardhat.org/tutorial/hackathon-boilerplate-project.html
  • How to Create your own Token on the Ethereum Blockchain
    4 projects | dev.to | 23 Sep 2021
    We have multiple options to choose from for the environment. The most popular ones are Truffle and HardHat. They both help with writing, compiling, and deploying our smart contracts to the blockchain.
  • How to deploy your first smart contract on Ethereum with Solidity and Hardhat
    7 projects | dev.to | 17 Sep 2021
    GitHub Repository
    7 projects | dev.to | 17 Sep 2021
    Hardhat is the core tool we will be using today and a must-have if you need to develop and debug your smart contract locally before deploying it on the test net and then on the main net.
  • Error: EPERM: operation not permitted, copyfile '/.nvm/versions/node/v16.9.1/lib/node_modules/truffle/build/initSource/contracts/Migrations.sol' -> '/mnt/c/Crypto/contracts/Migrations.sol'
    1 project | reddit.com/r/ethdev | 17 Sep 2021
    P.S. I'd recommend using HardHat instead of Truffle.
  • NFT / Minting question
    3 projects | reddit.com/r/ethdev | 17 Sep 2021
    The mint function shown in the README.md file could be modified to behave in a similar way. Deploying the contract could be handled with HardHat, or the bytecode built by something like HardHat and the ABI could be used to deploy it via the frontend such as here, and then hooked up to the mint function in a similar way to this (but you would also add a value to the function call which would then mean that you could send a certain amount of ETH with the function call, using "overrides" or "options", shown here.
  • The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom
    6 projects | dev.to | 15 Sep 2021
    Anchor Framework - Anchor is actually a life saver for me, and I'm almost certain I would not have been able to get over the hump of building anything without it. It is the Hardhat of Solana development and more, and I love it. It also offers a DSL on top of Rust so that you do not need a deep understanding of the language to get started, though I am still trying to learn Rust as it will probably be useful to build anything non-trivial, even with the DSL. A good free place to learn Rust is The Rust Book.

Stats

Basic hardhat repo stats
40
1,894
9.9
1 day ago

nomiclabs/hardhat is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote TypeScript jobs at our new job board 99remotejobs.com. There are 11 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.