Skip to main content

Questions tagged [buidler]

0 votes
0 answers
61 views

I was wondering, why my tx with 10x estimated gas and 10x gas fee is not included in next 10 blocks, and i'm sending this tx directly to Titan and Beaver? Whats the mechanism for builder to pick up my ...
user26577548's user avatar
0 votes
0 answers
1k views

Help, I need to simplify a transaction to send my erc20 tokens using this code as a reference from python web3, the problem is that the code is in a project that when I send my tokens a percentage of ...
frank stone's user avatar
0 votes
0 answers
1k views

I am using this repo to begin testing UniSwap flash swap contracts. I've installed all dependencies correctly and cleanly. The project uses ganache-cli, hardhat buidler, and yarn in the terminal and I ...
justinsacco's user avatar
1 vote
1 answer
2k views

I have a react project and initialized hardhat config then installed the necessary packages but I am getting error when I require hardhat on my project const hre = require("hardhat"); This ...
Marr's user avatar
  • 337
6 votes
3 answers
10k views

I used the example from the Hardhat docs to impersonate an account on a forked network: await hre.network.provider.request({ method: "hardhat_impersonateAccount", params: ["0x...."]...
Mttank's user avatar
  • 81
2 votes
1 answer
1k views

What is the easiest way to connect with Chainlink so we can test our dApp locally. Do we have to run a local Chainlink node, or is there any workaround for getting the online data?
drab's user avatar
  • 245
2 votes
1 answer
2k views

The error that I am getting when running this is: Error: Invalid RpcBlockWithTransactions or null I have a contract called PriceConsumerV3 and it makes a view function call on a contract. I am ...
Patrick Collins's user avatar
1 vote
0 answers
43 views

1.How can I execute payable functions, like this putting the Value in the Builder console? 2.Can someone tell me the way to be able to change the address on the Buidler evm console? To execute ...
franco villa santana's user avatar
0 votes
1 answer
657 views

I have a custom proxy. Writing a deployment script for Buidler. Know how to do something in Truffle but not sure how to do the equivalent in Buidler. Truffle let testContract = await deployer.deploy(...
Michael C's user avatar
  • 473
0 votes
1 answer
53 views

I have simple piece of example code derived from SWC-136 · Overview, complete buidler based workspace in the git repo. I see some misbehavior in the execution [ ether transfer between usr-acc -> ...
shamb0's user avatar
  • 1
1 vote
0 answers
215 views

I have a project where I would like to check test coverage for the Solidity Smart Contracts. I am using solidity-coverage via a buidler plugin and the test coverage is always 0%. The output from the ...
Darren Jensen's user avatar
45 votes
3 answers
23k views

In a Buidler/Hardhat test I have: const { expect } = require("chai"); describe("SumOfTokens", function() { it("Checks correct transfers", async function() { const ...
porton's user avatar
  • 1,854
4 votes
4 answers
4k views

Below is a simple signature verification flow I wrote, along with a test case with Buidler (all mainly to learn how to verify signatures in a Solidity smart contract). The problem is that the address ...
Krishang Nadgauda's user avatar
0 votes
0 answers
216 views

I access Ethereum from several wallets. Some of the addresses are present in several wallets at once. I discovered that nonces should always increase. (Right?) Then if I send transactions from several ...
porton's user avatar
  • 1,854
0 votes
1 answer
929 views

I'm trying out the buidler suite using scaffold-eth. I can start up using yarn start fine, but when I run yarn run chain I get the following error: Error: listen EADDRINUSE: address already in use ...
The Renaissance's user avatar