Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ether]

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

1
vote
1answer
195 views

How to hide my eth balance

i want to hide my eth balance from myetherwallet, etherscan , ethplorer .how to hide my eth balance in my ether wallet , etherscan , ethplorer. any methods available, please reply thanks
0
votes
0answers
7 views

Unable to pass the value to function's parameter in Remix

I am testing a contract which has a transfer function which accepts the array of values and address. It works fine when I pass a smaller value as mentioned in the below transaction. https://ropsten....
2
votes
1answer
19 views

Issues sending Ether with web3j

Hello guys I have search around but no reasonable explanation as to why i would get these exceptions, I have already requested and have 3 ethers with associated with my address. Here is my code for ...
6
votes
1answer
420 views

Can a contract with no payable function have ether?

The question in the title says it all. To the best of my understanding, the only way to deposit ether into a contract is by calling a payable function, and set msg.value larger than 0 (and of course, ...
1
vote
1answer
15 views

Event not visible on Etherscan transaction list

I have a BuyToken event when user send ether to smart contract they will receive tokens based on ether amount. For ex: 1 ETH = 1000 Token. /// This notifies clients about the Buy Token event BuyToken(...
-1
votes
0answers
26 views

Internal JSON-RPC error

I am getting the error Ïnternal JSON-RPC error when i am going to deploy my contract over "https://wallet.ethereum.org/deploy-contract". please share your advice. Thanks
1
vote
0answers
23 views

Programmatically send ERC20 tokens to user wallet. How does transfer work?

I have been researching how to securely send and transfer ERC20 tokens from the contract address to a new user wallet. Tokens will be earned through participation on my platform. Based on results I ...
0
votes
2answers
26 views

How Does Exchanges Implement Gas Fees for ERC20 Tokens

Any crypto exchange like binance, bitfinex and so on let you deposit and withdraw various ERC20 tokens. Technically I don't understand how they implement gas fees when I withdraw? I deposited 100 ...
0
votes
0answers
11 views

When create contract there is no Token Tracker [on hold]

I have no idea what's wrong. I used two different Pc to make contracts but contract allways have no token tracker. This is my adress: 0x1da7ee4676dde2a7fad0799f20d15eb2cbaa2944 I create first ...
0
votes
0answers
49 views

ALERT: Trying to call a function on a non-contract address

I have a smart contract with a payable function. My project allows users with MetaMask to input a value in Ethereum on the front end, click on 'Enter' and send that value to the smart contract. As ...
1
vote
1answer
27 views

How to update value on ethereum blockchain without metamask?

pragma solidity 0.4.24; contract UniToken{ string value="Hello"; function set(string x) public { value = x; } function get() public view returns (string) { return ...
1
vote
1answer
24 views

Multiple Array[] along with mapping handling

This code is running but when the same user make a bid then the bid is being replaced from the first bid and event is printing twice the same record. i want that one address make a bid and for his ...
1
vote
3answers
49 views

infura vs Eth Node [duplicate]

I want to connect web3 services with public Ethereum (main net/test net) to execute my smart contract method. Which is better Infura or to create my on Node? Please suggest.
1
vote
1answer
11 views

In proof of stake, is there a difference between being offline and deciding to leave entirely?

I'm struggling to understand the proof of stake concept. As I understand it, in order to participate in validation and its rewards, you must ante up some ether (I was told a minimum of 32). You are ...
1
vote
1answer
25 views

Solidity keyword require (false) will run out of my gas, why?

I meet a strange problem when I test my contract in Remix-ide + geth 1、I run a private chain in geth 2、I connect to the node with web3provider in Remix-ide 3、I deploy the contract like this : ...
0
votes
0answers
53 views

Insuffient fund error deploying to Ropsten using PetShop Dapp - can confirm have valid key and sufficient eth now [duplicate]

I have been testing the petshop Dapp for serveral weeks now using local ganache and all is now working following some changes both from developers of petshop on Git Hub and the the metamask update. ...
1
vote
2answers
38 views

What is wrong with the 'sell' and 'buy' token functions in my contract? [closed]

There is my solidity function buyTokens(uint256 _numberOfTokens) public payable { // Require that value is equal require(msg.value == multiply(_numberOfTokens, tokenPrice)); // Require ...
1
vote
1answer
24 views

What are all possible values of txreceipt_status?

I was wondering what are all the txreceipt_status possible statuses. I was investigating some blocks and noticed that some statuses are empty like: ' ' or have '1'. For both of those, transactions ...
0
votes
1answer
23 views

What is the purpose of Private Blockchain?

What is the real purpose of private blockchain for example in Ethereum ? I mean found a lot of tutorials online about creating a private blockchain, creating an accounts there, setting coinbase accout,...
0
votes
1answer
24 views

The use of ERC20 tokens in a private ethereum network

I am being told to use a private blockchain instead of the public one in attempt to cut gas cost. But I was hit with the problem of the value of ether and tokens in this private blockchain. I am ...
1
vote
1answer
26 views

ICO and Token both together

I know we can create a token contract and also we can create a ico contract. Is it possible to create a contract include ICO and Token itself? any idea or example?
1
vote
2answers
68 views

DappHub Multiply Function

Could someone explain the use of performing a multiplication such as this? I mean the logic is fine, but what is the importance from a security point of view? function mul(uint x, uint y) internal ...
0
votes
1answer
19 views

What is a suitable pattern for mobile/web apps that leverage ether?

Looking to understand how to build an app that leverages Ethereum - what suitable patterns are out there (ideally to go via some tutorials). I'd like to build a Hello World simple app (mobile and/or ...
0
votes
1answer
28 views

Any option to get larger amount (i.e. 2000) of Rinkeby Ether?

We are planning to open our product to the public for live testing. We want to support both Ropsten and Rinkeby networks, just in case. When registering, each user should get around 10 ether on ...
1
vote
1answer
130 views

Remix is compiling the smart contract but not solc command

I am able to successfully compile a smart contract in remix IDE. However when I try to do the same with solc npm command, it shows a JSON error when compiling. Voting.sol pragma solidity ^0.4.25; ...
1
vote
2answers
24 views

What is meant by locking of ether in proof of stake?

In PoS, forgers stake their ether on a block. These ether are locked and can't be used. What does it mean by locking of ether and how does it work?
1
vote
1answer
31 views

the balance in genesis file is it in ether or wei?

In genesis.json file I have this balance : "bd7a14e103ffa97ec5fd96d9975adb1b52756ef3": { "balance": "0x200000000000000000000000000000000000000000000000000000000000000" } the hex number ...
1
vote
2answers
37 views

What are the use cases of tokens? How they are different than ethers?

I am searching for the ERC20. From what I found is that , tokens allow us to have our coins based on smart contracts. But I am little bit confused about the use cases of tokens? When I should use them ...
0
votes
0answers
36 views

what Error encountered during contract execution [Reverted]

transaction links: https://etherscan.io/tx/0xde06942b2236f9fc4fa777f2c980f21847538f823654aff68a489027efa02286 https://etherscan.io/tx/...
1
vote
0answers
19 views

Ethereum js wallet for php

https://github.com/ethereumjs/ethereumjs-wallet I need this library with the same functions in PHP Would u give me the link
1
vote
1answer
34 views

How to make fair gas consumption of smart contract users

i have made a contract that 2 users participate in the smart contract, both users do the same steps however i notice it that user1 pay more gas ( transaction gas and execution gas ) than user 2 any ...
1
vote
1answer
49 views

Smart Contracts without ETH Transactions

Maybe I'm wrong, but I understand that Smart Contract Transactions must always contain a "VALUE" field, that's to say, the amount of Ether Alice will transfer to Bob in case certain condition ...
0
votes
1answer
14 views

constructor should be payable if you want to use message sender

Hi There i was running this code on remix javascript vm. But this gave me error on buy function that constructor should be payable if you want to use message sender. I can't understand the mistake as ...
0
votes
0answers
25 views

How do you mint a large amount of ERC721 Tokens with Open Zeppelin?

When Metamask pops up it says contract error and transaction fails if you try to put it through sometimes it just keeps looping round while it is estimating the transaction cost. I am using Ganache ...
0
votes
2answers
18 views

I cannot send ETH from my blockchain wallet

Yesterday i have Transaction {Dropped & Replaced) https://etherscan.io/tx/0xfdca0e5c597f0a3f298afd5d56e939a8cefc10117df6b22d5342e1b6d5803caf I saw it Replaced by TxHash:...
1
vote
0answers
28 views

Is there a more elegant way to do an aggressive multi-send?

I understand there are many approaches to do multisend but for me timing is a priority and I do not want to stop the transaction if a address.send fails. function multiSend() internal isAdmin { ...
1
vote
2answers
42 views

How to dynamically load contracts data with their ABI from etherscan API?

Im wanting to pull data from a smart contract I've loaded via user address and etherscan API for the ABI. But how would I go about programmatically adding all the functions from the ABI into my ...
1
vote
1answer
29 views

Transaction dropped. How to increase gas fee?

I sent some ether using Ledger Live, but the gas fee was too low. Id like to increase the gas fee. I was told I can do this via Ledger Etherum Wallet for Chrome. However, when I open Ledger Etherum ...
0
votes
1answer
54 views

etherscan request API limit [closed]

i want to know the limit request on etherscan API with API key, and limit if we go on paid service. thanks in advance.
0
votes
0answers
9 views

SendTransaction from web3js sends high gas exception error

I am developing a game on ethereum blockchain. When i interact with the Smart Contract from Etherscan, i am able to call the function and it works perfectly with very less gas. But if i call the same ...
1
vote
1answer
19 views

Send eth from one account to another using transfer() function

I am trying to write a smart contract that will send eth from one account to another account : Contract Send { event Sent(address from, address to, uint amount ); function send(address _receiver,...
0
votes
2answers
32 views

Can I have someone submit my transaction to the network, so I don't have to pay the gas fee (in ether)?

My account is a new account with 0 ether. I just received 100 of ERC20 tokens. I would like to send these 100 tokens to the other account. However, since this account does not have any ether in it, so ...
0
votes
1answer
16 views

What is the max ethereum allowed in a private network for the whole network?

When I build a private chain setup, what is the maximum Geth ethereum I can have for the life of the network. Another way of asking the question would be: What is the maximum ethereum one account can ...
0
votes
2answers
29 views

Do I need to buy Eth for the transaction?

recently I've completed my transaction from empowr to ether wallet about 1003 empowr coin in total. But, the real problem is that the money doesn't show up in my wallet. But in etherscan it shows that ...
2
votes
0answers
29 views

Can we use Ethereum Swarm to store normal data other than blockchain or dapp data.

I want some basic data to be stored like name and city phone no etc.So just want to ask can I use ethereum swarm just to store file and make several node to create decentralized storage.
0
votes
2answers
45 views

How to call a function of a smart contract [closed]

I'm totally new to solidity I have a contract that I have to compile and deploy. Now, I have to interact with it (specifically with one of its functions) but I don't know how to do that and I feel ...
0
votes
1answer
42 views

Altering / overriding the method from main contract

I am using openzeppelin to create a ICO as a CappedCrowdsale and TimedCrowdsale as mentioned in the example mentioned in the below link. Reference : https://github.com/buddies2705/Solidity-Tutorial/...
1
vote
1answer
24 views

Sending hundreds of signed transactions with web3js which succeed but can only find a couple on Etherscan

I am using web3js to send hundreds of transactions to Ropsten (will eventually change to mainnet) and I am getting a tx hash for all of them, which means that supposedly, all the transactions have ...
0
votes
2answers
70 views

Truffle : dotenv is not working in truffle.js

I am trying to get the seed words from the powershell command prompt. Hence I am using the 'dotenv' in truffle.js require('dotenv').config(); console.log('aa - process.env.MNEMONIC : '+mnemonic); ...
1
vote
1answer
27 views

Is Ether just a naming convention?

I've been looking in the go-ethereum code (where it appears 24(!) times, mostly in comments) and around, I can't find any reference for Ether having any signification rather than a naming convention. ...