Questions tagged [price]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
152 views

Create Tokens Pegged to Ether

I would like to create tokens where its price is pegged to the price of Ethereum (i.e. Ether price goes up, my token price goes up). Regardless of number tokens been sold or changed hands.Is it ...
0
votes
0answers
35 views

Solidity Contract cost calcuation

How can I calculate the cost of running my contract and running each function? I've noticed in Ethereum when a transaction is successful we have a transaction cost and a execution cost, what the ...
0
votes
1answer
26 views

price of Token distrubition

can someone tell me how the transaction work is it in USD OR Price of ETH / BTC ? lets say 1 ETH = 900 $ TOKEN GIVEN 3000 when the price increased to 1000 $ then the token given to investor will ...
0
votes
1answer
43 views

More expensive token everyday

I'm using a very simple crowdsale it just sells tokens in ratio 1ETH=10000 tokens I would like to change this so every day token would be more expensive for example Day1: 1ETH = 10 000 Tokens Day2: ...
0
votes
2answers
124 views

How to set and get marketprice of token in contract? [closed]

I am building a simple erc-20 token. I don't have an idea as how token price is setup. However, I need to get my token's market price inside another contract. If you see this example of token BOMB, it ...
1
vote
2answers
40 views

Set the price by calling another contract and getting result from it

I want to set the price in Token every time the contract is deployed by calling ETHUSD in constructor and getting result from it. pragma solidity ^0.5.0; import "./ETHUSD.sol"; contract Token { ...
0
votes
1answer
118 views

Question regarding ether cost of each token in crowdsale contract on ethereum.org

Is someone please able to clarify if I wanted 1000 tokens to be issued for 1 ether then what would I enter the price value in the contract. function Crowdsale( address ifSuccessfulSendTo, ...
1
vote
3answers
259 views

How do ICOs with token price linked to fiat currency prices work?

So when I see most Crowdsale contracts the price is set to x ETH and you receive the tokens based on that, if ETH price is down you get more tokens/$ and when ETH price is up, you get less/$. That's ...
1
vote
2answers
76 views

How estimate smart contract deployment and transactions price?

I can deploy the same smart contract and invoking four transactions on it on Ropsten network. How can I estimate the price of the exactly same operations but on the Mainnet network?
1
vote
2answers
69 views

Best way to delete element of a dynamic array without knowing the index

I have this mapping mapping(bytes32 => address[]) public authorisation; This maps a hash with a list of authorised users. I have a function to add, and confirm - these work and its not an ...
0
votes
1answer
309 views

Simple crowdsale

I want to do a simple crowdsale for lets say 500.000.000 tokens. For 1 ether you will get 100.000 tokens. 20% will be holded by me, others goes to crowdsale. What wont be sold, it will be burned. I ...
1
vote
0answers
15 views

Ethereum Price - Transaction cost relation [duplicate]

The average transaction cost is around 0.0005ETH which is around 0.06$ right now. Does it mean that the transaction fee decreases whenever the price of Ethereum drops? Isn’t the price closely related ...
1
vote
1answer
307 views

How to get value history from ERC721 Token

I'm trying to figure out HOW to get a sort of "history" of values for a specific ERC721 (for instance KnownOrigin) What are the important items to consider? Is something feasible via Smart Contract ...
1
vote
2answers
38 views

Are there networks that doesn't require ether to be spend to run?

When you deploy smart contract and then alter it's state in Ethereum networks (at least master and Rinkeby) you need to spend some gas = ether. Can there be networks that don't need gas to run?
0
votes
1answer
49 views

Direct sale smart contract, is this working without security issue?

I want to make a page for direct sale of my token, just like the one in Loomx, with a fixed token price (changeable later by me) and immediately transfer token to buyer securely after purchase. I try ...
1
vote
0answers
181 views

Will staking increase or decrease volatility?

I'm trying to wrap my head around the implications of locking up much of the supply of ether when proof of stake happens. It seems to me that doing so would decrease the circulating supply and ...
4
votes
2answers
2k views

How much does it cost to upload a smart contract?

I'm using a local Ethereum testnet and it seems to me that the price of uploading a smart contract is a bit too high. This is the code for the smart contract: contract Transfer { address owner; ...
0
votes
3answers
1k views

How do we set the price of our token? In the contract, itself or after deploying it?

Is this the function where I enter buy price? And, if so, how and where and how in the contract? I want the token exchangeable for ETH and am trying to understand how the price is set so it goes up ...
1
vote
1answer
46 views

How to implement a per item, fixed price for a smart contract?

Imagine that I am building a smart contract which simulates a lottery. I would like people to enter the lottery by buying a ticket (i.e. they would send in a certain amount of ether when they call a ...
0
votes
1answer
46 views

how to price into a coin real assets backup [closed]

For a coin that is backed up by real assets, how do we take that into consideration when setting a price? Should the price be driven by the community on the exchanges by offer and demand? any ideas to ...
0
votes
1answer
275 views

see Ethereum USD value at time of transaction?

on Blockchain.info, when you hover over the value of a transaction, it will actually tell you the value of Bitcoin in USD at the time of that transaction (as well as how much that is worth now) is ...
2
votes
0answers
337 views

How to set dynamic buy and sell price for my token?

I have built a simple erc-20 token. I used the code given on ethereum.org code as a reference. There they have talked about setting the price of my token. But how do I set it dynamically, as in ...
1
vote
1answer
454 views

How to actually setPrices of my token?

I have created a contract, minted some tokens, and I see I have the option to set the Sell and Buy price, but if I do that, Etherscan.io will still show $ 0.00 as the value of my token. How do I ...
5
votes
3answers
2k views

Which exchange should I trust to provide ether price in USD?

There are many exchanges that provide APIs for getting the market price of ether in USD and other currencies. As an example of the different data sets: Cryptonator 1 eth = $19.27 CoinGecko 1 ...
0
votes
0answers
75 views

Why network hashrate fall when price go up?

Its really strange for me, price for week is bull as hell and in this same time hashrate ethereum is decreasing, can anyone tell my why?
6
votes
1answer
572 views

Since the price of ETH has gone up 10x in 6 months, should I be lowering the gas price for my transactions?

The price of ETH has gone from ~8 USD/ETH to ~90 ETH/USD in 6 months, but when I view transactions on the blockchain (example), I see that most people are still using the default gas price of 2e10 wei/...
4
votes
0answers
864 views

Historical hourly or minute prices (API or bulk)

Questions to find ETH or other cryptocurrency historical prices have been asked and answered here or there. But I'm looking for hourly prices, or even less, for every minute, and for at least the past ...
2
votes
1answer
300 views

What market sets the price for ethereum?

What specific markets set the "price" for Ethereum. I'm assuming it's some type of open market model, but can't find any information on the standard used? For instance, Coinbase displays a price ...