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
22 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
14 views

Difference between git clone and add apt repository while installing ethereum [closed]

As I started to set up geth on my Ubuntu machine, I came across two different methods of doing it. One website instructed to run the command "git clone https://github.com/ethereum/go-ethereum" while ...
0
votes
0answers
23 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
44 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
25 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
26 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
23 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
12 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
28 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
33 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
27 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
16 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
28 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
18 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
14 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
24 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
13 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
35 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
12 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
37 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
17 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
53 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
90 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
27 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
52 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 ...
1
vote
1answer
44 views

Three questions

I have recently become interested in crypto and after much reading on Ethereum I still have three burning questions that perhaps some of you can help with. Apologies in advance as some of these might ...
0
votes
0answers
11 views

Ethereum Boardcast shows error: non-canonical integer (leading zero bytes) for *big.Int, decoding into (types.Transaction)(types.txdata).S"

I meet with a problem, does someone can help me how to deal with leading zero in raw-transaction? My raw transaction is: ...
0
votes
0answers
36 views

Rinkeby ethereum block stuck at 4321234

I'm trying to sync rinkeby using parity with patch to support rinkenby but now it's stuck at block 4321234. Does anyone have solution to pass that block without having to resync from the beginning? ...
1
vote
0answers
46 views

How and Why other should buy and sell my ICO token? [closed]

When I invest or create a token, I am hoping someone in the future will want to buy it at a higher price. Why would anyone buy my tokens to use the platform if the price of the token keeps increasing ...
0
votes
1answer
31 views

Minable crypto contract

How can I create mineable cryptocurrency using ERC20 token? Do I need to code it using smart contact or need to do something else. Also I want my personal node where will be running my Ethereum node ...
0
votes
1answer
20 views

Launch ERC20 token [duplicate]

I have implemented the ERC20 interface and the token is ready. Next step is to list it on an exchange like kraken. What is the process ? What determines the initial value of a custom token ? What will ...
0
votes
0answers
20 views

DeclarationError: Undeclared Identifier. Did you mean “_data”? data = _data ^__^. All i want is to create a cryptocurrency

pragma solidity ^0.5.1; contract owner { address public owner; function owned() public { owner = msg.sender; } function set( string memory _data) public { data = ...
0
votes
1answer
27 views

3 level ether transfer

contract foster{ vulnerable v = new vulnerable(); attacker a = new attacker(address(v)); constructor() public payable{ // a.deposit(address(v)); // transferring 3 ethers to ...
0
votes
1answer
14 views

Why did cryptokitties congest ethereum network when it has resizable block size?

So I am wondering how come eth network got congested when block size is resizable and it can take more trx if needed? I am reading some info that it can do that but miners don't want to do it as it ...
0
votes
1answer
22 views

How to view or transfer initial ethereum smart contract balance?

I created a new smart contract token with initial supply and deployed it via MetaMask. Then I added this token into MetaMask but token balance is Zero. Now, My question is when we create a new ...
0
votes
1answer
211 views

Create an ERC20 Stablecoin [duplicate]

How to create a stable coin with an ERC20 token contract ? Does it require contract to be modified ? Are there some good practices or standards ?
0
votes
0answers
9 views

Transfer function not working properly with calculations

function payWorker1(address schoolId) public payable returns(bool){ require(Schools[schoolId].moneySent == false); require(Schools[schoolId].verified == true); Schools[schoolId]...
0
votes
0answers
8 views

Mist showed my wallet one day but after I restarted it, it disappeared

trying to see if there's any hope in restoring my wallet. I opened my Mist application for the first time since 2017 and was able to see my wallet. When I restarted it the next day, it was gone. I ...
1
vote
1answer
104 views

How to trim a string in solidity?

I have a function where one of its arguments is a string. How would I check the string for leading and trailing whitespaces and remove those characters? If i get something like this: " " => ""...
1
vote
0answers
50 views

ERC20 Token support for metamask website payment

I have the following code working in my site to accept ethereum payments in my website via metamask.... <!DOCTYPE html> <html> <head> <script src="https://cdnjs.cloudflare.com/...
0
votes
1answer
43 views

How could I get public array from JavaScript?

I have an array in smart contract: contract SuperContract { uint[] public SuperArrayForExample; function addItemToArray(uint item) payable { SuperArrayForExample.push(item); } } ...
0
votes
1answer
103 views

How to connect Trust Wallet in Javascript?

I want to use TrustWallet for payments in my project for mobile users. I saw the documents related to TrustWallet web3 API but not getting how to use it in javascript. Can anybody help me with the ...
0
votes
1answer
19 views

Gas price sending ether

Do I have to pay a gas price if I send ether from account a to account b in Ethereum MainNet?? Or the transaction is free of cost?' And if I buy ether from Changelly the destination address have to ...
0
votes
1answer
19 views

Staking of coins

I have a question on staking of coins. Suppose there are 10000 tokens in a user wallet, and he wants to put 5000 tokens on staking for a certain time period (i.e That 5000 tokens should go to an ...
0
votes
1answer
17 views

How to redirect to Etherscan website when transaction completes?

In my project, I am doing a transaction by using ethereum.send({ }) method from web3 in javascript using metamask. After the transaction completes I want to display the link to the user in label ...
0
votes
1answer
30 views

Calling a function from another contract is not working. But calling the function from deployed contract is working

I have a problem with calling a function from another contract. I don't know why it is not working. Contract DateTime(https://github.com/pipermerriam/ethereum-datetime) is a util for converting ...
1
vote
2answers
222 views

Reason for check of msg.value > 0

I came across published smart contracts (like this one from ConsensSys) that check whether msg.value is strictly larger than zero in their payable functions. After wondering whether msg.value can be ...