Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: branefreez on December 18, 2013, 08:50:43 PM



Title: Trying To Make A New CryptoCurrency
Post by: branefreez on December 18, 2013, 08:50:43 PM
Hio, y'all!

I am in the process of making a revolutionary CryptoCurrency, but I need help with the TxFee amount.

My question is: How do I make it so there is no DEFINED TxFee? What I need to have happen is that you need to send 1% the amount of the original transaction's amount as a fee [it will be destroyed, hence 1% deflation]. For instance, I have 100 Coins in my wallet, and 1 coin in a change wallet, and .01 in another. I am going to send 100 Coins to a friend, and since 1 Coin is 1% of the original 100 coins, it will use that as the fee to be destroyed, but the .01 will not. [That way miners get the fee]

The miner gets the .01 Coin fee, and the 1% fee is destroyed. The other 100 Coins go to my friend.

Is this possible, and if so, can someone help me to make it happen?

Sorry if my post is nooby, but I am new to designing brand new coins.


Title: Re: Trying To Make A New CryptoCurrency
Post by: branefreez on December 18, 2013, 09:02:08 PM
Someone PLEASE help me? I'm racing one of my colleagues to get this coin finished.


Title: Re: Trying To Make A New CryptoCurrency
Post by: Etlase2 on December 18, 2013, 09:22:13 PM
Percentage fees cannot work in a bitcoin-style block chain. They can't really work for any cryptocurrency. Specifically in bitcoin you will never know which tx is the spend and which is the change, so all change will have to pay the fee as well. This is horrific for making small transactions from larger inputs.


Title: Re: Trying To Make A New CryptoCurrency
Post by: branefreez on December 18, 2013, 09:35:24 PM
It must be possible to find the amount of coins being sent and make the fee:

float Tx_Fee = Amount_Being_Sent * 0.01 + MIN_TX_FEE

How would I go about doing such a thing?

PSYou don't have to have them in change wallets, you just have to have enough coins for the entire Tx. Then, the Tx_Fee - MIN_TX_FEE would be destroyed, and the MIN_TX_FEE would be sent to the miner.

If it is utterly and disappointingly impossible, how would I implement 1% deflation? It must be possible.