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
0
votes
2answers
59 views
+50

How to send ETH to address(0) from msg.sender address using multiple token's contracts, with Solidity 5.x?

I need the safest way for an user to send any amount of Ethereum to address(0). The amount is calculated by the contract, and there is no limit (assuming there is enough funds). All the code I could ...
0
votes
1answer
132 views

Unable to send ether to account

I am trying to send ehter using this code web3.eth.accounts.wallet.add(privateKey); web3.eth.sendTransaction({ to:someAddress, from:onwer, value:amount*1, ...
0
votes
1answer
199 views

Ganache not working

I am developing on a testnet on ganache and using remix. I am working with web3 and working on the user interface. when trying to fetch a function with web3/ganache, I get the following error: "...
1
vote
2answers
698 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
365 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 ?
0
votes
1answer
256 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 ...
2
votes
2answers
781 views

Ether Historical Price Data

I am looking for historical ether prices. There was a thread already discussing this enter link description here, however, I would like to get not only the prices available for Ether on Poloniex but ...
0
votes
1answer
13 views

Are there any virtual IoT simulators that facilitate the connection with Ethereum Blockchain?

I already built a smart contract for Ethereum Blockchain by using truffle; Now, I'm looking to connect my smart contract with the IoT environment. So are there any IoT simulators (platform, framework,...
0
votes
1answer
159 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 ...
1
vote
1answer
142 views

How can i watch multiple smart contracts on server

I would like to create a sever that continuously watch the events of multiple smart contract at once. Sending me an alert via email when an event is detected. I understand that there is a web3.js ...
0
votes
1answer
148 views

Unable to change contract data with nodejs (web3)

I created a contract, and deployed it into my private blockchain, as you can see I use mapping and dynamically allocated array. When I am trying to add a domain by 'addDomain' method with remix web ...
0
votes
1answer
13 views

Can i recover ethereum sent to and invalid address? [duplicate]

i've mistakenly pasted "2.5" in address field submitted a withdrawal request. can i get my coins back since the address is an invalid or the coin will be sent? I'm afraid i may loose my coins.
1
vote
1answer
119 views

Question about sharding

I'm reading the white paper, more specific about scaling. I'm stuck on the second strategy. Second and more importantly, however, we will include an intermediate state tree root in the ...
3
votes
1answer
292 views

Need to prove quantity/date of Ether Pre-Sale purchase for tax reasons

Lucky me - I bought 10000 Ether for 5BTC in the pre-sale and forgot about them until just recently. Yahoo! However, now that I've sold some at a profit I'm going to need to prove the date and quantity ...
0
votes
1answer
19 views

Do I absolutely have to do mining to make transactions done on testnet?

As I know, we don't have to mine to make transactions done in Bitcoin testnet, but in ethereum testnet, we need to mine to make them done. Are there any ways to make them done without mining?
1
vote
1answer
38 views

method personal_signTransaction not supported

Good Time I'm trying to test a smart contract in local ethereum wallet with connecting to the ganache-cli but when I try to create a wallet contract it gives me an error: method ...
0
votes
1answer
114 views

Where to execute the code

I am new to parity and kovan-testnet. I have to verify my account in order to recieve keth. I am confused as to where to execute the following code: curl http://github-faucet.kovan.network/url --data ...
0
votes
1answer
43 views

Node error when I deployed smart contract - Web3.js

I get this error when I deployed smart contract to my private chain. Error: Node error: {"code":-32000,"message":"unknown account"} This is my web3.js code. const bytecode = "...
0
votes
1answer
36 views

How can I unlock my account

I cannot unlock my account. I decrypted my account from encrypted accoun, and want to unlock it to deploy contract. However, I am getting this error, Node error: {"code":-32000,"message":"could ...
0
votes
1answer
133 views

Transfer of funds from etherli to poloniex

I can not make the ethereum transfer from the etherli wallet to my poloniex wallet. The message is: "Please fund your user account with sufficient ether (~0.01 ETH / tx) for gas (transaction fees)" ...
1
vote
0answers
39 views

Web3 - cannot deploy contract to private chain has been reverted [duplicate]

I want to deploy a contract to my private chain by using web3.js, but my contract deployment has been reverted by the EVM. This is error message index.js:1437 Error: Transaction has been reverted ...
0
votes
2answers
35 views

Exchange ERC20 token with other ERC20 token

I have 2 ERC20 tokens. The contract are designed as standard ERC20. Here are the 2 tokens to take as an example - AUDC --> Contract Address: (0xContractAUDC) Wallet Address: (...
0
votes
2answers
95 views

What parameter type should I use for contract methods that specify floating point amounts?

In my dApp the user sets the entry fee for the game they are creating. The entry fee for games will usually be between $5 USD and $50 USD. What unit should I use for the contract method that accepts ...
1
vote
1answer
27 views

Can a single token built on Ethereum’s blockchain be more valuable than Ethereum itself?

As in the question, from an economics point of view, is it possible to ever have a single token (REP/BAT or something completely unforeseen currently) takeover the underlying's platform market cap or ...
0
votes
0answers
14 views

Avoid upfront cost for calling own faucet?

To onboard users to a project quickly, I want to build my own little Rinkeby-faucet where users with new accounts (0 ETH) can get a bit of ETH by clicking a button. However, just calling the ...
1
vote
0answers
19 views

PGP Key in Funding Application [closed]

I am looking to get funding from the ECF Network for an Ethereum project. They ask for a PGP key under the apply form ("Please make sure you paste your pgp public key here: ", but nowhere on their ...
1
vote
2answers
288 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 ...
0
votes
1answer
20 views

Create2 and new contract deploy at used address

Given that it seems possible, using somehow CREATE2, to deploy a new smart contract at a certain address where a different smart contract existed before to be killed... (see @smarx answer here Can ...
0
votes
1answer
26 views

How to solve the error “”before all“ hook: prepare suite:” [closed]

When I tested my contract, I got this error ""before all" hook: prepare suite:" Does anyone know how to solve this error? This is my dependencies. "truffle": "5.0.7", "web3": "1.0.0-beta.46"
0
votes
1answer
181 views

Can't send ether to crowdsale contract (fail) + infinite gas bug on Remix

I'm a newbie trying to make a crowdsale contract in Ropsten (deployed a token contract very well before) but i meet some problems : I can't send ether to crowdsale contract, returning a fail status ...
0
votes
2answers
339 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:...
0
votes
0answers
11 views

Inconsistent responses with 'eth_getTransactionByHash' through RPC API. Can anyone help?

I have been using the requests library with python to query the geth/rpc api in order to get ETH transaction data. I connected to geth via "geth --rpc --unlock TESTINGADDRESSWITHNOVALUE --allow-...
1
vote
2answers
632 views

Ethereum wallet/Geth incredibly slow to sync, help?

So I've noticed some people having the issue similar to mine, entitling their post as "very VERY slow to sync" and other variations of that, however they're complaining at around 100 blocks every ...
2
votes
2answers
196 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&...
2
votes
1answer
226 views

Does it make sense to have a Node.js backend serving json to frontend for dapp?

Currently, the architecture I am looking at is that the smart contract (SC) sits on the ethereum network, but it is a complex and multilevel contract system. Just navigating through the tiers of the ...
2
votes
3answers
6k views

How to view custom token balance in ether wallet using web3

Hello I am newbie to cryptocurrency. I have created my erc20 custom token. Now, I want to create an API to view the balance(in my token as well as in ethers) using web3 and node js.Can someone please ...
0
votes
2answers
67 views

Transaction stuck in “Pending”

I've sent some ETH from the Ledger Live app to an exchange but I only used 1 Gwei and now the transaction is pending. It's been 20 hours. Will the transaction run out of gas eventually or will it go ...
0
votes
1answer
1k views

Web3 sendSignedTransaction Transaction cost

I'm new to Ethereum world. I've just manage to create an example that calculates transaction fee and sends a signed transaction without a contract using Web3js library. My issue is that my test ...
0
votes
3answers
282 views

How do I transfer Ether from multiple account to one account?

I have a vast amount of Ethereum wallets, all packed with Ether. I need to transfer all the Ether to a single account. I don't want to do it manually. Is there a way to script it or use a smart ...
2
votes
1answer
514 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
237 views

Compile error when trying to import web3.swift

I am trying to import web3swift into one of my Swift files, but get the compiler error "No such module 'web3swift'". The import statements look like this: "Import Geth" "Import web3swift" In my pod ...
2
votes
2answers
414 views

Help-A-Noob-With-Ethereum-Wallet-Blockchain-Download

I'm on a 2013 Macbook Pro / 16 GB ram / 512 SSD / 2.3 GHz I just transferred 3 ETH from my poloniex account to the Ethereum Wallet on my local machine. The thing is, the entire blockchain hasn't ...
0
votes
1answer
44 views

What I need to verify contract with open-source license?

i m deployed contract in etherscan mainnet. i m verify it with open-source license like (MIT, GNU). now the problem were i don't know were to define license in etherscan ?? and etherscan will validate ...
7
votes
2answers
19k views

Is there a way to mine Ether on a Mac?

All I see is Windows and Linux support only, why is there no guide for mining ether on a Mac? Is there a way to mine on a Mac?
0
votes
2answers
389 views

geth attach issue between mac and windows

I am running geth on windows machine and try for geth attach in mac. I give below error: Fatal: Failed to start the JavaScript console: api modules: Post http://192.168.0.107:8545: context deadline ...
2
votes
1answer
668 views

How to create transaction signature for blockcypher ethereum API

The transaction signing process for the blockcypher ethereum API is explained here: https://www.blockcypher.com/dev/ethereum/#creating-transactions When their "addrs" endpoint is called, their API ...
1
vote
1answer
250 views

How to connect IPC and RPC to transact fake ethers?

I have setup 2 nodes, 1 on testRPC and the other on geth(using cmd and mist). How to sync both the nodes so that I can write a crowdfunding smartcontract for the accounts in both the private nodes to ...
0
votes
1answer
292 views

Import contract wallet

I am trying to import a contract wallet after having deleted all the data from my laptop. I have the keystore file so I am able to recover my main account (in theory this should give me access to ...
0
votes
1answer
260 views

How to download the whole transfer records of a token

I want download the whole transfer records of a token. https://etherscan.io/token/0xB8c77482e45F1F44dE1745F52C74426C631bDD52?a=0xd551234ae421e3bcba99a0da6d736074f22192ff. But the default setting is ...
79
votes
6answers
159k views

What is the total supply of Ether?

In Bitcoin, the total supply is capped at 21 million BTC. Is the total supply of Ether capped? How much will be mined before the Proof of Stake (POS) transition, and how will POS affect the issuance ...