Bitcoin Forum
April 27, 2024, 04:26:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is it possible? Unstable amount of coins in circulation?  (Read 86 times)
quantumer (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 31, 2018, 01:42:09 PM
 #1

Hi, i have some question for programmers, for example creating a new cryptocurrency, it is possible to create  cryptocurrency with unstable amount of coins in circulation?

For example:
1. First, the program will check the current USD exchange rate and the current marketcap status(checking from coinmarketcap.com)
2. Next, the program will calculate the amount of coins needed for the price to be 1 USD    ---> *program think* price =  Timely marketcup/amount of coins, so i need to know how meny amount of coins needed if the price is to be 1 usd ---- > for example     current marketcup 1 000 000 USD / 1 000 000 coins, and it will be checked by the program every few seconds.

What if the marketcap goes down? The program would have to DESTROY the necessary amount of the moent, of course not belongings to someone. It would have to be equipped with a "nobody's" wallet from which it is able to remove coins in the right moe, so that the price is still stable.

What if the marketcap will goes up? The program would have to create the needed amount of coins in the 'nobody's' wallet

For example, Day X 2018.  Marketcap = 1 000 000 usd ,  1 000 000 coins   price = 1 USD
                   Day X2 2018  Marketcap = 2 000 000 usd   , 2 000 000 coins(1 000 000 coins in the "nobody" wallet) so      2 000 000 / 2 000 000 = Price still 1 USD
                   Day X3 2018  Marketcap = 500 000 usd  , 500 000 coins( -1 500 000 coins, will be deleted)   so     500 000 / 500 000 = Price still 1 USD

I hope you understand me, if you now some about that, please answer, is that possible to write it in C++?


Thanks.
1714235172
Hero Member
*
Offline Offline

Posts: 1714235172

View Profile Personal Message (Offline)

Ignore
1714235172
Reply with quote  #2

1714235172
Report to moderator
1714235172
Hero Member
*
Offline Offline

Posts: 1714235172

View Profile Personal Message (Offline)

Ignore
1714235172
Reply with quote  #2

1714235172
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714235172
Hero Member
*
Offline Offline

Posts: 1714235172

View Profile Personal Message (Offline)

Ignore
1714235172
Reply with quote  #2

1714235172
Report to moderator
1714235172
Hero Member
*
Offline Offline

Posts: 1714235172

View Profile Personal Message (Offline)

Ignore
1714235172
Reply with quote  #2

1714235172
Report to moderator
1714235172
Hero Member
*
Offline Offline

Posts: 1714235172

View Profile Personal Message (Offline)

Ignore
1714235172
Reply with quote  #2

1714235172
Report to moderator
CryptoSingleBrew
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
March 31, 2018, 02:25:31 PM
 #2

Hey! I think you're describing exactly how Tether works! Cheesy

They are maintaining the value of 1 USDT close to 1 USD at all times by minting more coins into circulation or burning some. Not sure about the tech details about how they do it, but if I wanted to create a stable coin that is pegged to USD I would (as a creator) call the smart contract to update the liquidity supply by calling an oracle that would tell me how many coins I should add or burn so the value remains at 1 usd. Now that oracle would take into account a lot of things to come to the conclusion of what to do with the supply to maintain 1 usd per coin (info from exchanges or coinmarketcap, how the dollar is doing, etc).

Hope that helps!
quantumer (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 31, 2018, 04:01:43 PM
 #3

Hey! I think you're describing exactly how Tether works! Cheesy

They are maintaining the value of 1 USDT close to 1 USD at all times by minting more coins into circulation or burning some. Not sure about the tech details about how they do it, but if I wanted to create a stable coin that is pegged to USD I would (as a creator) call the smart contract to update the liquidity supply by calling an oracle that would tell me how many coins I should add or burn so the value remains at 1 usd. Now that oracle would take into account a lot of things to come to the conclusion of what to do with the supply to maintain 1 usd per coin (info from exchanges or coinmarketcap, how the dollar is doing, etc).

Hope that helps!


Yes, it's very similar. But in teter this is done in such a way that the whole is supervised by Tether corp, and I mean more so that I can free myself from any "distributor".
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!