1

My Q: Is it possible to set a fixed amount of ETH for a token via smart contract?

The goal: I sell a token for lets say 0,001ETH. The owner can resell it, but only for the same amount of ETH. Same for the next one, and so on..

I heard about something like using two smart contracts. Maybe this is the way?

At the moment i am pretty new into smart contracts - any help (or related reading advice) is appreciated.

I saw this nice thingy, but as i understood it is not related: Is it possible to set up a token with a fixed amount available, where all coins can be redistributed among token holders?

Thanks :-)

2
  • What's to stop me selling my private key (equating to my token address) to someone in person in the pub for twice the amount? :-) Commented Jan 18, 2018 at 18:28
  • Yes, you are right - but thats another story and for my case not relevant. :-)
    – alstorx
    Commented Jan 19, 2018 at 9:42

1 Answer 1

0

The idea of decentralization is that people have their token on their wallet, and you do not have control over it.

However there is some exceptions.

Even if you sell a token on a designated market place, anyone could use it elsewhere and sell the token at the prices he wishes on other market places.

Token in a sense is like real world objects. You cannot force someone to sell something for the price you want in the real life. Even a state cannot durably enforce a fixed exchange rate to its sovreign fiat.

However you could design a smart contract, check zeppelin, where your smart contract has the right to sell for the user with the function transferFrom a precise amount of token. Then you could give a fix price to those.

2
  • I am reading through github.com/OpenZeppelin/zeppelin-solidity/issues/494 - it looks like there are many awesome functions. Do you know a dev who is into that stuff? I would have some more questions and maybe a job if everything i need is possible.
    – alstorx
    Commented Jan 19, 2018 at 9:50
  • Hey I know some Ill send you a message when Im on the computer
    – Ilan
    Commented Jan 22, 2018 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.