fiatcontract icon indicating copy to clipboard operation
fiatcontract copied to clipboard

No Longer Updating?

Open CFMcConnell opened this issue 6 years ago • 12 comments

It looks like this may have lost support. Is that true? If so, any recommended alternatives?

CFMcConnell avatar Aug 12 '18 15:08 CFMcConnell

We just contributed! :-)

CFMcConnell avatar Aug 13 '18 19:08 CFMcConnell

Hey there! Seems like the wallet ran out of funds so it wasn’t able to submit transactions. Thanks for giving the wallet some ETH!!!! I’ll be adding more ETH later today.

hunterlong avatar Aug 14 '18 16:08 hunterlong

Awesome. We're planning to use it regularly in our smart contracts, and will support it as well.

Thank you!

Chris

On Tue, Aug 14, 2018, 12:42 PM Hunter Long [email protected] wrote:

Hey there! Seems like the wallet ran out of funds so it wasn’t able to submit transactions. Thanks for giving the wallet some ETH!!!! I’ll be adding more ETH later today.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hunterlong/fiatcontract/issues/6#issuecomment-412937737, or mute the thread https://github.com/notifications/unsubscribe-auth/Aezf94Pg42hG4pczukBfqkosF9qhllI-ks5uQv4HgaJpZM4V5lkr .

CFMcConnell avatar Aug 14 '18 20:08 CFMcConnell

Very nice! The contract will always attempt to update the price, if... the wallet has enough funds to submit a transaction. I’ll put in a maximum gas price to make sure the funds will last longer.

hunterlong avatar Aug 15 '18 15:08 hunterlong

Hi Hunter-- We contributed $25, but it only lasted 12 days or so. Does that seem right?

CFMcConnell avatar Sep 05 '18 20:09 CFMcConnell

The Gas Price changes very frequently, this contract is also updating every 1 hour. I just added $50 to the sender address 0x004f3e7ffa2f06ea78e14ed2b13e87d710e8013f so FiatContract will continue to update the ETH market prices.

Todo

  • [ ] Set maximum Gas price in config
  • [ ] Reduce update times? Or only update contract when ~5% +/- change to price?

Ethereum GWEI Gas price for last month. screen shot 2018-09-05 at 3 02 10 pm

hunterlong avatar Sep 05 '18 22:09 hunterlong

Aha. We will continue supporting.

We wonder if a combination makes sense: update every 5 mins IF price has changed more than 1%, otherwise wait another 5 mins and check again. The 5 and 1 may need to be optimized so as to avoid being triggered excessively by normal noise.

CFMcConnell avatar Sep 05 '18 23:09 CFMcConnell

Perhaps every 15/30 mins would be more effective cost wise and drown the noise or it will be too costly for other people to pay for.

goldfire777 avatar Sep 09 '18 14:09 goldfire777

We would rather increase the tolerance to, say, 2% than delay the update. Our system is using FiatContract for placing buy/sell orders, and it would be bad to have a major mis-price simply because FiatContract had not yet detected a major move in ETH price.

CFMcConnell avatar Sep 09 '18 16:09 CFMcConnell

Oh I see so your system will be using it 24/7 all year long okay I thought you wanted to just use it just sometimes and my concern was if it was pulled every 5 mins other people may not be able to afford the costings every day on it@ 1 % trigger. 2% is a better trigger for what you want I had 2% in my head before when writing the message above as 1% due to the noise it could be burning gas for nothing. I was not trying to be disrespectful to your needs but basing it off the cost of Oracle pricing per min which Fiat Contract solves the enormous costings of that and not have the trouble of having to build one into the contract. Running an ICO 24/7 for 30 days on an Oracle is crazy costings. My concern was the gas burning cost per day@ that rate but if you are using it every day and Hunter doesn't mind then other people can chip in too what they can contribute then I dont see anyone having an issue.

goldfire777 avatar Sep 09 '18 18:09 goldfire777

HI @hunterlong,

It looks like FiatContract is the only game in town for dealing this problem. And apart from needing more fiat currency support, it looks like a great solution. The only problem is trust. The contract code looks good, but what updates it and why should we trust the off-chain mechanism to both supply correct data and to continue operating as long as there is donated ether available?

I'm building a system that needs this functionality, and I don't want to build it myself, but if I did, my solution would face the same trust issue. So, I've been wrestling with the question of whether to add this as an important dependency all day. On the upside, I see over a year's worth of regular update transactions on etherscan. But I would like to know more about the off-chain mechanism if you could share some of that info with us.

Either way, thanks for building this really useful contract.

cliffhall avatar Dec 04 '18 22:12 cliffhall

Fiat Contract ran out of funds again. It seems to burn ETH at about double the advertised rate (-0.003003792 ETH per day). From our estimates, it's more like -0.007 ETH per day.

We just contributed again. The web site now says, "Donations run out in 118 Days." If that's true, it will be okay. Regardless, we would love others to join us in supporting this contract!

CFMcConnell avatar Aug 05 '19 02:08 CFMcConnell