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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

2
votes
2answers
16 views

First Time Ethereum Wallet User Setup Questions

I will try to make this a fast post with just a few questions I cannot figure out the answers to: I am trying to accept/send ETH payments and have downloaded, installed, and created a wallet using ...
1
vote
0answers
8 views

How to know the price of the day of ETH in USD by Oracles?

Consider in a contract the payer intends to pay recipient ETH based on USD (ex. the salary is 1 USD but paid by ETH). So, if today contract needs to know equivalent value of 1 ETH in USD exactly at ...
1
vote
0answers
9 views

Best ways to get only “active” in arrays - get group members

let's say I have an group contract where users can join and leave groups. When a user joins a group, his address will be added to members[groupId]. When he lefts, the members[groupId] will be set to ...
1
vote
1answer
18 views

My transaction is pending and it seems like doesnt execute the transaction at all?

I wanted to transfer ERC20 tokens from MEW to another ERC20 token wallet. It seems like not moving. Now my transaction is pending and it doesn't showing up in myetherwallet as a pending status. Can ...
1
vote
1answer
24 views

Not able to send Ether to contract

I am trying to send Ethers to a contract deployed on Ganache but I am getting VM Exception while processing transaction: revert, the same logic is able to transfer Ethers to other account. Following ...
0
votes
0answers
24 views

How to deploy a smartcontract on mainnet without a browser (=no metamask)

I want to deploy a smart contract without the browser, so with no metamask and no remix. I tried ethers.js but I have this error on etherscan : "Warning! Error encountered during contract execution [...
0
votes
1answer
24 views

Progamming contracts in Ethereum, is it safe?

I am completely new to Ethereum. I read a lot of articles and have a question. As far as I understood, one can develop smart contracts in Ethereum that are like executable programs. In these ...
1
vote
3answers
35 views

Retrieve stuck ether on smart contract

Is there any way to recover ether that is stuck in a smart contract? refundMoney() method was supposed to call only after everything is finalized but because someone has transferred some ether amount ...
0
votes
0answers
18 views

How are arithmetic operations performed on strings within EVM bytecode?

for eample, I have this following bytecode: 60A060020a which translate into: PUSH1 0xA0 PUSH1 0x2 EXP How would an exponentiation operation be performed on the 2 items pushed into the stack, when ...
0
votes
2answers
27 views

Can code send ETH to user accounts?

I was watching a talk by Vitalik in DEVCON1 in which he says code can do three things one of them being code can send ETH to other contracts. But can it send ETH to users account as well? Attached is ...
0
votes
2answers
15 views

set transaction limit for each token

Is it possible to set a limit for the number of transaction each token can have in solidity? for example, a token can only transfer 10 times.
0
votes
0answers
27 views

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

Followed this Ans Ans1 and Ans2 but no solution got. const web3 = new Web3('https://ropsten.infura.io/v3/3c52917848e945229c0d33d632b10490'); const account1 = '...
0
votes
0answers
27 views

Do billions of nodes run one's deployed smart contract? [duplicate]

I want to know how smart contracts work. When only one smart contract is deployed, can all nodes access it or not?
0
votes
1answer
28 views

How can I use the fallback function to accept a payment?

I can't quite find the answer I'm looking for. The gas limit for the fallback function is 2300. Whether I call another method or set a variable, I blow WAY past the 2300 limit, rendering it ...
0
votes
1answer
16 views

What happens when crypto is sent to my offline desktop wallet?

I'm planning a switch to a desktop wallet for my crypto accounts. My first choice is Exodus (exodus.io). I understand that because it's a desktop wallet, the machine it's running on obviously needs ...
0
votes
1answer
19 views

Using smart contract

Assume that the following contract has been deployed to Ethereum. Do I have to pay anything if I want to run it? contract NameRegistry { mapping(bytes32 => address) public registryTable; ...
0
votes
1answer
16 views

How to get ETH from Dwarfpool to Coinbase?

I have been mining Ethereum (ETH) using SMOS and Dwarfpool for the last few months. I was also using MetaMask to transfer my mined ETH coins to Coinbase. It was working fine until MetaMask pushed an ...
1
vote
1answer
22 views

Trustless Inter-chain transaction with Bitcoin- are there any flaws?

Let's say that Alice wants to send Bob 1 BTC, and in return Bob will send Alice 1 ETH. Alice's Bitcoin address is BTC_A, and Alice's Ethereum address is ETH_A. Likewise, Bob owns addresses BTC_B and ...
1
vote
0answers
18 views

trading a secret message with some person only after money is paid

I want to build a DAPP where person A trades a message with person B for ether. Since the message is secret, person A encrypts the message by using public key of person B and stores the message in ...
0
votes
1answer
24 views

Easy send Ether to multi address?

How to tranfer ether to 100 address easy? Im try ing wallet contract and multisend ETH with myetherwallet.com but not working.Ether tran to Wallet contract but not send to other address. Other method ...
1
vote
1answer
36 views

Integrating Ethereum to facilitate transactions [duplicate]

I’m kind of lost on where to start with Ethereum. I would like an easy way to integrate Ethereum with my app. My main goal is to facilitate trades between users. There are 2 ways of doing this, ...
0
votes
1answer
29 views

How to find, whose ETH address it is? [closed]

Is it possible to get personal information of a person using his ETH wallet address? I did sell my ETH to one person, due to a technical glitch, multiple ETH transaction happened without my ...
0
votes
0answers
10 views

@param _toAddresses quesion

Is there anyway to increase the * @param _toAddresses The addresses of the recipients (MAX 255) * @param _amounts The amounts of tokens to be transferred Instead of 255, can it be increased to ...
0
votes
1answer
42 views

multiple transfer?

First of all, hello. we will write a token for a project we have developed. We are creating new tokens, we want to write a simple contract on remix ethereum. We will distribute a large portion of the ...
1
vote
1answer
23 views

How to hide/protect smart contract arguments

In Ethernaut level 8 you are given this contract to hack: pragma solidity ^0.4.18; contract Vault { bool public locked; bytes32 private password; function Vault(bytes32 _password) public { ...
0
votes
0answers
21 views

Remix and ganache-cli | Contract override

I have a problem when developing in Remix and using my testnet as a blockchain. I have a contract that connects through an interface with an standart ERC20 contract. Everything works fine until I ...
0
votes
1answer
24 views

Error while deploying contract

While deploying contract to ropsten tesnet (truffle migrate --network ropsten) I am getting an error: insufficient funds for gas * price + value ropsten: { network_id: 3, host: "...
-2
votes
1answer
16 views

i have a problem in my wallet

where can I find out where I have created a wallet ? i opened through a website a wallet for eth but i forgot the website i opened the wallet through. Im mining on Nanopool website , here is the ...
4
votes
2answers
80 views

What’s the block reward for smart contract miners?

Maybe this is a basic question, but I can’t figure out what are the block rewards and/or transaction fees for miners of smart contracts . When talking about a cryptocurrency, the block rewards are new ...
1
vote
1answer
22 views

Best practice in 2018 to claim Ethereum presale purchase [duplicate]

I have the presale wallet and password, but went through a number of trials and just now trying to get back on my feet. I have yet to claim my presale and could really use it to help with medical ...
0
votes
0answers
15 views

how to convert a ether value into follow result

i want to conversion for follow value. input value =158972490234375000 result as expected=0x0234c8a3397aab58; is it possible to reverse converting ?
0
votes
0answers
26 views

difference between Gas and ether [duplicate]

How the Gas and ether is different in Ethereum a) Is there any built in calculation in converting Gas to ether. b) Is there any chance to change the conversion logic time to time
0
votes
1answer
90 views

insufficient funds for gas * price + value ropsten

While deploying contract to ropsten tesnet (truffle migrate --network ropsten) I am getting an error: insufficient funds for gas * price + value ropsten: { network_id: 3, host: "...
0
votes
0answers
15 views

Not able to access ropsten account

I installed ropsten testnet and created 2 accounts. "eth.accounts" returns the following: ["0x54eb2b021a26c17b83927ad14587a24b0bd16b66", "0x14e6b19304fb3c98a73acea5f80d2c056ee5c09f"] I wanted to ...
0
votes
0answers
28 views

How to set Derivation path (m/44'/60'/0'/0/0) in Android

I tried to use Web3j and created other demo also with different libraries. My problem is I want to set derivation path pf wallet.Or I want to find a place derivation path set in a code. Becoz it gives ...
1
vote
1answer
37 views

How to transfer Ether to ERC20 token contract?

I have a function that needs to make transfers to a token smart contract as well as personal accounts upon satisfaction of some conditions. function completeSale() onlyOwner public { if (...
1
vote
1answer
64 views

How get Ethereum address using phrase only in Android

I want to get Etherum address and private key by adding Phrase (or Password) everytime. I tried by following many gihub code.It gives different private key everytime. In Web3j, I found it is based on ...
1
vote
0answers
14 views

Pulling ETH-BTC quotes from coinbase programmatically [closed]

I am using the coinbase 2.1.0 python api to pull prices. I have been able to pull BTC-USD prices but not ETH-BTC. My code is: from coinbase.wallet.client import Client api_key = "" api_secret = "" ...
0
votes
2answers
71 views

Architecture for Dapp

I have been working on a dApp where a user can create contests and set attributes of contest like contest start date, end date, no of players, entrance fees etc. There can be N no of contests running ...
0
votes
0answers
35 views

Ethereum Address genration gives new address and new private key everytime in Android

I am using 'org.ethereum:geth:1.6.5' dependency. I am trying to follow github code of https://github.com/ethmobile/ethdroid .I found it gives every time new private and address. I want to have same ...
2
votes
1answer
394 views

what is difference between “gas” “gas price” and “fee”?

Can we say that gas is the unit of transaction fee ? And gas price is the same transaction fee ? If so, why we do not use ether and wei instead of gas ?
0
votes
1answer
16 views

How do I send out of etherscan [closed]

I sold zrx in binance and sent it to my ethereum address in coinbase. My coinbase account was blocked so when I went back to binance at the bottom I clicked and it showed the sale with the money ...
1
vote
1answer
47 views

Async with getAccounts

I'm working on a simple project. Part of that requires retrieving accounts from the web3 provider asynchronously (so that they can be used as variables in the code of my frontend). My initial ...
0
votes
0answers
16 views

Parity send local without fee

I created some accounts on my computer use Parity. I'm sent ETH to this accounts. Now, i want move all balance of all accounts to new account without fee. I can? Of course, the new account in local ....
0
votes
0answers
24 views

What happens if the “balance” of the address which sends “address.transfer(amount) is ” zero "?

Consider the balance of the address that sends address.transfer(amount); to receive the amount is zero. For example we have following address with balance of zero: web3.eth.getBalance('0x123').then(...
0
votes
1answer
32 views

Is there any way to fix my mistake when setting up a Multisig wallet?

So I am an idiot... I know. But feel free to tell me I am. When I set up my Multisig wallet with gnosis I made a fatal error. I created a Rinkeby Test wallet. I did a test transaction and it all ...
1
vote
1answer
48 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?
3
votes
1answer
66 views

How to use the zksnarks capability of Ethereum?

Simple question but I couldn’t find the answer anywhere… How to use the zksnarks capability of Ethereum in order to perform fully Anonymous sending of Eter from one wallet to an other one ?
1
vote
2answers
111 views

Go Ethereum - get the enode before starting geth

I need to get the enode of my geth nodes before I start them up.. is there any way to do this via a command other than actually starting up the node ?
0
votes
0answers
16 views

Why is my transacton still showing pending

I created a ether transaction to add my my nation to bitnation. I set the gas required as more than what was needed. It's been 3 days and my transaction is still in pending state. What could be wrong. ...