According to this doc. We can use ethers.getContract to get deployed contract. I have deployed my contract at 0x33F4623337b8F9EDc9529a79F0d68B2BeC98d ...
According to this doc. We can use ethers.getContract to get deployed contract. I have deployed my contract at 0x33F4623337b8F9EDc9529a79F0d68B2BeC98d ...
I am getting error while deploying mocks. code where error is showing: Mocks: `if (developmentChains.includes(network.name)) { log("Local network de ...
I'm coding an NFT minting page named astro-mint. And i'm at this point where I have to deploy my contract through hardhat. But when i run this comman ...
I wrote a contract for crowdfunding and I'm having troubling the last test: the error output in the console: It appears to be a difference in th ...
How to get rid of this error? Failed to compile. Here my project structure I have added this line on top of my file ...
In a test in my hardhat project I am writing in VSCode, I want to retrieve the metadata object of my NFT, which is stored at a provided URL. I though ...
I am having issue deploying contract to fuji c chain with hardhat. Here is my hardhat.config.js file: Here is the command for deploying the contrac ...
. Answers to this question are eligible for a +50 reputation bounty. Bounty gr ...
I have this contract below These are the storage locations of the objects Location 2 and 3 are both arrays and if I do the following I can ge ...
I am running a hardhat node on locahost using hardhat version 2.12.5 on a windows operating system for learning purpose. At times I close terminals wi ...
Im trying to execute a swap to buy Uni using UniswapV3 interface. It sends me this error related to the sendTransaction() function and I dont understa ...
up to date, audited 704 packages in 2s 121 packages are looking for funding run npm fund for details 8 vulnerabilities (5 high, 3 critical) To addr ...
I'm trying to call the flashLoan() function on Balancer's vault contract but I keep getting an 'execution reverted' error when I view the transaction ...
I have the following code below I am running the mocks contract and the fundme contract before getting the fundme contract. However, I was wonderin ...
So I have written the same code as the hardhat documentation suggest here for deploying with funding maybe. import hre from "hardhat"; const main = ...
So the problem is I have defined a hardhat config like this import { HardhatUserConfig, task } from "hardhat/config"; import "@nomicfoundation/hardha ...
I'm new at solidity. I've put here the snippet of code: And if you see, the parameter that I need to send to AggregatorV3Interface is static 0xD4a3 ...
I am gonna write smart contracts test on hardhat. By default, hardhat provides 20 signers with enough amount of ETH on it. But for my contracts, I wil ...
I have the below code I understand that hardhat's getContractFactory is automatically supplied the abi, binary and specified private key for signin ...
I cannot import this to my local artifact when I comile this as a mock, does anyone meet this before? Help!!!!! ...