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

Eth address created from an outdated version of MEW off line

Hello I have MEW off line client 3.7 (2018 version) on an airgapped computer Since the new client doesn't let me create new ethereum wallets offline (it blocks itself (idle) while creating it) can I ...
0
votes
0answers
26 views

How to understand supplies from smart contracts

I would like to understand how is total supply calculated and how could I know how much is circulating for particular token. I will just use random token for example https://etherscan.io/address/...
0
votes
1answer
31 views

Saving migration to chain.insufficient funds for gas * price + value

It looks like the contract was deployed well on mainnet However, eventually this error occurs Saving migration to chain.insufficient funds for gas * price + value Does it mean that the migration was ...
6
votes
0answers
33 views

Can we avoid the protocol overhead of JSON-RPC and directly connect to GETH through some interface?

I want to build a middleware that adds additional data to JSON RPC responses. This middleware would sit on the same hardware or machine as the GETH node. The traditional approach would be to simply ...
1
vote
1answer
39 views

Building a recursive smart contract — is it possible?

I would like to create a sort of tree type hierarchy of contracts. Think of it like a multi-level-marketing scheme -- the person at the top will receive X. For each of the k people he recruits he ...
0
votes
1answer
31 views

problem with sending ethers on ropsten network

I am trying to send ethers from one address to another address on the ropsten network but I get the message "undefined". Here is my code: web3.eth.getTransactionCount(account1, (error, ...
0
votes
0answers
20 views

Please look over my contract for re-entrancy

I know the random number generator isn't secure and is susceptible to manipulation from miners and any advice on the method to generate random numbers will be appreciated. However, the reason I'm ...
0
votes
1answer
13 views

How can the contract move funds from a user wallet to a contract address

We are creating a system where every month some ethers shall be transferred from user wallet to a contract wallet. We are focusing on creating a dapp too, so a user will initiate this request and once ...
0
votes
1answer
27 views

Error: Returned error: VM Exception while processing transaction: revert when using methods.MyMethods.Send

I am writing a simple betting application that will return double the ether deposited by the player, provided they guess correctly the random number generated by the virtual slot machine. it works ...
0
votes
1answer
32 views

How do I get a list of tokens held by an Etehereum address?

TL;DR: wanted: a method that receives an address as a parameter and returns an array of token names/contracts/balances held by address. I'm aware of the fact that Etherscan API has a method allowing ...
0
votes
1answer
31 views

I have a Transaction Hash, how to get the readable Input Data?

i have a Transaction Hash: 0x9f46760404dd3075533e8360fe4beb0ba7210423af1f4a95a5c80defffe824b5, for how do i decode the "input data" easily? for example: https://www.blockchain.com/eth/tx/...
0
votes
0answers
27 views

My Crowdsale contract wont transfer ERC20 tokens and all transactions fail

I have a crowdsale contract that recieves tokens directly from a mint function in my token contract.the function mints the tokens and sends its to the Crowdsale account address. when I run let token = ...
2
votes
0answers
21 views

generate large amount of ethereum address with hardware wallet

How to generate large amount of Ethereum address with hardware wallet. Currently Ledger Live only allow to generate one address at a time. If generating thousands of address will take many times to ...
0
votes
0answers
9 views

DAO tokens from ether wallet [duplicate]

I just got access to a old ether wallet with all my DAO tokens. Is it too late, no way to convert them back to Ether? any way at all?
0
votes
1answer
37 views

Token addresses for DAI , USDC and WBTC for IUniswapV2Router02

I have searched a lot but maybe I am looking in the wrong places. Please how can I get the token addresses for USDC , WBTC and DAI that work with Uniswap Router02 on mainnet and kovan. Thanks
0
votes
1answer
32 views

How can we lock ETH in user wallet without escrow contract?

I know the logic of using an escrow contract in which 2 or more users send their wagered ETH to a smart contract acting as escrow proxy, and then after some decision contract executes we release the ...
1
vote
0answers
32 views

How do I find the amount of Ether the deployed contract on Remix IDE holds?

Assuming I have successfully deployed a contract on the online Remix IDE and sent Ether to the address the contract is deployed to; how do I find the amount of Ether that the contract/address now ...
0
votes
0answers
18 views

How do I store or use private keys in node js that I deploy in live server?

I have a live server running a full GETH NODE in which I need to sign a transaction with a private key. The problem is I dont know how I can use the private key without explicitly providing the ...
0
votes
0answers
24 views

web3.eth basic functionality

I'm just trying to get web3.eth in node.js to tell me what the current block number is but I get an error 'UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response: ""', I have &...
0
votes
1answer
20 views

Different kind of Wallet/Addresses/Accounts

I have a few questions regarding crypto wallet accounts and currencies. Recently I came across https://www.bitaddress.org/. This website generates bitcoin wallets. Now, when I tried to verify that ...
1
vote
1answer
41 views

blockchain oracles to communicate with external api via smart contracts?

Is there is any other oracles other than provable or oraclize to communicate with external api via smart contract.
1
vote
1answer
73 views

How to build an Ethereum hot wallet for an exchange

I’m developing an exchange. When a new user register on website we will create new eth wallet for them. When they deposit USDT on their wallet how can I transfer that USDT amount to another address (...
1
vote
1answer
37 views

Latest block number and its transactions from etherchain.org

I am trying to get the latest block information such as latest block number and all its transactions details such as Tx hash, gas price, gas used, timestamp etc., from etherchain.org. I know Etherscan ...
0
votes
0answers
33 views

Need to access ether with my private key

I had a small amount of ether stored in a wallet i downloaded from the appstore (on android). Unfortunately my phone broke and now I cant find the same app on the store anymore. I tried finding the ...
0
votes
0answers
19 views

Ether transaction does not reflect in ganache

Hi am developing a etherium DAPP. In that for every user registration some ether will get transfer from user to contract... Everything work perfect but the transacted ether is not reflecting in ...
0
votes
1answer
36 views

ParserError: Expected primary expression - address payable - payable()

I'm trying to get myself familiarized with ethereum. So I was going through a repo, and tried to rum the code : function transferFundOnResolve(uint cid) private { // Could also be used: ...
0
votes
0answers
20 views

Ethereum token transaction taking too much time to confirm [duplicate]

I was transacting an ethereum token CRO crypto coin out of wallet. There was 3 fees options. I chose fees for slow transaction time. And it told the transaction should confirm in 30 minutes. But now ...
0
votes
1answer
31 views

Ethereum transaction with multi input and multi output like bitcoin

What happens to my wallet when I only 1000 accounts with 0.0001 ether and the tx-fee is about the same, I can't spend anything anymore?
1
vote
2answers
52 views

What is the point of transaction fees if new ETH is generated as a mining reward?

I don't understand. What is the point of transaction fees if new ETH is generated as a mining reward?
0
votes
1answer
26 views

ethers formatEther(wei) with max 4 decimal places

I want to display a human readable balance with less decimal places like metamask does it. The function formatEther(wei) returns a string, so for proper rounding I need to parse it etc. And I wanted ...
0
votes
1answer
67 views

While testing wrap & unwrap of ETH to WETH on Kovan ,however the wrap function is fine but unwrap func fails,is anything wrong in my approach?

trx fails at & debug at tenderly pragma solidity 0.5.12; contract WETH9_ { mapping (address => uint) public balanceOf; mapping (address => mapping (address => ...
0
votes
1answer
28 views

what is parent transaction in ethereum

I am learning about ethereum, when I learn I came across a term Parent transaction Hash I would like to know regarding this
1
vote
1answer
152 views

Transaction Failed but showing as Pending on Etherscan

So I just started using ether after the same was legalized in my country (India). I use Coinbase Wallet for my Storage of ether. I decided to shift to Metamask from Coinbase Wallet and as such ...
0
votes
1answer
18 views

Where can I find compiler info to verify & publish an ERC-20 token on Etherscan when I didn't write the code?

I'm a developer working for a small startup with a standard ERC-20 token that we'd like to verify on Etherscan, but I wasn't the person who minted the tokens initially (that developer no longer works ...
0
votes
1answer
18 views

How would a miner include my tokens merged mining function in blocks they mine?

So I have a merged mining token. How would a miner include my function in the blocks they mine? pragma version: v0.4.26+commit.4563c3fc.js Merged mining code: function mineTokenReward() { ...
0
votes
2answers
50 views

Unknown Accounts suddenly appearing in MetaMask wallet…?

My MetaMask wallet has multiple accounts which I did not create. I have no idea how they there. Is my MetaMask wallet compromised? Or is this normal that MetaMask creates new wallet addresses when ...
0
votes
1answer
31 views

why is there no software downloadable wallet for ETH?

There is bitcoin core wallet..which you download on your computer and you have 100% full ownership of your bitcoin BUT etheruem NEVER has anything like this..most of the wallets are either on a ...
0
votes
1answer
19 views

Like an ERC20 interface, do we have any interface or a smart contract that supports creating and transferring Ether on Ethereum?

To create a token on Ethereum, we use ERC20 token interface to design our token smart contract that captures functions required like mint(), tranfer(), balanceOf(), etc. Similarly, do we have any ...
0
votes
1answer
28 views

Getting this error `ValueError: {'code': -32000, 'message': 'insufficient funds for gas * price + value'}` on raw transaction send

I know for sure I have enough eth on account. Some prelims: I am signing a raw transaction with web3.py, like so: transaction = { 'to': '0xSENDHEREFINALLYPLEASE', 'value': 1000, 'gas': ...
1
vote
1answer
46 views

Gas price data from GETH

I am able to get gas price data as follows from some oracles (i.e., ethgasstation.info, etherscan.io): { "fast":50.0, "fastest":200.0, "safeLow":10.0, "average":20.0, "block_time":13....
0
votes
1answer
31 views

Buy tokens form other smart contract using interface

I have two separate contracts, let's say Token and BuyFrom. pragma solidity >=0.4.22 <0.7.0; interface InterfaceToken { function invest(address contributor) external payable; } contract ...
0
votes
3answers
49 views

Is there a way to use My BAT coins which I moved to Coinomi Ethereum wallet By mistake?

I didn't understand that Coinomi Ethereum wallet doesn't support BAT coins and I transfered my coin into that account. Is There a way to use my coins? or they are lost for good?
0
votes
1answer
16 views

Why token value is getting changed on Ethereum?

I have created ERC20 token with 18 decimals. From web3 (application front end) when I transfer 100 tokens, on etherscan it shows 0.0000000000000001 . When I call to get the balance then on UI it ...
0
votes
1answer
41 views

receive ether from address only after another address has sent ether

I have a two smart contracts. One receives ether(ReceiveEther) and the other sends ether(SendEther). I have it set so whoever made SendEther can only send to ReceiveEther if both contract creators ...
0
votes
0answers
23 views

I have an ERC-20 token created. How does it get value now? [duplicate]

Ok, so a friend of mine helped me create an Ethereum token for me with a 1M supply. I call it the POTTA token. I have also started distributing my token to other friends with a tool that he built so I ...
0
votes
1answer
26 views

Have contract creator address be the only address that can execute a function in contract

I have three contracts all interacting with each other. Contract "Receive Ether" can receive ether from one of two "Send Ether" contracts Contract "Send Ether First" should only be accessible by ...
0
votes
2answers
76 views

Ether price prediction after PoS consensus protocol in Ethereum 2.0 [closed]

What do you think about the Ether price after Ethereum 2.0 moves to Proof of Stake consensus protocol? will it rise or fall? and why?
0
votes
1answer
24 views

transfer ether from smart contract to my wallet

Hi I awant to transfer transfer ether from smart to my wallet so I ceated a sendEther function in the smart contract function sendEther() public { msg.sender.transfer(1 ether); } very basic ...
0
votes
1answer
30 views

Get latest block info with gas price, block time etc., from etherscan.io

I am trying to collect information such as, 'fast': 140, 'fastest': 165, 'safeLow': 100, 'average': 120, 'block_time': 8.875, 'blockNum': 10021935, 'speed': 0.8993211072506393,....etc. on the latest ...
0
votes
1answer
23 views

Limit the amount of times a smart contract can receive ether

How would I set a limit to the amount of people who could send ether to a contract? I can't find anything on google or youtube. Ideally the contract would stop taking inputs after 2(or however many) ...

1
2 3 4 5
28