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
62 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
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
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.
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
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 = "...
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 ...
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 ...
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: (...
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 ...
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
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-...
0
votes
0answers
11 views

Can we treat/launch private ethereum chain ethers as a CryptoCurrency in Market?

Warm Greetings! I have a private ethereum blockchain setup on my server with multiple nodes , Also running mining software to mine blocks and earning private ethers (no value in market). Can i ...
0
votes
0answers
37 views

Can not tranfer eth with solidity and web3js

Error when I try to send eth from fontend react to smart contract and from contract I tranfer eth to another address but it error, when I try it in remix then it total work. I user web3js to call ...
0
votes
1answer
38 views

How big is the Geth Fast Node Currently?

I am trying to embark on getting all the contract addresses pulled from the Ethereum blockchain. From what I read, a fast node is all that is required for this (getting blocks->txns->contractAddress ...
0
votes
3answers
76 views

How do I make a smart contract send a message to a user along with a transaction?

Smart contracts can obviously send transactions through the Ethereum network but can they also send a simple message along with the transaction? Usaully you would put the message into hex code in the ...
1
vote
2answers
43 views

Get All Contracts from Blockchain

I am developing a large database of exploitable contract addresses and creating a website to host such a database for users to use to see if contracts are safe. Is there a way to get all contract ...
2
votes
1answer
26 views

How to reach to one chain when hard fork is performed?

Assume that reward policy of Ethereum is changed from 3eth to 1eth. Hard fork is ongoing but, there are miners who don't consider updating their software. what happens? The miner who did update ...
0
votes
1answer
37 views

Can't transfer ether from contract to another contract ^0.5.0

I try to transfer ether from one contract B to contract A. But I get "Transaction mined but execution failed" Code: pragma solidity ^0.5.0; contract A { address payable public owner; uint ...
1
vote
0answers
6 views

When use Nethereum C# Library there are many CLOSE_WAITs in TCP Stack at node side

When I use Nethereum methods (GetBlockWithTransactionsByNumber,GetBlockWithTransactionsByNumber and etc ) in loop, In TCP stack at node side accumulates a lots of CLOSE_WAIT. How can I fix this issue ?...
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
2answers
32 views

ParserError: Expected pragma

Hi guys. I have got one big problem. When i try to compile my code i'm getting some kind of unusuall error. I think everything is ok but when i try to "node compile.js" my main file ("inbox.sol") ...
0
votes
1answer
45 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 ...
0
votes
0answers
26 views

PFeast : what’s that token?

While everyone can create a token, this one seems to have attracted a lot of value from third party users (current ether balance place it in the top 500 and with more than 9000 users). By ...
0
votes
3answers
74 views

Response stuck when creating contract

I am creating a contract on my local blockchain network using web3. On my node , contact is created and address is generated. But on node application, response is struck. Here is my node code: ...
0
votes
1answer
32 views

Relationship with smart contract and block confirmation

I have known Bitcoin need 6 blocks for confirmation. However, In ethereum, It is different depend on clients By this post What number of confirmations is considered secure in Ethereum? It takes ...
1
vote
1answer
28 views

Cryptocurrency payments in Centralized Architecture

I'm new to cryptocurrency, so not sure if I'm asking the right question on this... I want to develop a game with traditional centralized client/server architecture, probably java application server, ...
0
votes
1answer
36 views

How will I determine the number of nodes required to run my private Blockchain Network stable?

I am designing a use case where millions of users will be using it and is expecting a transaction rate of 50 per second. I am looking forward to have it on Azure.
0
votes
0answers
14 views

Is it legal create an algorithmic trading cryptocurrency fund for social groups around the globe to pool in their money?

Is it legal create an algorithmic trading cryptocurrency fund for social groups around the globe to pool in their money? What is the viability of this project in terms of regulatory compliance?
0
votes
1answer
32 views

If I create an ERC-20 token and accept dollars from people in exchange of my ERC-20 token, would this be an asset-backed token?

If I create an ERC-20 token and accept dollars from people in exchange of my ERC-20 token (with 1 token per dollar), would this be an asset-backed token or a security token? The idea is to create an ...
2
votes
1answer
36 views

How to detect coin transfer from transaction

This is my transaction data. How to detect transfer coin from it (eth, bee, binance coin,...). Thanks. { "status": 200, "title": "OK", "description": "Successful request", "payload": { "...
1
vote
1answer
35 views

Connecting my Golang Backend server with Metamask

I'm trying to build a Ticket-Office project in one of my courses at the University. The project uses a backend server (which I'm writing in Golang) and it should be able to deploy and use smart ...
1
vote
1answer
24 views

Creating an ERC20 Token on Rinkeby - Can't get the right supply

I'm creating an ERC20 token on Remix and using EIP20.sol from Consensys. I'm using this video tutorial as a guide - https://www.youtube.com/watch?v=d5EipPVafsA It's been helpful, however I have one ...
0
votes
2answers
34 views

Does price of smart contract execution raise with price of ethereum

I can't determine properly whether higher price of ETH means smart contracts will also cost higher(in fiat not eth) and is it reciprocal, like if we have a SC deployed and eth price raises 10x, will ...
0
votes
1answer
22 views

How did cryotokitties create the image of the cats?

For cryptoKitties, the images of the cats are based on gene, for example, color, curve type etc. and the image of the cat will be created, how does the image created, it is by programming running ...
0
votes
0answers
20 views

Ethereum, eth_getBalance always give 0 for the latest transaction on fast syncnode [duplicate]

I started syncing ethereum core on --syncmode fast on July 5th, 2019. As far as i know and read, fast mode will sync the latest blocks and transactions. Then yesterday, I did one transaction of X ...
0
votes
0answers
27 views

ERC-20 Token Transfer Error (Unable to locate Corresponding Transfer Event Logs), Check with Sender

EtherScan.io is showing error: The ERC-20 Token Transfer might have Failed (ErrCode: unable to locate corresponding Transfer event log), check with sender. Transactions are successful and the ...
1
vote
1answer
34 views

How can I send ether [duplicate]

Hey guys I am a beginer on Solidity. I write a function and try to send ether on remix accounts and check balances this accounts. But I can't connect accounts I think because when I check balance of ...
0
votes
0answers
60 views

Withdraw functions implementation

I'm writing a smart contract where subscribers make a bid, post doing so owner selects one and sends him data as well as ends the contract. If data is valid, winner releases the funds so owner can ...
0
votes
2answers
31 views

Self Ether transaction

Hi placed a self Ether transaction by error, where did the Ether go? can I recover it? https://etherscan.io/tx/0xd64133abcd2205e76b8241af11bb081c23ce7e77016ec03660cc09a8866c9317
0
votes
0answers
14 views

Difference between UTXO based smart contract and Account based Smart contracts [duplicate]

I want to understand the difference between UTXO based smart contract(Bitcoin scripting and Komodo's CC) and account based smart contract (Ethereum). What are the different pro and cons for these two ...
0
votes
0answers
54 views

ALERT: Transaction Error. Exception thrown in contract code

I get the this alert from metamask . I have create a dapp and i have deployed the contract with truffle on my private ethereum (geth)network and i have connect an account. I have put in the truffle-...
1
vote
1answer
16 views

Gas cost for contract transaction called form external

If I call my contract and ask it to send x amount of ether to another account y, I know i have to pay a transaction cost. Will the contract also have to pay any amount while sending the ether to the ...
0
votes
2answers
44 views

Auction contract privacy

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

Parser Error - Creating EIP20 Tokens

function transfer(address _to, uint256 _value) public returns (bool success) { require(balances[msg.sender] >= _value); balances[msg.sender] -= _value; balances[_to] += _value; emit ...
0
votes
3answers
61 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 ...
3
votes
1answer
157 views

How to pay gas fee for new addresses of ERC20 tokens that initially have 0 Eth balance? [duplicate]

I have a confusion, When we create new address/account for an ERC20 token then it have 0 Eth balance. When we send some tokens to this address and then withdraw token again from this address require a ...
1
vote
1answer
35 views

I've given Gwei less than 0.1 for a transaction, and it's been an hour, and it is not showing up in etherscan!

I know I pretty much messed up with Gwei, I've given it < 0.1. My doubt is if the transaction gets failed will the funds get back to my wallet or lost forever and how much time will it take for the ...
0
votes
1answer
87 views

How to test the fuctionality of a Bittrex-related smart contract?

I've got my hands on a smart contract related to the Bittrex exchange. I would like to deploy this smart contract to test the functionality but I don't know how to call the functions properly. My ...