python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to properly format bytes32 in javascript to send to contract?
I am trying to use the keccak256 function to recover a signed address (basically implementing a whitelisting functionaltiy for an NFT project).
The problem that I am having is that I can not figure ou...
Darkbound
Votes: 0
Answers: 1
How do I transfer ERC20 tokens using Ether.js?
I'm trying to test my smart contract in Hardhat, but in order to do so I first need to send some ERC20 tokens to my contract (for this test I'm using USDC).
In my test I've impersonated a USDC whale, ...
Jasperan
Votes: 0
Answers: 1
What is the difference between a Wallet and a JsonRpcSigner?
On the ethers documentation, it says that the two most commons signers are:
Wallet, which is a class which knows its private key and can execute any operations with it.
JsonRpcSigner, which is conn...
Dimitri Borgers
Votes: 0
Answers: 2
Get the private keys of the Address with hard hat
during the node start (hard hat) I'm able to read the accounts and private keys.
I don't understand how can I retrieve it again with hard hat console
npx hardhat console
I injected even web3 library ...

foo_bar
Votes: 0
Answers: 1