Questions tagged [ether]

Ether is the currency used in Ethereum blockchain technology. Refer: https://ethereum.org/ether Questions about Ether which aren't about programming should be asked on the dedicated Ethereum site: https://ethereum.stackexchange.com. Questions which are about programming can be asked on either site.

Ether is a necessary element — a fuel — for operating the distributed application platform . It is a form of payment made by the clients of the platform to the machines executing the requested operations. To put it another way, Ether is the incentive ensuring that developers write quality applications (wasteful code costs more), and that the network remains healthy (people are compensated for their contributed resources).

The official website of is Ethereum.org.

There's also a Ethereum StackExchange site that's dedicated to Bitcoin.

162 questions
2
votes
0 answers

Solidity, Struct containing a (nested) mapping cannot be constructed

I am using solidity ^0.8.7. When I try to create a Struct that contains mapping, I revied an error: "Struct containing a (nested) mapping cannot be constructed." I think it is something to do with documentation changes in version 0.7.0. But I cannot…
Lcob
  • 21
  • 1
2
votes
0 answers

I am not able to register new ENS name in Ethereum Name Service

I am using JS library Web3 JS My aim is to register a new ENS name like "demo1234.eth" on Ropsten Test Network I tried setResolver web3.eth.ens.setResolver('demo1234.eth',…
2
votes
1 answer

Chainlink.Request doesn't have `add` function

Now I am using this dependency:"@chainlink/contracts": "^0.1.7" and solc v0.8 Facing this issue: Member "add" not found or not visible after argument-dependent lookup in struct Chainlink.Request memory It's saying that Chainlink.Request doesn't have…
Andy Bell
  • 23
  • 3
2
votes
1 answer

How to make some action in a Solidity contract cost 1 Ether

I have a contract defined in solidity and I want to make it so that when a specific function is called, the overall cost of the contract increases by 1 ether. I am a little fuzzy on how to use ether in practice. Would I just use a normal int for…
logankilpatrick
  • 13,148
  • 7
  • 44
  • 125
2
votes
1 answer

create a smart contract that holds and sends funds to set wallets

Hi im new to smart contracts and trying to create a contract that stores and splits the funds between founders is this anywhere near close or can anyone help me please. Thank you // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.4; import…
Leeb
  • 21
  • 2
2
votes
2 answers

Ethereum wallet shows it has ethers but geth does not show the balance

I am starting to learn ethereum. I have downloaded the Ethereum Wallet, created two accounts and using Rinkeby faucet I got 3 ethers in one of the account. I can see the balance in my wallet. I then ran geth --testnet --datadir d:\data and it…
unni
  • 63
  • 8
2
votes
1 answer

Can the same public address used for Ether be used to receive other coins as well?

I am planning for a cryptocurrency app, and am trying to figure out something I haven't been able to find an answer to. On the Etherum blockchain, a user has a public address used for receiving coins, and a private key used to send. There are also…
Lars Andren
  • 8,601
  • 7
  • 41
  • 56
2
votes
1 answer

How many confirmations should I have on ethereum?

I want to support ethereum payments in a coffee shop. The constraint here is that when a customer wants to pay, the period of waiting on the confirmations should not take more than 30 seconds. I know that 1 ethereum confirmation takes around 15…
2
votes
1 answer

Why does estimateGas always return null or zero?

I am having some issue with the following... it might be my code or might simply be that the transactions require no gas? They always return null or zero. var gas = 0; const eth = new Eth(web3.currentProvider); const contract = new…
scott
  • 1,531
  • 2
  • 16
  • 29
2
votes
1 answer

Error using EtherJS: this.provider.getTransactionCount is not a function

I'm trying to use Ether.js in React-Native environment to send ether. I followed the example on the Etherjs guide. This is my code: let privateKey = 'walletPrivateKey'; let destinationAddress = '0xa43cBF460670deA2AcC7642bBF71DBe867dB2e06'; …
ndreuccio
  • 69
  • 9
2
votes
1 answer

Contract deployment & transactions inconsistently fail on Rinkeby test network?

I'm using Infura & MetaMask and deploying to the Rinkeby test network. The contract compiles & runs without error in Remix. After compiling the contract in console, it deploys inconsistently. When it fails, I receive the following…
Don
  • 3,876
  • 10
  • 47
  • 76
2
votes
2 answers

How to send Ether from Address with private key and password?

I'm trying to use PHP and Cron to send Ether from an existing account using web3 or something similar, any tips on how I can accomplish this? I have JSON in an SQL table…
2
votes
1 answer

Gas required exceeds block gas limit fallback function

I'm working on a smart contract and followed this video here: https://www.youtube.com/watch?v=s677QFT6e4U&t=911s. I copied the code exactly, but when I try to call the fallback function I get the following error: Gas required exceeds block gas…
SwimmingG
  • 654
  • 2
  • 9
  • 29
2
votes
4 answers

Can't deploy smart contract on Rinkeby or Ropsten via Truffle

I've been trying to set up demo ethereum based ICO fallowing this tutorial, but each time i try to deploy contract to Ropsten or Rinkeby ir fails with this error: Running migration: 2_deploy_contracts.js Deploying SuperHeroTokenThreeCrowdsale... …
Matiss
  • 5,079
  • 2
  • 27
  • 27
1
vote
0 answers

Can't start mining with geth

there is a problem with ether mining. I want to start mining via geth with the geth --mine --miner.etherbase= command, but I get a error: panic: ethash (pow) sealing not supported any more goroutine 4247…
Миша
  • 21
  • 2
1 2
3
10 11