Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 95879
5 votes

Proper project structure for react + hardhat + typechain

. │ ├── nouns-contracts/ (Solidity contracts, Hardhat + Typechain) │ │ ├── contracts/ │ │ ├── src/ ( │ │ ├── typechain/ │ │ ├── package.json │ │ ├── tsconfig.json │ │ ├── .solcover.js …
Ziyad Edher's user avatar
7 votes
Accepted

ParseEther is getting undefined

Check out the first line of your code: const ethers = require("hardhat") You're importing Hardhat as ethers, an easy fix would be to do something like const { ethers } = require("hardhat") or just … call it hardhat and use hardhat.ethers wherever you're using ethers right now. …
Ziyad Edher's user avatar
1 vote
Accepted

Is it okay to make "OpenZeppelin contracts" a dev dependency in my React app?

Short answer It's probably safe. It depends on how you structured your contract build step, but odds are you'll be fine. Long answer The question really boils down to "what's the difference between de …
Ziyad Edher's user avatar