janfiedler / mineiota

IOTA Faucet - Get IOTA through mining Monero and PIVX staking pool
52 stars 25 forks source link

Doubt with pivx/miota #95

Closed Gimenez93 closed 5 years ago

Gimenez93 commented 5 years ago

First of all I love your initiave and thanks for your work! I'm interested on the new pivx feature but sadly I'm not really into this subject. Until now, I saved my shares until the moment I thought it was a good xmr/miota conversion and then I withdraw it. This was easy to me thanks to your info on the header. But now if I want to stack my shares into pivx I'm not able to check it or at least to understand when is the best moment to do it.

Can you explain me how to do it? Or maybe add to the table the pvix/miota rate conversion too?

Thanks!

janfiedler commented 5 years ago

Hi, thank you for support. Yeah it is good point, I can make it more clear.

Conversion is very simple PIVX to BTC and BTC to IOTA.

Math: (pivxBtcPriceuserPivxBalance)/(miotaToBtcPrice/1000000) So pivxBtcPrice = 0.00017050 PIVX/BTC userPivxBalance = 0.5 PIVX miotaToBtcPrice = 0.00007825 MillionIOTA/BTC (0.00017050 0,5)/(0.00007825/1000000) 0,00008525/0,00000000007828 result = 1089039,34593766 So you get for 0,5PIVX 1089039 IOTA a.k. 1,089039 Miota

There is no fee, so you can verify calculation on your own.

I add this formula to Wiki. Thank you for tip.