Skip to main content
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
Results tagged with
Search options not deleted user 102023

JavaScript is a dynamic, weakly-typed language used for client-side as well as server-side scripting.

0 votes
2 answers
1k views

console.log not working in scripts/deploy.js and in smart_contract in HardHat

I only got one hint ---> Since the contract code is running onchain, you'll see the console.log from the chain output, not in your javascript console output. But I am not able to get this.... …
Aviral Choudhary's user avatar
1 vote
Accepted

console.log not working in scripts/deploy.js and in smart_contract in HardHat

After trying so hard I got the solution. Actually I've installed vs code extension Hardhat+Solidity provided by Hardhat officially. So, I uninstalled it and I installed Solidity extension by Juan Bl …
Aviral Choudhary's user avatar
0 votes
1 answer
301 views

Not able to use "connect()" method to sign transactions with different account in HARDHAT

I am making a smart contract so that I can send messages and other addresses can also send messages in that contract. So the message, block.timestamp and the sender's address will be stored in an "arr …
Aviral Choudhary's user avatar
0 votes

Not able to use "connect()" method to sign transactions with different account in HARDHAT

I got the solution to this question from Hardhat Website. As we know that private keys are different for different Accounts, like I wanna use 2 or more Rinkeby Accounts in this case, so I need to incl …
Aviral Choudhary's user avatar