[ANN] peerchain.net - Live Network Statistics with an API

http://peerchain.net

In my attempts to better understand the peercoin network, I’ve put together a site displaying live blocks, transactions, and network statistics on the peercoin network. I’ve put it up at http://peerchain.net. I’m not trying to produce a block parser as we have a few rather good ones out there already - but rather something that looks at network growth both in coins and use. Because of this I’m not storing transactions at the moment - but I am streaming some basic data about them.

Right now all of the data is pretty much limited to text, but I hope to add better visualizations of how the peercoin network is growing including percent POS and inflation rate over time. Additionally all of the data I’m using on the site as well as past data on the block chain is available via the API at http://peerchain.net/api .

I’ve added a compare feature to look at how the money supply is changing, you can do something like this to get data about network growth over the last 2016 blocks: http://peerchain.net/api/compare/last/2016

I’m definitely open to feature requests, and please let me know if you find any bugs. I do need to make the site more mobile friendly.

Looks really good, enjoy my humble donation :slight_smile:

Hi,
I’ve spent some time analysing data provides by your site. For that thanks a bunch. 8)
Here’s what I have got so far wrt coins projection:

Samples per 2016 blocks as per:

date #coins inflation difficulty pow
20/08/2013 20.0M 23.49% 1.04M
18/09/2013 20.3M 17.78% 2.07M
15/10/2013 20.6M 11.06% 5.35M
30/10/2013 20.6M 10.91% 6.53M
13/11/2013 20.7M 10.08% 8.54M
27/11/2013 20.8M 10.20% 12.30M
10/12/2013 20.9M 10.91% 25.77M
24/12/2013 21.0M 7.92% 34.35M
12/01/2014 21.0M 7.43% 55.45M
22/01/2014 21.1M 5.70% 61.28M
04/02/2014 21.1M 5.74% 80.33M
22/02/2014 21.2M 5.40% 92.07M
13/03/2014 21.2M 4.74% 92.06M

As I am not sure whether the difficulty will keep rising or simply flatten some more (see also http://bitinfocharts.com/comparison/difficulty-ppc.html), I am conservatively projecting the inflation rate to drop down a bit more between 4.5% and 2% in the next 3 years. (I say this as there is an inverse correlation between pow diff and pow reward which heavily influence the inflation rate). [With the upcoming release in mind, I expect a lot more POS blocks to be made over POW, which could drop the inflation rate even more…]

Given that there were 21.22M coins in march 2014, I would estimate there will be about 23 a 24M coins in 3 years time.

13/03/2014 13/03/2015 12/03/2016 12/03/2017

1.02 21.65 22.08 22.52
1.025 21.75 22.30 22.85
1.03 21.86 22.51 23.19
1.035 21.96 22.73 23.53
1.04 22.07 22.95 23.87
1.045 22.18 23.17 24.22

In this regard, ppc coins are much scarcer than everyone thinks it will be…

Very nice, I would say this site is a new asset for the Peercoin community. This type of data should be published on sites like coinmarketcap.com. The information would inform potential investors a lot better. Looking forward to some graphical interpretations.

@thehuntergames, very interesting projections with the latest data regarding inflation. Well done. Inflation is indeed lower than I would have thought. Very good news.

Great to see you using the data! I think the peercoin network itself has many strengths, and by just publishing and making this data more available - people will see how far the network has come and what is to lie ahead.

Great work on the inflation predictions. I created this site primarily to keep a daily eye on the inflation number, and it’s been more surprising then I ever expected.

I have a feature request.

Put a single coinurl advertisement on there so you can make some residual income for your efforts. I think peerchain.net is fantastic resource, and you deserve to get some ad revenue.

Or if you want to do it yourself, put a small ad banner on the page somewhere, and name it “put your ad here. click to find out more”, and let people click on it and tell them your advertising rate.

Just don’t load it up with more than 1 ad. You’ll get better clicks that way, and people will feel more comfortable visiting the site.

I never want to see peerchain.net go down. :slight_smile:

Very nice site :slight_smile:

Funny ppcman - I was playing around with coinurl today as an option. Given your comment - I threw up the code I had. Glad to see the community support and thanks!

http://peerchain.net/charts.html

I’ve implemented a few charts to help keep track of and visualize inflation rate, POW difficulty, and money supply to see how the 3 relate. TODO on this is percent POS blocks. Let me know what you all think.

[quote=“snakie, post:9, topic:1675”]http://peerchain.net/charts.html

I’ve implemented a few charts to help keep track of and visualize inflation rate, POW difficulty, and money supply to see how the 3 relate. TODO on this is percent POS blocks. Let me know what you all think.[/quote]
Great, love the inflation chart. This is perfect marketing and investors material and also just very informative.

I really love your site. Thank you for making this resource available to the Peercoin community. :slight_smile:

Would it be possible to also note which blocks have synchronized checkpoints? (you can get this info with the rpc cmd ‘getcheckpoint’) It would be neat to know how often Sunny is signing blocks and what the last block is that his node has signed.

Good job! Thanks!

Added as my fav bookmarks

I’ve finally managed to find time to get peerchain.net back up! I’ve completely replaced the backend with what I hope is a significantly more stable setup. I apologize for the long downtime, life got a bit busy. I see again increased demand for data around the network. I’m looking to be the go to site on data about how the peercoin network in growing and specifically how POW is phasing itself out with difficulty increases. So you will find I have some basic data about transactions but that is all for now.

I’ve add a few requested features, such as pretty printing of the json data, as well as a new chart for POS difficulty. Sunny stated POS difficulty is a major factor for looking at how secure the peercoin network is. The charts page (http://peerchain.net/charts.html) now displays 4 pieces of information relating to the growth of the network, designed to specifically watch how POW/POS affects network inflation rate. I firmly believe that our low inflation rate at this point in time (just 1.5 years in) is a major talking point.

Please be sure the check out the API (http://peerchain.net/api) - all the data in use to generate the frontend of the site is available free of charge, please feel free to integrate these into any other sites to get real time data on the network. Specifically the /last methods are designed to make integration of the latest data super easy. Want to display the latest block? http://peerchain.net/api/blocks/last Or get data comparing the last 2016 blocks? http://peerchain.net/api/compare/last/2016

Please add any feature requests you have to the thread, I’m hoping to add an active minting percentage (which again is a major factor impacting network security) over the last 2016 blocks, as sent to me by another peercoiner, soon.

Great work. I really appreciate you bringing the site back online. The stats you provide on the network are hard to find elsewhere, and are extremely interesting. Everyone should check out http://peerchain.net/ if they haven’t yet.

Kudos!

Wow - the changes look great! Your explorer has really expanded my insights into how PPC is working. Among several surprises, the inflation rate is higher than expected due to the dearth of transactions. Maybe there should be more sports betting pools!

Thx for making this site! We can probably use it for the ticker on r/Peercoin.

was just looking at your charts , and was thinking, maybe a chart of the blockreward could be interesting ?

I’m curious as to how you implemented the API … did you use a framework or did you write it from scratch in php for example? I’m working on a personal project that I’m thinking of adding an API to but never made an API before :stuck_out_tongue:

If you need anything specific for the ticker let me know, I saw there was a bit of debate on what metrics to keep on the page. If desired I could even add a special ticker API call to be used for that purpose.

That’s a great idea. I should be able to do it.

I implemented it mostly from scratch using CherryPy in python. I couldn’t find an API framework in python that was light weight enough - but if you do find one let me know. I’d be curious.

If you need anything specific for the ticker let me know, I saw there was a bit of debate on what metrics to keep on the page. If desired I could even add a special ticker API call to be used for that purpose.

That’s a great idea. I should be able to do it.

I implemented it mostly from scratch using CherryPy in python. I couldn’t find an API framework in python that was light weight enough - but if you do find one let me know. I’d be curious.[/quote]
I’ll look around and see what I can fund after my finals are done late July. Thanks for sharing the info :)… This is a long shot but worth taking… Would you be open to sharing the source code for the api? I’m interested in viewing the code of an API and learning from a practical application for educational purposes. I’d totally understand if you’re not comfortable with it and you don’t have to explain why you wouldn’t if you are uncomfortable. Just thought it is worth asking :slight_smile:

Keep up the amazing work either ways :wink: