Questions tagged [ether]

Ether (ETH) is the main internal crypto-fuel of Ethereum and is used to pay transaction fees.

Filter by
Sorted by
Tagged with
5 votes
1 answer
383 views

ETC/ETH split still safe after October 18 2016 hardfork?

Does this Steemit solution still work in exactly the same manner as before the HF of October 18th? Do I need to wait for the second HF/ETC HF coming next week, or can I try splitting already (since ...
Vol Har's user avatar
  • 361
5 votes
1 answer
1k views

How to transfer from one ether wallet to another?

I am trying to transfer ether programatically with EthereumJ from my wallet to anothers. I have seen A similar question here but the answer did not define and initialize all the variables, nor did the ...
Intelli Dev's user avatar
5 votes
1 answer
243 views

How can an attacker use a replay attack to send value to his own address?

I'm sure this is a conceptual error on my part. I understood the idea of a replay attack as being the capturing of a txn body with its signature on one chain and 'replaying' it on the other (ETH to ...
Bill LaPrise's user avatar
5 votes
2 answers
1k views

Why does a mining reward exist?

I understand that there needs to be an incentive for the nodes to be keeping the blockchain up and running by validating blocks, and mining rewards is that incentive. I fail to understand why does ...
Madhavan Malolan's user avatar
5 votes
4 answers
331 views

Unused Local Variable error in Crowdsale contract

I've been trying to create a crowd sale contract but it does not compile and comes with the error "unused local variable". Really not sure what to do as the code came directly from the ethereum crowd ...
Ervin Kurtaj's user avatar
5 votes
4 answers
6k views

Problem In Getting Rinkeby Test Ethers

I tried to get rinkeby ethers from https://faucet.rinkeby.io/ by creating a tweet but the website shows "insufficient funds for gas * price + value” error. I also tried the website faucets....
Aman Gupta's user avatar
4 votes
1 answer
2k views

How to divide 11 wei by 2? [duplicate]

Do you know what should be the result of dividing suppose: 11wei by 2(integer value) = ? Thank you.
alexey polusov's user avatar
4 votes
3 answers
5k views

accepting ether in a smart contract

I want to create a simple smart contract for registration of users to a competition where when users can pay to contract and 2 ethers will deduct from his account. But when I'm trying to do so on my ...
Hrishabh's user avatar
4 votes
4 answers
8k views

How do I get all my wallet balance

How do I get all my wallet balance? I already have a very large number of wallet addresses, and I need to know the balance.and I want to know the number of addresses
ali's user avatar
  • 103
4 votes
4 answers
4k views

How to calculate an Ethereum Contract's address during its creation using the Solidity language?

Now I know and have read the other thread saying that a contract's address is created deterministically via RLP encoding the creator's address and his nonce and then hashed with Keccak-256 but the ...
Alex Papageorgiou's user avatar
4 votes
1 answer
3k views

Gas Costs - Reading Data - Is this Free?

I have conflicting information about this. I thought reading the blockchain was free but writing was at a cost. Now someone says to me that executing any contract even just reading data has a gas ...
Trevor Lee Oakley's user avatar
4 votes
2 answers
3k views

How can a smart contract run when receiving ether directly, not through a function?

I have a smart contract with a payable bet() function. When someone sends 1 ether to the bet function, the contract is executed. I'd like the contract to run the same code when someone sends ether to ...
Anto's user avatar
  • 311
4 votes
2 answers
823 views

why are Transactions paid in Gas and not just Ether directly [duplicate]

All the explanations I heard for the Gas usage, could imho also be dealt with in Ether directly. What is it that Gas does that couldn't be done with Ether directly?
vladimir's user avatar
4 votes
6 answers
6k views

Get Balance History of address

In building an IONIC app, I am attempting to retrieve the historical balance of a single Ethereum address. I am currently not sure how far back I will need to go. I know that Etherscan.IO offers a web ...
Kontra's user avatar
  • 43
4 votes
2 answers
1k views

Learning Ethereum development? & idea possibility?

what are some good places to learn more about ehtereum development/solidity? Usually when learning something new I tend to head to books or treehouse tutorials :) however there is fairly small amounts ...
David's user avatar
  • 61
4 votes
3 answers
3k views

What is the purpose of Testnet?

I'm just getting into cryptocurrencies so forgive me if there are some basics I am missing out on. I have got a bitcoin account up and running and will soon be buying a few just to test things out, ...
James Mallett's user avatar
4 votes
1 answer
6k views

Can I send ethereum to a contract outside of its constructor?

How do I fund Solidity contracts with Ether? The example in the Solidity FAQ, http://solidity.readthedocs.io/en/develop/frequently-asked-questions.html#store-ether-in-a-contract, funds a contract via ...
glowkeeper's user avatar
4 votes
1 answer
1k views

How to send ether to a contract (even if the contract doesn't implement receive or fallback functions)? [duplicate]

If the contract doesn't implement the receive or fallback function as payable, it can't receive funds?
Eric Nordelo Galiano's user avatar
4 votes
3 answers
2k views

What's the interfaceID for ERC-20?

What's the interfaceID for ERC-20? It's not in the EIP. It's shown for 165 and 721 but not for ERC-20.
user's user avatar
  • 461
4 votes
2 answers
13k views

gas required exceeds allowance (8000029) or always failing transaction

When executing this function, I get an error gas required exceeds allowance (8000029) or always failing transaction i know that this error have when use transferFrom function. Where i wrong? help me ...
modernToking's user avatar
4 votes
1 answer
12k views

ParserError: Expected primary expression

Following is my code: pragma solidity >=0.4.17; contract Lottery { address public manager; address[] public players; constructor () public { manager = msg.sender; } ...
Sagar Deshpande's user avatar
4 votes
2 answers
4k views

RangeError: private key length is invalid (In New ETH Transaction pragmatically)

Followed this Ans Ans1 and Ans2 but no solution got. const web3 = new Web3('https://ropsten.infura.io/v3/3c52917848e945229c0d33d632b10490'); const account1 = '...
Vishal Dalve's user avatar
4 votes
1 answer
394 views

Will Bitcoin and Ethereum be linked/bridged?

Will Bitcoin be linked to Ethereum in the future? If so - how will it link, and when is this planned to happen?
tmit's user avatar
  • 137
4 votes
1 answer
3k views

Calculate transaction costs for storing data

I'm trying to figure out how the transaction costs are calculated for a transaction that is storing data on the Ethereum Blockchain. It seems I'm always off. Here is my way of calculating (I'm using ...
Mr. 124's user avatar
  • 65
4 votes
2 answers
2k views

Ethereum Qr-code with amount?

How should a qr-code be formated with an amount in it? The npm package ethereum-qr-code uses the following format according to EIP-67: ethereum:0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8?gas=42000&...
Richard Liebmann's user avatar
4 votes
1 answer
249 views

How is it possible to move ETH out of an Ethereum address as soon as it gets into it?

How is it possible to move ETH out of a non-contract Ethereum address as soon as ETH gets into it? There is someone, who apparently gave out his private key and public Ethereum address, which has ...
chuacw's user avatar
  • 306
4 votes
1 answer
3k views

Ethereum wallet address creation limit and ether storage limit/capacity per address

I am new to Ethereum. I would like to know How many addresses can you create in an Ethereum wallet (limit)? Meaning is it 1K, 10K or 100K addressees you can create in a Ethereum wallet What is the ...
jamesT's user avatar
  • 143
4 votes
2 answers
3k views

What gives ether it's intrinsic value? [duplicate]

Trying to understand how ethereum and blockchain work. I keep hearing that miners are needed to do the computations to unlock a block (don't know if that's the correct term). My question is this: ...
Matt Cashatt's user avatar
4 votes
1 answer
1k views

Is it possible to brute force account creation in order to steal ether?

Ethereum users could generate new accounts for each transaction they make, which would greatly increase the number of accounts being used to receive ether. Would it be possible (and profitable) for ...
Donavan Theodor's user avatar
4 votes
2 answers
1k views

Transaction monitoring for deposits?

How do I monitor deposits for the account on ethereum? I saw some APIs that do this and I have tried to do the same on js web3 with filter but without any luck. What I would need is to get all the ...
gorgi93's user avatar
  • 141
4 votes
1 answer
608 views

Why contract are used for bot purpose instead of use their eth address directly?

Each time i see bot frontrun it's a contract address. Why it's a contract address ? People who use bot are not able to use their ethereum address directly ? or there is a benefit to use contract ...
Valentin Garreau's user avatar
4 votes
2 answers
1k views

difference between gas price and gas limit

What is the exact difference between gas price and gas limit ? And what should be their value? I am reading about smart contracts and these two words are used alot.. need to know what they are and how ...
evildage nulgath's user avatar
4 votes
1 answer
5k views

how can ethereum addresses are same between different networks (testnet & Main)?

I found, Wallet address are remain interchangeable if i switched between the different networks(Main Network , Ropsen Network & Rinkeby Network) is it assigned to particular machine IP, if not ...
user1986760's user avatar
4 votes
1 answer
2k views

How to generate deterministic keypairs using ed25519

I am trying to implement my wallet using ed25519 curve, i was using tweetnacl from this link "https://github.com/dchest/tweetnacl-js" its working, But i want to generate deterministic key-pair ...
crypto money's user avatar
4 votes
1 answer
2k views

Difference between /* and /**? (Commenting contracts)

In some contracts I saw comments that are made with "/*" and "/**". For me the only change would be in the IDE like Remix, that the color changes from green (/*) to blue (/**). I until now liked the "/...
dkb's user avatar
  • 723
4 votes
1 answer
3k views

How to send ether to an account instead of creating a smart contract using ethers.js

I would like to send some ether to an account in ropsten testnet. I'm using the following code and the library https://docs.ethers.io/ethers.js/html/. However, instead of sending the ether to the to ...
Pol Alvarez Vecino's user avatar
4 votes
1 answer
865 views

How can a user buy tokens from the Web?

I know Token holder can send Token to other user by using Mist Or MyEthereumWallet but How it is possible by any web application? is there any specific ethereum api's by which we can buy sell token ...
Umar Abbas's user avatar
4 votes
2 answers
3k views

How to unlockAccount account using private key instead of password

I am working with https://github.com/ethereum/wiki/wiki/JSON-RPC api + curl . And implementing custom api using this php library: https://github.com/Achse/geth-jsonrpc-php-client below method is ...
Yogesh Karodiya's user avatar
4 votes
1 answer
4k views

Deploy smart contract to mainnet with Infura and MetaMask

I am trying to deploy my smart contract to the main net using the following code: truffle.js: module.exports = { networks: { live: { provider: new HDWalletProvider("mnemonic from ...
Legiit's user avatar
  • 43
4 votes
1 answer
526 views

Buy function not working with solidity 0.4.2

I don't know if there is any such change in latest Solidity version that is preventing execution of this function: function buy() returns (uint amount){ amount = msg.value / buyPrice; ...
Prashant Prabhakar Singh's user avatar
4 votes
1 answer
7k views

I do not get any ether when mining

I'm mining on nanopool with Claymore's miner. This is the batch file: setx GPU_FORCE_64BIT_PTR 0 setx GPU_MAX_HEAP_SIZE 100 setx GPU_USE_SYNC_OBJECTS 1 setx GPU_MAX_ALLOC_PERCENT 100 setx ...
Max Hopfgartner's user avatar
4 votes
1 answer
261 views

How do I output the full account on the node?

http://etherscan.io/accounts/a list of all normal account on the node. http://etherscan.io/accounts/c list of all contact account on the node. How did obtain this information? Where did that ...
Belle_oni's user avatar
4 votes
1 answer
597 views

GPU works but cannot find a solution

I have previously mined on a Sapphire Radeon Nitro R7 370: the hash rate was roughly 13Mh/s. I decided to upgrade and bought a Sapphire Radeon Nitro R9 390. Knowing of a bottleneck, I have ...
Z3R0_D4Y's user avatar
4 votes
3 answers
5k views

Can't read value from '.env' file in my hardhat project

I am trying to read variable values from my .env file here, but all I am getting is values are undefined. require("@nomicfoundation/hardhat-toolbox") require('dotenv').config() const ...
Gourav Kumar's user avatar
4 votes
1 answer
2k views

What means relay in ethereum?

What is relay in ethereum?For doing transactions, any difference? I am not sure the concept of relay, it looks like one account can pay gas for transaction on another account.
Louis's user avatar
  • 1,155
4 votes
1 answer
179 views

Ethereum Private network for Production use case

When I should consider to use Ethereum Private network for Production use case? Can I dictate network difficulty rules and apply permission on such network. Regards Dev
CaptPython's user avatar
4 votes
2 answers
9k views

how can i find the contract name from the address using the etherscan API?

I have the address but I want to know the name of contract. Is there any way to get that from the etherscan API?
Kasichainula Keshav's user avatar
4 votes
2 answers
5k views

how get to nonce that need to send in ethereum transaction?

I have written down node js code to send eth using web3. I am getting nonce value using getTransactionCount which is working fine but as all know it can not count pending transaction so if i send ...
Anil Baweja's user avatar
4 votes
1 answer
740 views

Does an ethereum node save all transaction history?

I know that a full node keeps the record of a state tree, and in every block there's a list of transactions. My question is, does a full node have to keep all the tx lists? The state tree already ...
Anton Cheng's user avatar
4 votes
2 answers
2k views

Does The Test Blockchain Get Reset/Cleared?

hi i am working with solidity and blockchain and i wanted to find out about how often the ropsten-testnet gets reset. i cant find what i'm looking for so maybe it doesn't get reset, but if it doesn't ...
X0r0N's user avatar
  • 364

1 2 3
4
5
46