A new way to update your price feed for a witness

in HiveDevslast year

I recently started running my own Hive Witness for the first time (in addition to the @spknetwork node I run and all the @v4vapp and @podping stuff). I specifically wanted to ensure @podping was using infrastructure that it was contributing toward.

As part of @v4vapp I have a public API which gives a price feed for Hive. It looks at @coingecko and Coin Market Cap as well as taking the HBD price from trades on the internal Hive market (because the external indicators for HBD to Hive are not good).

I'm still looking for a few more votes to get my proposal funded for continuing work, links here:


Support Proposal 244 on PeakD
Support Proposal 244 with Hivesigner
Support Proposal 244 on Ecency
Vote for Brianoflondon's Witness KeyChain or HiveSigner


That api end point is here: https://api.v4v.app/docs#/cryptoprices/cryptoprices_v1_cryptoprices__get

Random AI image of a duck

Price Feed

It was very easy (now that I've been doing dev work for so long) to turn that into an updating price feed for Hive Witnesses in the most simple way I can think of.

The script only updates every 12 hours or if the delta between the current reading and the last posted price is greater than 2%. It checks for prices every 15 mins. It's a first version, any issues I'll look into.

This is the repo and there are instructions to run from a single command line (using Docker) or a docker-compose.yml file.

V4Vapp Hive Pricefeed on Github

Let me know what you think or if you try it out.

I'm still looking for a few more votes to get my proposal funded for continuing work, links here:


Support Proposal 244 on PeakD
Support Proposal 244 with Hivesigner
Support Proposal 244 on Ecency
Vote for Brianoflondon's Witness KeyChain or HiveSigner


Send Lightning to Me!

Sort:  

I recently started running my own Hive Witness for the first time

It's really awesome @brianoflondon and I have always appreciate your efforts and commitment to the work you do. Keep up the good work moving.

I appreciate all the hard work gone into podping. If there's anymore proposals needing vote, I definitely support !

This really is a good example to showcase to others in other to improve oneself for the better.

That's really great to know. I must really admonished you for your great work, dedication and commitment per time

Great initiative and I think improving the price feed is imperative to broadcast this information and also allow others to have updated data. This is the only way in order to make use of price boosts.

*claps

Enjoy watching you grow the blockchain with your cleverness. Lots of passion here which is very inspiring. And smarts.

Love the duck... who could scroll past a duck that cool?

Everyone loves a duck!

Surely not everyone :)

But they should!

Quack!

Double Quack, my fine feathered friend.

Double quack!

Hmmmm...

if it's a good duck, of course :D

*catching up slowly

One can appreciate a naughty duck sometimes 😜

Dude... I would give my left tail feather for a naughty duck right about now. I can't even remember the days... or count them.

Also...

Only owls around here and they're all in surprisingly civilized coupledom. It's quite sweet actually.

No water for miles though.

The struggle is real. 👍

Thank the gods for Hive.

Congratulations @brianoflondon! You received a personal badge!

You powered-up at least 150 LEO on Leo Power Up Day!
Thank you for participating in the Leo Power Up day.

You can view your badges on your board and compare yourself to others in the Ranking

Check out our last posts:

LEO Power Up Day - December 15, 2022
HiveBuzz World Cup Contest - Semifinals - Recap of Day 2
The Hive Gamification Proposal Renewal
Well done @brianoflondon! You successfully guessed the match result and unlocked your badge!
Click on the badge to view your board. Click here to check your ranking.

Thank you to our sponsors. Please consider supporting them.

Check out our last posts:

HiveBuzz World Cup Contest - Recap of 3rd Place match
The Hive Gamification Proposal Renewal