Community Digest

Top new questions this week:

Decode input parameter without ABI

I have a transaction with input data that looks like this: 0x2293db5700000000000000000000000030823e060e8be429b34bd9192df9cad4b166a056 I know that the last 40 characters is the token address which ...

solidity contract-invocation abi decoding  
asked by Marijus 2 votes
answered by Morten 0 votes

What parameters should I use in my EIP1559 transaction for a fast confirmation time

Looking to take part in some minting gas wars and looking to prepare a transaction before hand. What values should I use for my Base Fee Per Gas, Max Fee Per Gas, and Max Priority Fee Per Gas to ...

gas gas-limit eip-1559  
asked by William-Holm 2 votes

How to verify signature on server backend with web3j?

I am sending an EIP_712 signature from metamask to the java backend (web3j) and I need to verify it on backend java application. In this topics it is discussed the support of EIP-712 in java (web3j): ...

web3j signature java eip  
asked by reza ghasemi 2 votes

Hardhat: How to "spin up" a local JSON-RPC fork node at a specific block number with my new contract deployed in it?

I can "spin up" a local fake blockchain in Terminal using $ hardhat node I can also make it fork the real mainnet using Alchemy, even pin it to a specific block N. Other local applications ...

javascript nodejs hardhat hardhat-deploy  
asked by blitter 1 vote
answered by Franco Victorio 0 votes

Make msg.sender to remain constant in solidity nested contracts

I have three different contracts. One is a simple contract (ContractA), second is my token contract and the third one is ERC20 Token contract which is inherited in my token contract. So when I make a ...

solidity web3js tokens ethereumjs nft  
asked by Usama 1 vote
answered by Kenzo Agada 1 vote

how to convert "0.5" number knowing decimals to a valid bignumber

I am trying to create a transaction where the users sends "0.5" USDT token to a smart contract. My issue is that i can't convert "0.5" to a BigNumber in order to pass it in the ...

web3js bignumber  
asked by Kaki Master Of Time 1 vote
answered by Majd TL 0 votes

How does Metamask revert/cancel minting transactions?

I unfortunately wasn’t able to find any information on this, neither on Metamask's community forums nor anywhere else online. I’m wondering how minting transactions are cancelled through Metamask or ...

transactions metamask wallets nft  
asked by JaSp 1 vote
answered by eth 0 votes

Greatest hits from previous weeks:

How does Mapping in solidity work?

I went through the Crowdfunding example in solidity where i encountered the following: contract Crowdfunding { struct CampaignData { address recipient; uint contributed; uint goal; ...

solidity contract-development remix  
asked by Rahul Sharma 31 votes
answered by CBobRobison 34 votes

Balance may be outdated, Metamask

Metamask is showing an asterisk near the account balance, and the message "Balance may be outdated". Indeed the balance is outdated. This is true on all networks (Main, Ropsten, etc.) and ...

metamask  
asked by Rexcirus 7 votes
answered by Blair 5 votes

Overclocking and Incorrect/rejected shares

I recently started mining on my personal computer, hoping to get better results, I overclocked my GPU (I went from 48MH/s to 60MH/s) but after having done so, I started getting "Eth: Incorrect ...

mining  
asked by Riescent 1 vote
answered by Fate25 2 votes

For pool mining, what exactly is a share?

Can someone please explain exactly what a share is in the context of pool mining? I have a superficial understanding of testing random nonces to find a hash under the current difficulty. I also ...

mining mining-pools ethash  
asked by spaceminer 56 votes
answered by Jeff Coleman 55 votes

How to create an Ethereum address?

I know basically zero about Ethereum, block chain etc. I have Augur reps. I have been asked to create an Ethereum address for the sale augur site. I don't have the slightest idea how to generate an ...

accounts addresses  
asked by TLL 14 votes
answered by eth 6 votes

How can I check if an Ethereum address is valid?

I've read many times that you should never input an address by hand unless you want to accidentally send Ether into no-mans-land. I'd like to know what those checksums might be. Is there a way to tell ...

ether addresses checksum public-key  
asked by ZMitton 71 votes
answered by eth 58 votes

How to manually approve a token for swap on Uniswap (direct contract interaction)

I want to approve token spending on Uniswap for a token I don't own. Uniswap UI won't let me do that (instead it displays a gray out button "insufficient balance"). Seems the only option ...

contract-invocation etherscan uniswap  
asked by Pm Rivière 4 votes
answered by Markus - soliditydeveloper.com 7 votes

Can you answer these questions?

Nodes running in archive mode cosumes different disk space?

I have 2 nodes, running in archive mode, both using Geth/v1.1.2-c4f93121-20210825/linux-amd64/go1.15.14. Both of them has finished syncing with the network (I checked using eth.syncing and it ...

go-ethereum archive-node  
asked by tiendo1011 1 vote

How do I decode bytes32 using Ethers.js

I'm listening for an event: OrdersMatched (bytes32 buyHash, bytes32 sellHash, index_topic_1 address maker, index_topic_2 address taker, uint256 price, index_topic_3 bytes32 metadata) This is what I'm ...

events ethers.js  
asked by alcatraz 1 vote

Can I send ETH to an Smart Contract address?

I'm developing an Smart Contract based in the Openzeppelin's Crowdsale one. When I test the Crowdsale Smart Contract manually, sending ETH with metamask, the SC returns me the correct amount of tokens....

crowdsale openzeppelin-contracts sendtransaction  
asked by AlexAcc 1 vote
answered by AlexAcc 0 votes
You're receiving this message because you subscribed to the Ethereum community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038

<3