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
2answers
17 views

My ether was automatically sent to different address without my permission

My ethereum account is 0xfAd956B56be1298ee8ec1950cc305B46268d926f (generated by metamask) and the moment friend of mine sent me an ether, it was automatically directed to another account. This is the ...
0
votes
0answers
18 views

Oraclize ( provable) updates the value only one time

I'm trying to write a smart contract that gives me the current timestamp. The very important part is that i want this to happen locally, not on test networks. After some research, i installed ethereum-...
0
votes
1answer
22 views

eth.getBalance(eth.accounts[0]) Shows me 0 balance though my syncing is still Running [duplicate]

I am using geth on windows with 1.9.10 version. I used geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" command for launch my geth. I am on the Rinkeby testnet, i already transfer 3 ...
0
votes
1answer
17 views

Getting revert error on transfer ether to wallet address

hi i m calculate the ether value with token price and quantity of tokens and than sending calculated ether value to seller account but i am getting revert error on remix at escrow.originatorAddress....
1
vote
0answers
25 views

Exiting out of a smart contract early?

Basically i want to have a smart contract that can allow users to exit early under specific conditions. Does anyone have any resources for this or know whether its possible?
0
votes
1answer
26 views

How i can exchange the erc20 with ether

i want to make crypto to crypto smart contract where i need to sell erc20 token and on buyer side i need to calculate the price which i have to send to seller and i have a price of token can you ...
0
votes
1answer
33 views

How to Open console In geth 1.9.10

I am currently using geth in windows and 1.9.10LTS version of geth. I have to Open geth console, but when i try to implement geth console or geth attach or geth attach ipc:\\ .\pipe\geth.ipc it doesn'...
0
votes
2answers
31 views

How to calculate the token price of already deployed ERC20 tokens

I am creating a smart contract, so inside that I have to pass the token in contract and the value of ether will be calculate on behalf of token price please help.
1
vote
1answer
29 views

Invalid number value when deploying contract using truffle? But how to fix it in code is the value or _amount variable ?i cannot figure it out

2_deploy_contracts.js Replacing 'OraclizeTest' Error: * Deployment Failed * "OraclizeTest" -- invalid number value (arg="_amount", coderType="uint256", value={"from":"...
0
votes
1answer
25 views

Store and Display the Json file in Blockchain

I have stored my data on firebase, and taken as a JSON file, the JSON should be separated and display into the webpage through the Ethereum blockchain, for example: { product: "Shoes", prize: "85"...
2
votes
1answer
33 views

Why function that does transfer without a mapping fails?

This might be a basic question, but still dealing with conceptual stuff about ethereum and solidity. Original question was: How does solidity send() & transfer() know about contract ether? ...
0
votes
1answer
13 views

Web3JS: How to Identify that a given transaction was send with either “ERC Token” or “Ether” in value

I'm working on a Smart Contract and it almost ready. To watch transactions I'm using web2js on my server and its working fine. But from a transaction detail how I get confirm that given transaction ...
0
votes
0answers
46 views

Insufficient funds for gas * price + value web3 sendSignedTransaction

My wallet balance is 3.994937 RIN and I have set value (to be sent) to 0.00005 RIN (50000000000000 Wei) and I have set both gasPrice to 5208 (21000)and gas Limit to 5208 (21000 Wei). ChainId=4 ...
0
votes
0answers
26 views

Gas estimation failed on remix

Cannot deploy the code, it compiles normally on version 0.4.22 with the same compiler version. I have looked at the answer on a similar thread and changed version to 0.5.11, when I try to compile it ...
1
vote
1answer
37 views

Why do transaction receipts not include the value of Ether transferred?

I'm writing some logic to identify the currency used in an ethereum transaction, and am wondering the following: web3.eth.getTransaction returns a value field that indicates the value transferred in ...
0
votes
1answer
14 views

ParserError: Expected identifier, got 'LParen' in Remix simple auction using Solidity

The line highlighted in the error is require(bid2 > highestBid2); The code: pragma solidity ^0.4.22; contract SimpleAuction { address public beneficiary; uint public auctionEnd; ...
1
vote
2answers
49 views

Reinstalled MetaMask, account lost?

I had 3 accounts under my MetaMask Chrome extension. One of them had some small deposit. I have reinstalled the extension and used seed phrase to get access again. However, I can see only one account (...
1
vote
1answer
21 views

How can i store a Aces High Pin on the Ethereum blockchain? [closed]

I have a few Aces High Pin's laying around and wanted to know how i can store them on the Eth blockchain.
0
votes
0answers
18 views

Do Ethereum tokens have symbol name?

I am not familiar with Ethereum contract development. I wonder if Ethereum tokens ( like ERC20, ERC1155 or ERC721) have symbol name or not. On EOSIO the asset is a structure composed of amount and ...
1
vote
1answer
33 views

can you send ethereum to the same address you sent from?

I was doing some financial investigation and I found transactions which had same account for source and target. Is this possible?
0
votes
0answers
45 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 ...
0
votes
1answer
46 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.
1
vote
1answer
54 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
25 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
33 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? ...
1
vote
1answer
44 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.
1
vote
0answers
19 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=...
0
votes
2answers
32 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
29 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
0answers
14 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 ...
0
votes
0answers
12 views

How to search for the ethereum available token and display?

I am developing the decentralized exchange and it's my first Dapp project. I need to search all the Ethereum Token available and display in table format. On the frontend side, I am using ReactJS. ...
0
votes
2answers
107 views

Transfer ether from one account to another using smart contract

I`m trying to transfer ether from account A to a smart contract and from the smart contract to account B. I wrote some code that approximately works on Remix IDE, but I completely got lost with the ...
-1
votes
1answer
82 views

How to build ERC20 based stablecoin?

I want to build stablecoin for my college project. I am thinking of developing ERC20 token pegged with fiat currency. Can someone please suggest me best tutorials/guides to build stablecoin on ERC20?
1
vote
1answer
57 views

Problems calling function with web3 from python

I was trying to call a function from my python server to a contract deployed in Ropsten. This is my method in the contract: function send(address receiver, uint amount) public { require(msg....
0
votes
1answer
34 views

Error sending ether to a a smart contract deployed in ropsten with web3 with python

I am trying to send ether to a smart contract deployed on ropsten via infura, but I am having some problems in txn. The error is "Error in Txn: Reverted". The sender account has enought ether to ...
1
vote
0answers
36 views

Solidity calldata for an array of structs

I'm trying to create the calldata offchain for an on-chain low-level call to a method that accepts an array of structs as an argument. I'm not sure how to encode the calldata for this. Here's a ...
-1
votes
1answer
20 views

I want to create a account on blockchain using web3swift in IOS app, but I am new on blockchain don't know how to do. Please can anyone help me out?

I want to create an account on the blockchain using web3swift in the IOS app, but I am new on blockchain don't know how to do it. Please, can anyone help me out?
0
votes
1answer
40 views

giving users ETH addresses to deposit to

So I want to allow users to deposit ETH to their accounts in my website. How could i go about giving a user an ETH address to deposit to that address and then detect it and add the funds to user's ...
0
votes
1answer
40 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
0answers
8 views

Whats the use of utility token if you don't want ICOs for your dapps?

You can mint coins and do your ico to get money. But what if I want an app without any ICO, will utility tokens still useful. Can't all transactions be made with already existing ether or dia stable ...
1
vote
2answers
49 views

I want the full list of ethereum smart‑contracts whose balances increased by 1000 Ethers above the past week

How to make this kind of query using my 200kb/s second Internet connection speed ? With such speed, there’s no possibility to run an archival node (except maybe with a service allowing to download ...
0
votes
0answers
11 views

How to deploy smart contract with private wallet?

I am now deploying smart contract using ganache localhost:7545, i want to use infura ropsten account to deploy. Most examples uses Metamask, but i want use own ethreum wallet. How can i use to deploy? ...
0
votes
2answers
127 views

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
22 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
22 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.
0
votes
1answer
46 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
64 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 = "...
1
vote
0answers
40 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 ...
1
vote
1answer
28 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
16 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 ...