1
vote
how to fail a ether transaction on blockchain (with insufficient balance)
Not sure if it is similar to what you want to do but you can either write a script to transfer ether without Metamask OR write a smart contract that does not accept ether and then try to send ether to ...
1
vote
Accepted
How to rectify Parse error in Remix IDE
I adjusted your smart contract code, adding some notes, in this way:
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.13;
contract Carshop{
// NOTE: I moved outsite the constructor ...
1
vote
Accepted
Getting WETH from ETH on Hardhat Local Network
I think the easiest way to do this is to create an ERC20 called WETH.
Something like:
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.4;
import "@openzeppelin/contracts/token/ERC20/...
1
vote
Accepted
How much data can I read from Smart contract, Is there a limit
When reading data, you are only reading it locally from the node you are connected to. The rest of the blockchain is not bothered at all.
Therefore you can only flood your own node - or that of your ...
1
vote
Accepted
Why my transaction failed : error -3200
I believe your gas settings are incorrect. In the Remix IDE you can fix it easily. Please find the below image. I think something like 300000 for gaslimit and 5 gwei for value should be fine.
UPDATE
...
1
vote
Where does the yield for staked eth before the merge come from?
Currently on the beacon chain, each validator is rewarded to conduct actions helping the protocol to reach consensus.
Duing an epoch (32 slots or 6min24sec) each validator can receive a reward up to 0....
1
vote
Accepted
How does Proof Of Stake deal with transactions that are transfering more money than had been staked
This is a really good question and the answer is the following:
You can not forge a transaction.
This is impossible thanks to cryptography. The whole reason why we call cryptocurrency crypto-currency ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ether × 2030solidity × 424
go-ethereum × 230
tokens × 196
transactions × 181
web3js × 179
blockchain × 170
wallets × 141
contract-development × 133
erc-20 × 130
etherscan × 120
gas × 108
remix × 103
metamask × 100
ethereum-wallet-dapp × 92
mining × 91
myetherwallet × 90
contract-design × 53
dapps × 49
testnets × 46
exchanges × 44
bitcoin × 43
mist × 41
truffle × 40
smart-contract-wallets × 40