Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1
vote
4answers
2k views

How do I get all my wallet balance

How do I get all my wallet balance? I already have a very large number of wallet addresses, and I need to know the balance.and I want to know the number of addresses
2
votes
3answers
566 views

accepting ether in a smart contract

I want to create a simple smart contract for registration of users to a competition where when users can pay to contract and 2 ethers will deduct from his account. But when I'm trying to do so on my ...
0
votes
1answer
329 views

Truffle will not compile contract written in VS code. Pragma error

I'm trying to run example from https://truffleframework.com/tutorials/pet-shop, but when I run truffle compile I get error saying Error parsing C:/WINDOWS/system32/TruffleTest/pet-shop-tutorial/...
0
votes
1answer
49 views

How to add actual Ether to custom token

I built a token by creating a smart contract for it, and have successfully connected to it, which is on a Ethereum test-net. Using web3.js I have been able to send token from one account to another ...
0
votes
0answers
67 views

Sending message on a transaction?

I want send a data on a transaction. _data is storing my message.. Here's my code: const Tx = require('ethereumjs-tx') const Web3 = require('web3') const web3 = new Web3('https://rinkeby.infura.io/v3/...
0
votes
0answers
32 views

Ethereum blockchain monitoring and contracts input data parsing

I am monitoring a particular addresses, that may be used as transactions' destination addresses in contracts' internal transactions. I should support monitoring of the sendMultiSig method (contract - ...
0
votes
1answer
114 views

What does ERC20Interface do in smart contracts?

I found this fantastic code used to generate a smart contract which allows you to send your ERC20 tokens to another address. A simple overview / explanation of how that works is as following: We ...
1
vote
0answers
48 views

Ethereum transactions full history

How do I retrieve the transaction history of ethereum? I want to get all transactions that include this crypto currency for specific time periods. I looked at the ethereum API, but it needs some ...
0
votes
2answers
453 views

Rinkeby Authenticated Faucet: “nonce too low”

I'm trying to use the Rinkeby Faucet to get ether for testing/development purposes. I've made a public Google Plus post with my account address but when I select the amount of ether I want, a message ...
0
votes
0answers
97 views

ERC721 Metadata Creation

I've recently deployed a smart-contract. It can be easily viewed here: https://rinkeby.etherscan.io/addres/0x768adab11d7accbbed0f6947ef7a677b4fea8392 Moreover, I do own a metadata in structured in ...
1
vote
1answer
37 views

ExecutionFailure in MultiSigWallet contract

I wanted to test a simple use case of MultiSig wallet. To do that I've deployed gnois MultiSigWallet.sol to Rinkeby network. Before testing the multisig functionality I wanted to deposit 0.1 ether to ...
2
votes
1answer
271 views

Solidity 'out of gas' exception when trying to transfer Ether

I try to transfer Ether from the contract to an address but it gives the error that the transaction is out of gas. I think it's a small problem but I can't find it. I have to specifically use solidity ...
6
votes
2answers
910 views

How are Tokens issued to Bitcoin investors for ICO based on Ethereum

I was looking to know how an Ether based ICO can Accept & Reward Tokens to its Bitcoin donors. I understand that ether can be tracked & reward can be issued to the Donor's ether address ...
0
votes
1answer
25 views

How to make transaction of some ether in Buyer Seller type of contract?

In this I have set modifier (msg.sender == sellerAddress) which is not valid. But in this scenario, I want to allow only and only sellerAddress to take ether from my contract. How can I allow only ...
0
votes
1answer
32 views

Is it possible to store same USD-equivalent value of ether in a Contract?

Let's say my DApp requires a seamless way to transfer USD between users, given that some contract requirements are fulfilled first. Person A transfers USD to person B, the latter only gets a deposit ...
1
vote
2answers
217 views

Struct (array) or mappings?

I am trying to understand about how mappings / struct arrays work compared to each other. I don't know currently how exactly the structs work but a little bit more about mappings. I am trying to make ...
1
vote
1answer
1k views

VM error: revert. The transaction has been reverted to the initial state

I have been trying for while for accessing functions of one contract in another one as shown below. I actually want to call the functions changeName() and receiveName() defined in the foreignContract{}...
2
votes
2answers
993 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 ...
3
votes
2answers
146 views

ERC-20 Token Transfer Error : Bad jump destination

I'am trying to send ERC20 from 1 address to another but i'am getting that error : Blockquote Contract 0x557e4cca38277b9bf9f1f1bf333dfe4b0ac5541a Warning! Error encountered during contract ...
0
votes
1answer
1k views

Automatic buying and selling of created tokens not working. What am I missing?

Created token using example code from etherum.org for automatic buying and selling but can't buy or sell from another account. What am I missing? https://ethereum.org/token#automatic-selling-and-...
-1
votes
1answer
321 views

Transfer ethereum to bitcoin and vice-versa. How can we do that.?

How can I transfer my ethereum to my bitcoin wallet and vice-versa. Is there any way to do that? I'm using java for the same and just curious to know that. I wanted to implement that in my test ...
2
votes
1answer
230 views

Is there an Ethereum Testnet Android Wallet?

I am looking for a testnet-specific Android wallet app to load with a few Ropsten test Ether, for a web app I'm building. But for the life of me, I cannot find such an app for Ethereum. For Bitcoin I'...
6
votes
2answers
515 views

Are eth transactions still replayed on the etc chain?

I have read about EIP 155. I see that the main chain, test nets, and ETC were asked to implement EIP 155. If just ETH implemented EIP 155, wouldn't that have been enough to prevent ETC from being ...
1
vote
0answers
186 views

Any php script to sign transaction?

Can you recommend some php script to sign transaction.Thanks.I want to find some php script to sign transaction and without using web3.
2
votes
1answer
430 views

How Long Till My Funds Show Up In My Mist Wallet?

Total noob question, but I recently bought some ETH on the Kraken exchange and I also downloaded the mist wallet, made a password and added a new account. After withdrawing the ETH from the exchange ...
2
votes
1answer
233 views

Transfer from multiple inputs

Is there a way to send ether from several input addresses in one transaction WITHOUT the use of smart contracts? I wish that different transactions could not be linked to each other. A similar ...
1
vote
1answer
481 views

How to interact with a network without a wallet installed?

I'm making a Dapp for users who don't have a wallet installed and have no ETH address. I would like users to use my account for all transactions. I'd like to sign my transactions with the contract ...
3
votes
5answers
482 views

How to accept Ether only in certain multiples?

If I wanted a smart contract to only accept Ether payments in multiples of for example 0.05 Ether (so it will accept only exactly 0.05 Ether, 0.1 Ether, 0.15 Ether etc, and send the value back to the ...
1
vote
1answer
355 views

How to hide my eth balance [duplicate]

i want to hide my eth balance from myetherwallet, etherscan , ethplorer .how to hide my eth balance in my ether wallet , etherscan , ethplorer. any methods available, please reply thanks
3
votes
3answers
616 views

My Smart contract did not send decimals token

I have a smart contract with 0.15 Ether = 1 Token So when user send 0.15 Ether it's fine he receive 1 Token, but if he sent 1 Ether normally should receive 6.66 Token, but the contract sent only 6 ...
8
votes
1answer
839 views

Can a contract with no payable function have ether?

The question in the title says it all. To the best of my understanding, the only way to deposit ether into a contract is by calling a payable function, and set msg.value larger than 0 (and of course, ...
1
vote
1answer
96 views

Event not visible on Etherscan transaction list

I have a BuyToken event when user send ether to smart contract they will receive tokens based on ether amount. For ex: 1 ETH = 1000 Token. /// This notifies clients about the Buy Token event BuyToken(...
0
votes
1answer
1k views

Is ethminer malware?

I just scanned the PC using MBAM and it detected the ZIP file of ethminer (only the zip, not the extracted folder) as malware. Now, after used MBAM to delete the zip, suddenly the ethminer itself won'...
1
vote
1answer
72 views

How to update value on ethereum blockchain without metamask?

pragma solidity 0.4.24; contract UniToken{ string value="Hello"; function set(string x) public { value = x; } function get() public view returns (string) { return ...
1
vote
3answers
487 views

infura vs Eth Node [duplicate]

I want to connect web3 services with public Ethereum (main net/test net) to execute my smart contract method. Which is better Infura or to create my on Node? Please suggest.
36
votes
6answers
27k views

How to get ether on public testnet?

I am a newbee to Ethereum and doing some research. I have installed the Ethereum Wallet app and synchronized the testnet. However, to deploy my first contract in testnet, it requires some Ether, so ...
1
vote
1answer
57 views

In proof of stake, is there a difference between being offline and deciding to leave entirely?

I'm struggling to understand the proof of stake concept. As I understand it, in order to participate in validation and its rewards, you must ante up some ether (I was told a minimum of 32). You are ...
1
vote
1answer
89 views

Solidity keyword require (false) will run out of my gas, why?

I meet a strange problem when I test my contract in Remix-ide + geth 1、I run a private chain in geth 2、I connect to the node with web3provider in Remix-ide 3、I deploy the contract like this : ...
1
vote
2answers
95 views

What is wrong with the 'sell' and 'buy' token functions in my contract? [closed]

There is my solidity function buyTokens(uint256 _numberOfTokens) public payable { // Require that value is equal require(msg.value == multiply(_numberOfTokens, tokenPrice)); // Require ...
0
votes
2answers
533 views

Ethereum & ERC20 Tokens Integration in exchange

I'm a part on an exchange development and we want to integrate Ethereum, Ethereum Classic and all ERC20 tokens in that exchange. Which wallet will be compatible for these requirements, Is there any ...
0
votes
2answers
261 views

What is the relationship between ERC-20 tokens and Ether?

I am trying to better understand the crypto currency space and am particularly drawn to Ethereum and some of the ERC-20 tokens coming out but I don't really understand what if any relationship they ...
1
vote
1answer
72 views

What are all possible values of txreceipt_status?

I was wondering what are all the txreceipt_status possible statuses. I was investigating some blocks and noticed that some statuses are empty like: ' ' or have '1'. For both of those, transactions ...
1
vote
2answers
504 views

Do we have an API for airdrop

I am creating an news app which will show the ICO and Airdrop details. Is there is any API for Airdrop news ?
0
votes
1answer
52 views

What is the purpose of Private Blockchain?

What is the real purpose of private blockchain for example in Ethereum ? I mean found a lot of tutorials online about creating a private blockchain, creating an accounts there, setting coinbase accout,...
2
votes
4answers
7k views

Ether in ropsten testnet using metamask

I have setup the metamask plugin on my browser successfully. Now i need some test ethers to test the things. I tried to get some from here : http://faucet.ropsten.be:3001/ and https://faucet.metamask....
1
vote
1answer
35 views

ICO and Token both together

I know we can create a token contract and also we can create a ico contract. Is it possible to create a contract include ICO and Token itself? any idea or example?
1
vote
2answers
83 views

DappHub Multiply Function

Could someone explain the use of performing a multiplication such as this? I mean the logic is fine, but what is the importance from a security point of view? function mul(uint x, uint y) internal ...
1
vote
1answer
27 views

What is a suitable pattern for mobile/web apps that leverage ether?

Looking to understand how to build an app that leverages Ethereum - what suitable patterns are out there (ideally to go via some tutorials). I'd like to build a Hello World simple app (mobile and/or ...
0
votes
1answer
94 views

Any option to get larger amount (i.e. 2000) of Rinkeby Ether?

We are planning to open our product to the public for live testing. We want to support both Ropsten and Rinkeby networks, just in case. When registering, each user should get around 10 ether on ...
7
votes
1answer
460 views

Can I use web3 with Ethereum Classic?

I just learnt using web3 to interact with Ethereum. Is there a similar library to web3 to work with Ethereum Classic? Is there a testnet faucet? Does it work with Parity? Thanks in advance for your ...