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

what is parent transaction in ethereum

I am learning about etherium, when I learn I came across a term Parent transaction Hash I would like to know regarding this
1
vote
1answer
13 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
9 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
0answers
18 views

Create function with different prices [closed]

I'm coding a nft token, but I need them to have different prices. It is possible put all in one function. This is what I have and is working for me: function contribute1(string memory _name, ...
0
votes
1answer
11 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
22 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
20 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
13 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
10 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
22 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
22 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
33 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
10 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
35 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
22 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
19 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
53 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
16 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
20 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
19 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
vote
1answer
37 views

How to send ethers from multiple accounts to a single recipient?

I want to transfer 1 ETH distributed to three addresses to a single recipient address. How can I achieve this in ethers.js
2
votes
1answer
30 views

Calculate transaction costs for storing data

I'm trying to figure out how the transaction costs are calculated for a transaction that is storing data on the Ethereum Blockchain. It seems I'm always off. Here is my way of calculating (I'm using ...
0
votes
0answers
23 views

Address generate with xpub key

Hy everyone, I'm doing a hd wallet generator (normal child) with only use xpub key. Therefore, can someone help me pls. With library of golang or main flow of generating from: (xpub key, index) -> ...
0
votes
0answers
19 views

The only way to obtain ether is generate the ether?

Hello i have a question : The only way to get ether is buying to another user has mining the ether ? let me explain my question, i know i can use coinbase or another websites to buy ether, but where ...
0
votes
2answers
26 views

how i can create a buy Ehter [closed]

i have a question : how i can create a app to buy ether ?, i know how to create a Token sale but i dont know what api or what i need to buy ether directly i see websites like coinbase to buy ether , ...
1
vote
1answer
17 views

Someone sent me ethers in multiple transactions and took away my matic tokens nd those ethers

Someone (address: 0xc18842D634A683e6Ea5392e3f9f23a6966C88371) sent me Ether in multiple transactions and took away my Matic tokens and those Ether were sent to another account(address: ...
0
votes
0answers
13 views

Two or more address sender same transaction

Can a Ethereum transaction has two or more address as senders like Bitcoin transactions? My idea is use a smart contract to assign a transaction with two or more address, i.e. thinking in a ...
0
votes
1answer
41 views

smart contract for fair exchange [closed]

Question: Is it possible to create a smart contract for fair exchange and investment: user1 sends ether to a smart contract which will multiply the amount by 2 and send it to user2. When user2 ...
2
votes
2answers
24 views

Gas cost for Ether transfer to Smart Contract from EOA

It is pretty clear that Ether transfer between accounts is 21,000 gas. Does the same apply for transferring Ether to Smart contract address, or does transfer from EOA to Smartcontract cost more gas? I ...
0
votes
0answers
10 views

How can I convert token transfer to data field?

How to convert the erc20 token transfer with target address amount etc to data field? By Abi etc?
-1
votes
1answer
26 views

How can I estimate the gas in usdt transfer? [closed]

Any example to estimate gas in usdt transfer? I tried right code in ethers.js but not working in usdt although it works on rinkeby for the token using usdt source code, I use the same usdt abi.
0
votes
0answers
11 views

Any reliable eth relay service?

How to find the ethereum relay service that is easy to integrate for sending erc20 tokens, or even usdt? Easy to integrate?
0
votes
1answer
20 views

What means relay in ethereum?

What is relay in ethereum?For doing transactions, any difference? I am not sure the concept of relay, it looks like one account can pay gas for transaction on another account.
0
votes
1answer
21 views

How can I sign by privatekey1 but sendrawtransaction by privatekey2?

Whether I can sign the tx by private key 1 but I use private key 2 to sendrawtransaction, any sample code for this? Thanks.
1
vote
0answers
20 views

Why ethers.js sign function not working?

I am using the ethers.js library, and am trying to code a transaction. Here is a snippet where I connect a wallet to a provider, connect to a contract I want to call a function in, and try to call the ...
0
votes
1answer
78 views

Error: "Transaction ran out of gas. Please provide more gas:

I'm facing a little issue here, that's the mintTo function from contract for NFT. Which I require the sender to send a value with >= 0.1 Ether: pragma solidity ^0.5.0; import "./TradeableERC721Token....
0
votes
0answers
13 views

How to enable anyone to call the function transferring ERC20 to a hardcoded address

https://cryptounlocked.wetrust.io/ - allows only ETH Moloch V2 - allows only WETH (see this issue) You could make a contract that all it does is convert ETH to WETH and can only withdraw to your ...
2
votes
1answer
67 views

How to create transaction data for sending ethereum from multiSig contract to account with Web3.js v1.2.1

I am using a standard MultiSigWallet contract. My goal is to create the data parameter with web3, which is used in executeTransaction / external_call (bytes memory data). The transaction should send ...
3
votes
1answer
13 views

Why are etherscan ENS events so old?

When I go to https://etherscan.io/ens, and then go to the "More" menu, and from there the "ENS Events" menus, all of the events listed are more than 320 days old. Is there a way to get recent events ...
2
votes
0answers
15 views

ethereum-php library SmartContract balanceOf always returns 0

I am trying to check balance of some USDT token using ethereum-php library but it always return 0. Here is the code, $contractMeta = json_decode('[{"constant":true,"inputs":[],"name":"name","...
1
vote
2answers
30 views

why is need of mapping if same work done by using array in struct?

I muddle up with mapping use with struct. this smart contract I used array instead of mapping pragma solidity ^0.6.*; contract MyContract{ //here we can not assume the length off array so need ...
1
vote
1answer
35 views

Unable to send ether to a function of an imported contract

pragma solidity 0.5.16; contract receive{ function dep() external payable{ //Processing the received ether } } function fallback() external payable{} pragma solidity 0.5.16; import "./...
1
vote
1answer
53 views

Show Pending Transactions when I use metamask or any other platform

When I try to sendTransaction using mainnet then it always show a pending status. How can I solve this? I am using web3js and nodejs to send a transaction.
1
vote
2answers
583 views

gas required exceeds allowance (8000029) or always failing transaction

When executing this function, I get an error gas required exceeds allowance (8000029) or always failing transaction i know that this error have when use transferFrom function. Where i wrong? help me ...
1
vote
0answers
12 views

Block Chain Polling/Voting using Honest/Costly Signalling [Why is this wrong, can this system work?]

This Poll measures (Support for X) not (People who support X) You signal support for a candidate by forfeiting any amount of value to a candidate specific address in return you get... A public and ...
0
votes
1answer
35 views

How i can call one method inside another method result?

i want to call two methods first call one method then second method after first method success below is my code please check and let me know how i can achieve this this.state.token.methods.approve(...
1
vote
0answers
23 views

Why Does Ethereum Not Support A Native (Non Smart Contract) Form Of Multi-Sig? [duplicate]

After becoming a victim of exchange fraud and witnessing how it negatively impacted the lives of hundreds of others, I'm currently undergoing a study of all the past cryptocurrency exchange hack/fraud ...
1
vote
1answer
48 views

How can i send my ETC from the ETH Wallet back to the ETC Wallet?

i need your help. I sent ETC from Coinbase to my ETH Wallet (Ledger Nano X). The transaction: 0x1b007ab56371ecb70998d1a391d6ccf36cacf12c8a785140ffdb0d8a0c526148 How can i send my ETC from the ETH ...
0
votes
1answer
23 views

same transactions by different miners at same time

i have a private network having 3 nodes, two are mining and one is listener. All three nodes are connected as peers. Now, is there any way where both miners pass same transaction at same time.
0
votes
1answer
26 views

adding number of miners in an existing ethereum network

I am using geth and power shell to develop an ethereum network. I have an existing network with 3 nodes where 1 is mining. Now i want to increase number of miner nodes. How can we do it.

1
2 3 4 5
27