python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
npx hardhat doesnt creates a new project
I tried creating a new hardhat project. I tried the following commands in terminal.
npm init --yes
npm install --save-dev hardhat
But when I use the following command
npx hardhat
I am getting the fo...
chandru
Votes: 0
Answers: 2
deploy an upgradable contract using artifacts on hardhat
To deploy a contract from an artifact on hardhat (for testing purposes) I can get the contract artifact json file and put it in the repo and then do it like this:
import XTokenWrapperArtifact from './...
Anibal Estevez
Votes: 0
Answers: 0
Hardhat console log a string and variable in same statement
Is there a way I can log a string and a bytes variable in the same statement using hardhat/console.sol? Or at least have them print on the same line?
In the Hardhat docs it shows that you can add stri...
Jasperan
Votes: 0
Answers: 1
How do I transfer ERC20 tokens using Ether.js?
I'm trying to test my smart contract in Hardhat, but in order to do so I first need to send some ERC20 tokens to my contract (for this test I'm using USDC).
In my test I've impersonated a USDC whale, ...
Jasperan
Votes: 0
Answers: 1