Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
Accepted
Deploy hardhat on live network
The answer is:
Since is a React application it interacts with the front end and depends on the Metamask extension to do this kind of actions it will just execute the action on the users selected netwo …
1
vote
Accepted
Payable functions in Metamask
I see you are using React, I made a simliar project also using Metamask, and I used eth_requestAccounts, as you can see in my code, basically you call for the signer and wait until you have one:
…
1
vote
Accepted
Verify complex smart contract with Hardhat help
First make sure you have the plugin to do this properly installed, f its not installed use this command to do so:
npm install --save-dev @nomiclabs/hardhat-etherscan
If that was properly installed fol …
1
vote
Accepted
how to parameterize which namedAccount I connect a contract to inside of a hardhat task?
You could indicate the position of the account to be used as a parameter and store an array of accounts in an env file. Like:
task(
"doSomething",
"calls doSomething on most recent Foobar cont …
1
vote
Accepted
Hardhat tests - deploy with arguments [typescript]
From your code snippet I see you are using waffle's function deployContract, it receives 3 arguments:
wallet to send the deploy transaction
contract information (abi and bytecode)
contract construc …