New answers tagged

0 votes

How are balances updated on Ethereum

Balances on Ethereum are updated through the execution of transactions by the EVM. When a transaction is executed, it can result in changes to account balances, contract storage, and other state ...
SYED ASAD KAZMI's user avatar
0 votes

Hardhat Tasks - How to import an account with a private key as signer

Update your hardhat.config.js module.exports = { ... networks: { sepolia: { url: "<key>", accounts: [private_key, private_key,...] // ...
0xcuonghx's user avatar
  • 166
0 votes

Can you convert my address (bytes20) type to a bytes32 string?

If you're using Ethers.js '0x'.concat(contract.address.slice(2).padStart(64, '0'))
Unicone's user avatar
  • 101
0 votes

How to query balance and lock duration of staked tokens across multiple protocols

the stake/LP balances across multiple defi protocols for a given account address. There is no standard for this. You need to Manually go through each protocol Study and understand their smart ...
Mikko Ohtamaa's user avatar

Top 50 recent answers are included