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

problem calling balanceOf from another contract

I try to learn solidity and i have a problem. I've created a base token and i want to call the balanceof method from this token in another contract. In Solidity Remix i get : call to BaseTokenBet....
2
votes
2answers
477 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
votes
1answer
48 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?
0
votes
1answer
1k views

Computer lagging & low MH/s & stop mining

Hi I am very new to mining and tried using Claymore DualMiner to mine ETH on the Nanopool. I've set everything up, synced the blockchain and generated the config file from https://nanopool.org/ and ...
0
votes
1answer
55 views

How to view or transfer initial ethereum smart contract balance?

I created a new smart contract token with initial supply and deployed it via MetaMask. Then I added this token into MetaMask but token balance is Zero. Now, My question is when we create a new ...
0
votes
1answer
103 views

how to find if a Tx hash is in pending state in ethereum mainnet after web3j fastTxMgr timeout

I am using QueuingTransactionReceiptProcessor() with callback accept(). DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH is 10 and POLLING_FREQUENCY is 15000. That gives nearly 3 min wait for network to ...
0
votes
0answers
26 views

How to know weather ETH or some token like USDT is transfered in smart contract transaction

From last two weeks I am stuck on, I want to know in smart contract transaction either ETH is transfered or some token like USDT below is the JSON of transaction hash. I am working with DotNet core ...
1
vote
1answer
24 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 ...
0
votes
1answer
29 views

How to check when erc20 token was received in certain address

i am hosting a node and fully sync it. how i can call its api endpoints to figure out when DGX is received in certain wallet addresses.
0
votes
1answer
95 views

Decoding Hex value in solidity

I am trying to view values stored on my ethereum contract using ethereum wallet. Currently the values are being placed onto the contract in hex format. Is there a way to decode them on the contract so ...
0
votes
1answer
240 views

Ethereum mist wallet not synchronising, not showing Ethereum and folder

I am a beginner at setting this up and I used a youtube tutorial to download Mist. The problem is it's not syncing the blockchains. I've tried to debug this by going to users/appdata and inside the ...
0
votes
1answer
38 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,...
2
votes
1answer
49 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
1
vote
1answer
33 views

Transfer WETH from myetherwallet to metamask wallet

I converted some of my ETH to WETH already, on my hardware wallet. H/w wallet was conected to myetherwallet, and I can see my WETH there under tokens panel. I also created a metamask wallet and I am ...
0
votes
1answer
23 views

call contract function without a fullnode?

I have a contract that I deployed a while ago. My mist is like 6 months behind and I don't even think I have enough HD space for it to catch up. I can still launch it anyway to get contracts and ...
3
votes
1answer
480 views

Ganache (UI) save blockchain

I am running a testnet on Ganache UI. But when I deploy a contract and close and reopen ganache, there are no blocks and the contract deployment is gone. Is it possible to save/load a blockchain ...
0
votes
2answers
36 views

Can you store anything other than Eth in one wallet

Total newbie to blockchain. I want to use ethereum to store information and not so much currency. For example, I want to create a game where I can store someones point. Can the wallet address store ...
2
votes
3answers
151 views

Issuing bonds on Ether

Envisage the following scenario: You are running a business, which requires a float to operate. Your float is x amount of USD This float yields a annual revenue of a XXX amount of USD This float ...
0
votes
1answer
22 views

CLI wallet where I can pass in a Private Key and send out ETH and then delete this key?

Is there a CLI command where I can pass in an ethereum private key and send some coins to another address? I'm trying to build out a reoccurring payment system where a user can send 1 eth to another ...
0
votes
1answer
28 views

I am using already deployed tokens in my contract

My question is if I'm not implementing ERC-20 methods in my contract, but I'm using already deployed ERC-20 contract methods in my contract, so can we say this will be ERC-20 compliant contract? ...
0
votes
1answer
13 views

Trying to get a wallet at Myetherwallet

I went on the site, got my Keystore file number and my Private Key number but I cant figure how to get my address? Tryed for hrs.
2
votes
1answer
66 views

Ether in ERC-20 transactions?

I have one contract that I give tokens from a ERC20 contract implemantation. When I call the balanceOf function from the Token conract. Response me that I have x Tokens. Nice !! But when I try to ...
1
vote
1answer
33 views

Why does Ropsten faucet show “Your account is grey listed for 0 hours and 0 minutes”?

I am requesting test ether from a Ropsten faucet, but it is showing an error. Please help me to resolve this error.
0
votes
3answers
393 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 ...
0
votes
3answers
69 views

Auction contract question - Ether lock

I have an auction contract, where bidders bid with Ether then me (owner) select which offer is most suitable and thus this bidder is contract winner. Once the winner is selected, I send him data as a ...
0
votes
1answer
47 views

Passing ether through smart contract logic to address

I'm wanting to pass Ether through some smart contract logic then to some address set in the contract. Is this the possible, or the best way? Or should the ether be passed to contract and the receiver ...
1
vote
1answer
35 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 ...
0
votes
3answers
56 views

Transfer ETH using third party

I want to transfer ETH from an individual address to another address. So is there any API provider who can send ETH from single Address to another address. Also If I setup Web3 in windows machine ...
0
votes
3answers
75 views

How to start Geth at boot (Raspberry) and interact with it

I want to use a raspberry for IoT. For this project I need to start Ethereum (Geth) at privat chain in the boot state. When I have some data, I would like to make a transaction (contract) to store ...
0
votes
1answer
13 views

Needs some helps in graphic cars

what's the super graphic card is a very suitable for the mining etheium and what is the exact CPU that suits it wuth RAM.
0
votes
0answers
16 views

Hourly data for Ethereum?

Is there any reliable source for hourly data for Ethereum dating back to 2017? The poloniex API only provides me with daily data - https://poloniex.com/public?command=returnChartData&currencyPair=...
2
votes
4answers
3k views
1
vote
3answers
27 views

Is there anyway to seize an account from smart contract?

I creating a smart contract for manage loans and I am searching some way to make me sure when the borrower defaulted pay back the loan, seizing some percentage of ether from the guarantor's account. ...
1
vote
1answer
30 views

Saving ethers in local private testnet

I created a private ethereum tesnet using geth and it runs well on the system. However, I lose all the ethers in my account everytime I close the application. Is there a way to permanently save the ...
0
votes
2answers
69 views

Blochchain Smart Contract App

Actually Im working on a blockchain application based on smart contracts that allows to buy/sell properties and paying in cryptocurrency using Ethereum and Bitcoin. I wonder I develop smart contract ...
1
vote
1answer
42 views

Internet on the ethereum network

Excuse this if this is a dumb question. Would the whole internet at some scale be something we can put on the ethereum blockchain?
0
votes
1answer
28 views

Metamask TestRPC shows 0 Ether while connecting to Ganache- CLI

I've gone through various Q/A(s) of the problem of ganache-cli and metamask not linking but after trying all the solutions, still doesn't work for me. As soon as I type ganache-cli in windows cmd ...
0
votes
1answer
45 views

I am trying to add ether to one of my ethereum 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 ...
2
votes
2answers
461 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
1answer
162 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
51 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
1answer
58 views

Several basic question about difference Bitcoin and Ether transactions

Sorry for the easy questions. I was developing tools for Bitcoin and now I want to try and use Ethereum instead. Raw transaction does not contain inputs and outputs, enough balance confirm outside ...
0
votes
1answer
71 views

Calculating a minimum entry fee for a game based on typical minimum gas requirements?

I am creating a dApp that is a game where players compete for the prize pool and that pool is built from the sum of all the entry fees payed by the player at the start of the game. The player that ...
0
votes
1answer
50 views

Calling a function from another contract is not working. But calling the function from deployed contract is working

I have a problem with calling a function from another contract. I don't know why it is not working. Contract DateTime(https://github.com/pipermerriam/ethereum-datetime) is a util for converting ...
0
votes
2answers
29 views

Internal contract-to-contract call

I am confused with the following sentence in the Solidity documentation: During the execution of the fallback function, the contract can only rely on the “gas stipend” it is passed (2300 gas) being ...
0
votes
3answers
21 views

Emitting Transfer Event even when there is no actual transfer

I am new to smart contracts and trying to understand it so that i can detect Ether transfers done to my user via Smart Contract. I know I can find the event emitted from topics[]. But for those ...
0
votes
1answer
19 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,...
15
votes
9answers
18k views

How to get testnet ether?

https://youtu.be/NBwRXpCQta8 I watched this video and followed it. But my account test ether is zero. I used faucet.ma.cx:3000 site too. But test ether is zero.
1
vote
1answer
232 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
0answers
12 views

A Long list of WARNING Messages for Web3 install

I am trying to install web3 on my computer to build an app, and I get a very long list of WARNING messages... can someone tell what they mean? npm notice created a lockfile as package-lock.json. You ...