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
10 views

How to generate test funds for Infura Ropsten Network wallet

I have been using Web3.py, and Web3's TestRPCProvider to create some utility functions in Python to deploy a smart contract meant to generate an ERC20 Token, and then communicate with that smart ...
-1
votes
0answers
11 views

Ethera Coin is registered on etherdelta [on hold]

Dea Sir Pl. give me the information for ethera coin . If it is registered here then how I deposit and withdraw
2
votes
1answer
19 views

Generate addresses using xpub

I have a cold storage where I installed BTC-Electrum and LTC-Electrum wallets. So I have took extended master public keys and have generating addresses in my online service. Now I want to generate ...
1
vote
1answer
22 views

I want to remove the timed aspect of this crowdsale contract and make it finalizable manually [on hold]

Which lines do I remove and what do I replace them with to change this from a timed crowdsale contract into one I can end manually? pragma solidity ^0.4.18; interface token { function transfer(...
0
votes
1answer
19 views

Reading of state variables vs the memory varables . and memory vs storage keywords

contract Shopping { struct Article { uint id; address seller; address buyer; string name; string description; uint256 price; } // state ...
0
votes
1answer
19 views

Why my tokens aren't visible to the address sent in etherscan?

I've flattened the code and fixed the warning. But the problem with the contract is that the tokens are not visible in the addresses when searched with etherscan but when I try to add through Metamask,...
0
votes
2answers
21 views

Why it's showing errors in this contract?

Actually, I wrote the code in multiple files, but since I need to Verify and Publish the code so, I tried to flatten the code. But now it is showing way too many errors. I put the code below with ...
0
votes
1answer
21 views

how can I pair my ERC20 token with Ethereum

I am building an exchange and i just want to know how this pairing thing works. How can I pair my ERC20 token with other crypto assets like Ether and BTC?
1
vote
1answer
13 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
0
votes
1answer
18 views

I am trying to add ether to one of my etherium account using smart contract

function Execution (address _from, address _to) { _from.transfer(price); _to.getBalance(_to) += price; } 1) I think it is duplicate but i gone through but nothing helped 2) I ...
1
vote
2answers
44 views

can't use the crypto money I earn working for gitcoin.com

Recently I resolved a public GitHub issue and was paid 125 units. I was told its worth about 125 dollars. I've installed the chrome metamask plugin. I also purchased 5 dollars worth of ETH from ...
0
votes
0answers
32 views

ERC20 Token transfer gas/gasLimit problem

Transfering ERC20 token to an address using KyberNetworkProxy trade function. Asked this question previously came to these results Transaction fails and successfully transfer ERC20 tokens too. ...
0
votes
0answers
14 views

ETHER Not Received On My Account on Rinkeby Testnet [duplicate]

I started a local node connected to the Rinkeby testnet... geth --rinkeby --rpc --rpcapi='personal,eth,network,web3,net' ... and then attached the geth console: geth --datadir=%HOMEPATH%/.rinkeby ...
1
vote
0answers
37 views

Triggering contract fallback function by sending ether from another contract

contract A { uint public u; event abc(address); constructor() payable{ u=100; } function () payable{ emit abc(msg.sender); u = 25; } function setu(uint i) { u = i; } function ...
0
votes
1answer
18 views

Estimation of gas in web3js 0.20

Q:- While sending only Ether One wallet to another wallet(NO SMART CONTRACT), do we need to define the default gas limit and price? i.e. 21000 * 3 OR 21000 * 4 OR 21000 * 5 etc Or I've need to use ...
0
votes
3answers
36 views

How to create a smart contract that has token and transfers tokens to whoever sends ether?

I want to create a smart contract which is able to create tokens, priced at some amount of ether, example uint price = 1 ether;. Now after someone sends any amount of ether, the same amount of tokens ...
1
vote
1answer
36 views

How to deploy contract in parity-ethereum use json-rpc

I'm using atomic swap to exchange money in 2 private blockchain. I used json-rpc to create 2 private chain and created HTLC (Hash time lock contract) to exchange. But I don't know how to deploy ...
2
votes
2answers
23 views

Does a transaction always require a smart contract to be executed?

I had a discussion with someone explaining that every time a transaction occurs (e.g. ICO token or ETH) on Ethereum it would pass via a smart contract or would require one. I would like to know what ...
1
vote
1answer
30 views

account nonce - what if it did not exist? [duplicate]

I can't understand how account nonce actually avoids double spending. Every answer about this on the internet follow the pattern "If you only have 50 Eth and try to send 50 to A and 50 to B with ...
0
votes
1answer
23 views

Smart Contract that can transfer ETH to other ETH Wallet (Owner of the Smart Contract)

I actually my partner created a Smart Contract which is able to create a new smart contract and send the proceeds. I'm quite new to Solidity unable to figure out a way to modify the smart contract to ...
1
vote
2answers
35 views

MEW says not a valid erc20 token but don't see errors

I created a token prior to this one that is fine. I used the same template, followed the same exact steps to create another token but getting the not valid erc20 error. https://ropsten.etherscan.io/...
0
votes
0answers
35 views

Why this contract isn't able to accept ETH from the senders?

I'm trying to use this smart contract in Rinkeby Testnet and I have tried sending 1 ETH but each time the transaction is canceled and isn't working. I compiled the code in Remix, there was no problem. ...
0
votes
1answer
58 views

Create a faucet for Ethereum Private network to get Ethers

I have came up with a private ethereum network. I was able to do the transactions and contract deployments. The funds for all the nodes were specified in genesis. But I need to get a way to send any ...
0
votes
1answer
38 views

Send accurate ERC 20 custom token

I have one issue, I can't send accurate custom ERC 20 token to an ether address. Here is my custom token detail. Balance: 0.000000000000000324 BucksTec Decimals: 18 I sent 44 tokens to an ...
-1
votes
1answer
67 views

Found a Telegram ETH scammer/theif's main wallet address on Etherscan with $150,000 worth of stolen coin. What can be done?

Someone in my Telegram Telcoin group that I've talked to for months say they were a victim of ETH theft by a known ETH scammer in Telegram. This person sent me proof of pictures they took of ...
0
votes
0answers
18 views

Ethereum Import Wallet for Android using Geth

In Android using Go-Ethereum and with the help of this article I have created the Ethereum Account and the Address is generated, but need to import an existing ethereum account. Can anyone help on ...
1
vote
1answer
21 views

Quick question: can a function send multiple tokens?

And by the question I mean if I can send a couple of few different ERC20's or let's say even 1 ERC20 + some amount of ether in one function?
0
votes
1answer
18 views

How can I withdraw ether balance from contract to a personal account?

How can I withdraw ether balance from a contract to a personal account? İ tried but I couldn't do it on Ropsten. Could anybody tell me step by step how to test this? Thanks.
1
vote
1answer
19 views

sent my eth to unknown eth FREEWALLET address [closed]

How can i recover my eth it was sent to an eth address with a one transaction from FREEWALLET. I am using the trust wallet while sending and im very sure that what i copay and paste is the same ...
0
votes
1answer
64 views

Transaction has been reverted by the EVM

thanks all of guys help me. thanks very much. I created contract in rinkeby test network. the contract address is: https://rinkeby.etherscan.io/address/0x5dedcba9851e5c7ff464d5ee6ef75301a8c43d8b I ...
0
votes
3answers
37 views

Error when trying to add a payable function in erc20

Most of the ERC20 examples on the internet have this function: // ------------------------------------------------------------------------ // Don't accept ETH // --------------------------------------...
0
votes
0answers
39 views

Infura API for mobile(ionic) app

I have one little question. Suppose I have private key of user in ionic app. Is this enough to make transactions using infura API and web3?
2
votes
1answer
30 views

How to get byte code from deployed contract in

I want to get the byte code of a deployed contract. How can I get it? Is there a special function in web3.js? I haven't found any.
1
vote
1answer
43 views

Verifying Signed Data

I am busy trying to get my head around recovery of an address using ecrecover(). The I'm having trouble recovering the correct address when providing signed data to the contract. The contract that I'...
1
vote
1answer
61 views

Getting large amount of ropsten ether

I want to get about 150000 ropsten ether for testing. Is there any way to get it? I've seen some faucet websites but they have limitations.
3
votes
2answers
112 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 ...
0
votes
0answers
11 views

Error : Cannot Connect to My New Pool Even From Rig Or Normal GPU Or by switching Ports

2018.09.07:04:00:26.339: main Phoenix Miner 3.0c Windows/msvc - Release 2018.09.07:04:00:26.339: main Cmd line: -pool stratum+tcp://arabpool.net:8888 -wal 0xdeb278867E1822a12AFe9C2bF0F329d9AE78f75F....
1
vote
0answers
37 views

Case study : Blockchain as a service [closed]

I have a web application which has DynamoDB as the database. I want to store some SCORE in a DynamoDB table. How can I restrict this SCORE to only some set of people in my web application can modify ...
2
votes
1answer
132 views

Error while refreshing pending block on main: Post http://127.0.0.1:8545: dial tcp 127.0.0.1:8545: getsockopt: connection refused

i have this problem : Error while refreshing block template on main: no mining work available yet https://github.com/sammy007/open-ethereum-pool/issues/387 this dident help https://github.com/...
1
vote
0answers
25 views

Why Ropsten Testnet has Total Ether Supply < the biggest ether holder balance?

Let's see two below image that I cropped them from ropsten.etherscan.io. Can someone tell me why Total Ether Supply < the first address balance?
2
votes
1answer
65 views

How to fix “Fatal: Error starting protocol stack: listen udp :30303: bind: address already in use”?

I am referring this tutorial and miner.start(1) works fine and mining is started as expected like below. INFO [09-05|15:41:26.486] Commit new mining work number=221 sealhash=1892af…...
1
vote
1answer
18 views

How to detect multiple ETH payments and link to order

First, I read this article, but it's not my case. I'm creating crypto payments solution inside Telegram Bot for multivendor. Here is my problem: Customer have unique wallet for payments. When he ...
2
votes
1answer
55 views

What is pyethereum?

I have seen a definition here saying: "This is the Python core library of the Ethereum project" So what is it's use? To develop dapps using python on the ethereum network?
1
vote
1answer
37 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 ...
1
vote
0answers
9 views

What happens to the missing coins in this transaction? Copy paste this code into remix to reproduce my original bug. Thank you

pragma solidity ^0.4.24; contract TheCaseOfTHeMissingCoins{ string public name; string public symbol; uint8 public decimals = 18; address public owner; mapping (address => ...
1
vote
1answer
28 views

How to charge all gas fee to a General Master Wallet

We are currently developing a blockchain platform that deals with sending of tokens from users to users, and as you know, ETH is required as a gas fee to be paid for any ERC20 token transfer from a ...
1
vote
1answer
12 views

How to add multi sign master wallet to a smart contract [closed]

How can I add a Multi Sign Master wallet features to a Smart Contract
0
votes
1answer
24 views

Transaction reverting when it hits Require statement in function

I have below contract. I deploy my contract in remix and put 1 ether in value but when I execute enter() function I get an error. This is the contract: pragma solidity ^0.4.17; contract Lottery{ ...
1
vote
2answers
62 views

HI, can i get live Ether to USD price in my smart Contract ? I want to keep a hardcap in USD. is it possible to do so?

I want to make a function for my ICO to calculate ethers collected so far and convert them into USDollars. I wanted to hard cap my ICO in USDollars. Is it possible to do so ? I am using Solidity to ...
1
vote
2answers
63 views

Can the same keypair be used for holding ETH and different ERC20 tokens?

I have an ETH keypair. Can I hold ERC20 tokens with this ETH keypair also? Can I hold several ERC20 tokens with one key pair?