hardhat
useDApp
Our great sponsors
hardhat | useDApp | |
---|---|---|
125 | 29 | |
6,734 | 1,549 | |
2.5% | 0.1% | |
9.9 | 6.7 | |
5 days ago | 28 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hardhat
-
Build an AI-powered NFT generator with TS, GPT, Polygon and CASE (Part 1/2)
That's it for the first part ! Then we will use Hardhat to deploy our Solidity Contract on the Polygon testnet, and then overload our mintNFT() function with the actual minting. If you want to see the Part 2 quickly, give us some love and we will execute ! ❤️❤️❤️
-
Hardhat Smartcontract Lottery (Raffle) Using TypeScript and latest versions of everything
I have two skipped tests because at the time of writing this article events firing doesn't work properly in the latest version. Link to the github issue
-
SKALE Ecosystem Update. Explore the Thriving Ecosystem that is Driving Innovation on SKALE
Hardhat
-
Learn To Become a Web3 Developer by Exploring the Web3 Stack
Other options include Remix (an IDE), ChainIDE, Anchor (for Solana), Hardhat, and lots of others. Web3 dev environments have come a long way in a short time, and there’s probably something out there for whatever you need.
-
The 4 Best dApp Frameworks for First-Time Ethereum Developers
Hardhat allows developers to build, test, and deploy smart contracts and dApps using a variety of tools and libraries. With over 114K users on GitHub and an active Discord community, Hardhat is a hugely popular framework for dApp developers. Much of its popularity can be attributed to its rich list of features, flexibility and the Hardhat Ethereum Virtual Machine for testing and debugging smart contracts.
-
Advancing dApp development with Hardhat Indexing: A Game-Changer for Ethereum Devs
The hardhat-ethers plugin adds the ethers.js library to the Hardhat node, making it possible to use its functionalities. It's possible to use it to deploy the contract, but since our goal is to create transactions, we can also add some code to do that as well.
-
Where are some of the best places to learn about Smart Contracts?
Also learning how to use one of these development environments instead of Remix is necessary: 1. Hardhat: https://hardhat.org 2. Foundry: https://github.com/foundry-rs/foundry
-
The power of zero-knowledge proofs - exploring the new ConsenSys zkEVM
Easy for devs — The zkEVM supports most popular tools out of the box. You can build, test, debug, and deploy your smart contracts with Hardhat, Infura, Truffle, etc. All the tools you use now, you can keep using. And there is already a bridge to move tokens onto and off the network.
-
The Ultimate Guide to Debugging Smart Contracts: Tips and Tools for Web3 Developers
Hardhat is an open-source development environment for Ethereum. It includes tools for developing, testing, and deploying smart contracts. Hardhat also has a built-in debugger that allows developers to step through the code and inspect variable values.
-
Build Your First Subnet
After you feel comfortable with this deployment flow, try deploying smart contracts on your chain with Remix, Hardhat, or Foundry. You can also experiment with customizing your Subnet by addingprecompiles or adjusting the airdrop.
useDApp
-
React Hooks for Web3 Ethereum Developers
useDapp
-
web3 - 3D Web3 serie
There are other several libraries to create a web3 enviroment as: Rainbowkit || Wagmi || Scaffold-eth || useDApp || web3modal || Web3-UI
-
What is the most modern way to connect to a ... a dapp? Man... I'm a dinosaur and it's only been 2 years
You should also check out useDapp. It brings a lot more than connections but since you're writing a dapp anyway, it's gonna be useful
-
Where to start as a developer in Defi?
If you’re a react dev, take a look at useDApp to connect your front end to the blockchain. Good luck!
-
How to handle wallet connection in a dapp
Check out useDApp - https://usedapp.io/ I'm using it for connecting to Harmony and its very straightforward to set up and utilize. (I'm not affiliated with useDApp in any way.)
-
My first NFT dApp okomongo is live 🎉
Yeah, the whole login process was one of the major pains within this project. But I found a useful stack to implement it smoothly. First of all, I built the app using the "useDApp" lib (https://github.com/EthWorks/useDApp). This lib creates lots of great hooks to use, which integrates perfectly into the React framework. This lib provides a one-function-solution to login using browser wallets (activateBrowserWallet). But that's only half of the job. For all other users I am using the "WalletConnectConnector" lib from the great "web3-react" framework. This lib creates the frontend dialog and returns the chosen provider, which I forward to the "useDApp" library for the hooks and blockchain connection. Here is the main code for the login procedure: import { useEthers } from '@usedapp/core'; import { WalletConnectConnector } from '@web3-react/walletconnect-connector'; const walletconnect = new WalletConnectConnector({ rpc: { 1: process.env.REACT_APP_RPC_URL_1, 4: process.env.REACT_APP_RPC_URL_4 }, qrcode: true }) function WalletButton(props) { const { activateBrowserWallet, activate, deactivate, account } = useEthers(); useEffect(() => { const walletConnectSettings = localStorage.getItem("walletconnect"); if(walletConnectSettings) { if(JSON.parse(walletConnectSettings).connected === true) { activate(walletconnect); } } }, [activate]); const handleLogin = async () => { if(window.ethereum || window.web3) { activateBrowserWallet(); } else { activate(walletconnect); } } }
- Metamask connect button
-
Hardhat is to Truffle as Vue is to React?
This is a great question I'm interested in learning more about too. From my limited experience , it feels like hardhat and ethers.js have been rapidly growing in popularity. I don't see it on the pinned readme, but I'm having a wonderful experience with useDApp as well.
- What are some best practices when it comes to structuring a web3 frontend application?
-
web3-react: Connect Users to MetaMask (or any wallet) From Your Frontend
Website (not mobile-friendly): usedapp.io
What are some alternatives?
truffle - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
ganache - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
remix-ide - Documentation for Remix IDE
web3-react - A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
openzeppelin-contracts - OpenZeppelin Contracts is a library for secure smart contract development.
ethers.js - Complete Ethereum library and wallet implementation in JavaScript.
complete-guide-to-full-stack-solana-development - Code examples for the blog post titled The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom
connect-metamask-react-dapp - Build a simple React / Web3 Dapp that replicates a small portion of the Uniswap v2 interface
scaffold-eth - 🏗 forkable Ethereum dev stack focused on fast product iterations
brownie - A Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.
create-eth-app - Create Ethereum-powered apps with one command