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
0answers
6 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
15 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
18 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
14 views

Why ethers.js sign function not working? [closed]

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
29 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
11 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 ...
1
vote
1answer
35 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 ...
2
votes
1answer
11 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
24 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
31 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
26 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
43 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
32 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
22 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
39 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
0answers
36 views

Can ETH be hacked by inserting a forwarding contract?

Just to be clear I am not going to name any companies in this post since there is still an investigation going on as to how this happened. As you can guess by the question ETH has been stolen from me,...
0
votes
1answer
19 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
25 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.
0
votes
1answer
33 views

Should i move my erc20 token from ropsten to main network?

I have just created token in ROPSTEN network, so Im confused now... Can I use my tokens in main ether network (sel, give, etc) or I just van play with them in test network and forget...? Should i ...
0
votes
2answers
40 views

Setting a value for ERC20 token on private blockchain?

Background: Currently we have an Dapp running on Ropsten. We've created an ERC20 token on Ropsten. Our employees are awarded these tokens over time. We want to use Dappos to allow our employees to ...
0
votes
1answer
30 views

What is the core difference between send and transfer method of address payable in solidity? [duplicate]

I'm learning solidity I got two methods for transferring ether <address payable>.send(1 ether) <address payable>.transfer(1 ether) Both are used to transferring ether to the recipient ...
1
vote
1answer
37 views

Can I make an ethereum token that runs a certain function every 15 seconds?

I have a rinkeby token, and I wanted to add "merged mining" when someone mines a block, they get awarded 0.25 of that token. function issueBlockReward() { balanceOf[block.coinbase] += 0.25; The code ...
0
votes
1answer
30 views

Does metamask uses web3?

I was curious if metamask uses web3 for communication with eth node ? I tried google for it; showed bunch of other results but didn't precisely answered my question. Indepth answer on how metamask ...
0
votes
0answers
26 views

smart contract not completed

I was supposed to receive payment through a million money ethereum smart contract. The transaction was made by my downline and it shows on my http://lk.million.money office but it did not show on my ...
0
votes
1answer
29 views

VM error: revert. Try to send ether from contract to another contract

I just facing a little issue here in sending some ether from Sender contract to another contract Escrow by msg.sender value. Btw, I'm executing code on Remix, and specify the value from the sender ...
0
votes
1answer
34 views

How to avoid gas fee by sending ETH automatically from HDwallet addresses to my specific ETH address

I have created ETH HD wallet and want to send all coins received on those HD wallet address to an admit ETH wallet , this is easy but problem stands as I want to send the ether without any gas fees. I ...
1
vote
2answers
31 views

Token Sale Smart Contract

I am new to Ethereium Block Chain and have been trying some code written in solidity as follows. pragma solidity ^0.5.0; import "./MyERC20Token.sol"; import "./ERC20Burnable.sol"; contract ...
0
votes
1answer
22 views

Smart contracts, tokens and ether

I am sending some ethers and tokens to my smart contract. So how will the contract differentiate between ethers and tokens? Code will be helpful
0
votes
1answer
24 views

Transfer ethers from a smart contract to another smart contract in Truffle

I am beginner in Solidity, So my problem maybe simple. I have two contracts "BankA" and "customer". Whenever i deploy BankA in Truffle network and call pay() the following Error will emerge: Error: ...
2
votes
1answer
20 views

It is possible to run out of gas when calling bytes32[]?

Is possible to run out of gas when calling bytes32[], even when count e.g. 1k entries?
0
votes
0answers
12 views

Create an account and assign it to end-user, and append more information to public-profile

So, I've setup a private ethereum network and plan to use uPort for better user identification for end-users. So basically I have two questions: 1- Is it possible to provision an account and its ...
1
vote
2answers
38 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 ...
2
votes
1answer
75 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
45 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
18 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
27 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
29 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
69 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
59 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
46 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
65 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? ...
1
vote
1answer
20 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
52 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
37 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
47 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
22 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
87 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
2 3 4 5
27