python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Hardhar Deploy solidity smart contract using onClick event in React
I would like to deploy my contract in frontend after a user click on a button. In hardhat documentation, I would have to normally run npx hardhat run scripts/deploy.js in my terminal to deploy. Is it ...
Leo
Votes: 0
Answers: 0
How can I configure Hardhat to work with RSK regtest blockchain?
I intend to develop my smart contracts in Hardhat, and to test them on RSK regtest local node. I was able to find a Truffle regtest configuration.
development: {
host: "127.0.0.1",
port:...

Gino Osahon
Votes: 0
Answers: 1
Interacting with Contract instance works on hardhat local rpc but throws error on mumbai testnet
So I'm currently working on an nft marketplace and I have this function that gets all the collections(which are proxy contracts) in the marketplace and gets basic info from the contract, like the name...

ccurves
Votes: 0
Answers: 0
Use Hardhat ES5 together with Sveltekit ES6
I'd like to use Sveltekit together with hardhat but hardhat uses commonjs require syntax, if run npx hardhat test with js ending I get the error:
Error [ERR_REQUIRE_ESM]: require() of ES Module hardha...

Paul Müller
Votes: 0
Answers: 0