All Questions
Tagged with binance-smart-chain hardhat
12 questions
0
votes
0
answers
71
views
npx hardhat test "Timeout of 40000ms exceeded" when repaying flash loan
I am trying to follow along with a youtube tutorial that teaches you how to make a basic uniswap flash loan application. I have copied every piece of code, line by line, from the video as instructed.
...
0
votes
1
answer
645
views
I got the exact same address for a contract deployed on both bsc and ethereum testnet
I deployed the same smart contract using hardhat on goerli ethereum testnet and binance testnet and i was surprised to see that they both have the exact same address...
How is that even possible?
Is ...
1
vote
0
answers
256
views
bscTestnet hardhat deployment problem
I've been racking my brain for quite a while now.
Before, I was able to deploy my code in bscTestnet with no problem, but recently, without changing any code it always stuck and it's not working. so ...
1
vote
0
answers
913
views
Hardhat throwing 'missing revert data in call exception; Transaction reverted without a reason string'
After installing Hardhat's npm package latest version following this brief guide and setting up my first 'sample project', i tried to create a script and deploy a contract on the BSC mainnet. I edited ...
0
votes
1
answer
349
views
I can't verify the contract on bscscan, I have installed Openzepplin. This is [HardHat] (Pictures add in)
Showing you first the deployed contract, smart contract, and then the error on the last picture. I have tried to deploy it with the URL but the problem remained. I myself know that there's an easy ...
0
votes
2
answers
90
views
I've just created a contract, But the question that remains, how do i put in the total supplys of tokens into the contract? [Hardhat, Openzeppelin]
I have just been able to deploy the contract into the testnet but as a beforehand noticed, there are no total tokens of Nikola being deployed. Could someone advise me on what I should do to redeploy ...
0
votes
2
answers
6k
views
reason: 'too many arguments: in Contract constructor', This is the last step before i deploy the contract, so any advice would be great
I got this error: Is there some error I have been making in the contract? Any help would I appreciate, if you need me to publish other contracts just tell me I will update this question with the ...
0
votes
1
answer
616
views
ParserError: Expected ';' but got identifier Error HH600: Compilation failed - getting this error, one step before deploying the contract
I keep getting this error; I was told before to use "const License one in my code, but I don't know which contract I will put it into. Here's the picture: Could someone advise me on what I should ...
8
votes
9
answers
19k
views
HardhatError: HH700: Artifact for contract "Greeter" not found - clarification [Hardhat, openzeppelin]
I keep getting this error when doing: npx hardhat run scripts/sample-script.js --network testnet.
I got an answer "You have named your contract 'Nikola' and not 'Greeter'. The actual file-names ...
9
votes
3
answers
18k
views
An unexpected error occurred: Error: Cannot find module '@nomiclabs/hardhat-waffle' [Hardhat, openzeppelin]
I keep getting this error when doing: npx hardhat run scripts/sample-script.js --network testnet. Edited the name of my computer for security reasons. How do I put in the module 'nomiclabs/hardhat-...
2
votes
1
answer
1k
views
HardhatError: HH700: Artifact for contract "Greeter" not found - this is the problem i'm getting [Hardhat, openzeppelin]
I keep getting this error when doing: npx hardhat run scripts/sample-script.js --network testnet. Edited the name of my computer for security reasons.
Compiling 10 files with 0.8.4
Compilation ...
0
votes
0
answers
344
views
Trying to deploy my smart contract to ropsten testnet but keep receiving this error - ReferenceError: Secret is not defined
The last one is Hardhat.config.js
This the error (sensitive information, meta mask private key blurred and so the moralis io testnet code
ReferenceError: Secret is not defined
at Object. (/Users/...