Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: [ANN][AGS-PRASER] Open Source Angelshares-Blockchain-Parser  (Read 5215 times)

0 Members and 1 Guest are viewing this topic.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
[ANN][AGS-PRASER] Open Source Angelshares-Blockchain-Parser
« on: January 01, 2014, 05:18:55 PM »

I've written a ruby parser which displays AGS donations in realtime by parsing the BTC and PTS blockchains.

It's open source and available on github. https://github.com/donSchoe/ags-parser

See realtime parsing on my demo site  (v0.4):
http://q39.protoshar.es/ags/4/pts.csv.txt
http://q39.protoshar.es/ags/4/btc.csv.txt
http://q39.protoshar.es/ags/3/balances.json

Using git to backup the chain every hour: http://git.jdqirc.net/donschoe/ags-datafeed
http://git.jdqirc.net/donschoe/ags-datafeed/raw/master/4/pts.csv.txt
http://git.jdqirc.net/donschoe/ags-datafeed/raw/master/4/btc.csv.txt
http://git.jdqirc.net/donschoe/ags-datafeed/raw/master/3/balances.json

You can use it to create some nice angelshares sites and push the community forward. I'm no frontend guy, but would be nice to see this in action. The text version is enough for my personal needs :D
It's the first time I tried to programmatically parse a blockchain, damn nice experience! But dont expect magic and be aware of bugs!

Report them to me or on github or use this testing thread: https://bitsharestalk.org/index.php?topic=1989.0

If you like it, feel free to send some Coins my way:
BTC: 1Bzc7PatbRzXz6EAmvSuBuoWED96qy3zgc
PTS: PcDLYukq5RtKyRCeC1Gv5VhAJh88ykzfka

Cheers!



Urgent: Upgrade to v0.4 immidiatly: v0.3 is bugged, v0.1 API is inaccurate and will be disabled.



Overview: Sites using my API so far, donate some some coins too, if you like them:

Yo @earthbound, a tip would be nice.

http://agsexplorer.com

More features will be added.

BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8
PTS: PgULYtxcDJM7SKABfECipFiSjrmtjiPQd9
If you found my PHP front end and source code useful (http://joelooney.org/ags/), you can tip me here (no pressure  :P)...

BTC:  16TsCgrKwQ3efzw6LkNuBHmvP6aJy21HGq
PTS:  PYDhxRmdd8YQdYLD757s7robuvafFdMARi

Thanks!

Note: this code will show the previous period's data until BTC and PTS donations are made in the current period.

Update: removed links to older versions.
« Last Edit: January 11, 2014, 04:08:08 PM by donschoe »

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #1 on: January 01, 2014, 07:30:34 PM »
Thanks for posting!
I see in the code it should reset for a new day but
http://q39.qhor.net/ags/pts.txt
didn't output what the code should. Don't know if it's a bug or you're running different code, just wanted to point it out
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #2 on: January 01, 2014, 07:36:12 PM »
Thanks for posting!
I see in the code it should reset for a new day but
http://q39.protoshar.es/ags/4/pts.txt
didn't output what the code should. Don't know if it's a bug or you're running different code, just wanted to point it out

Thanks for your feedback!

The code will reset every day. Note that all payments from 2013 are counted to Jan/01/2014. Thats why you dont see any reset yet.
« Last Edit: January 11, 2014, 04:10:49 PM by donschoe »

Offline Evan

  • Full Member
  • ***
  • Posts: 75
    • View Profile
  • BTS: evan
Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #3 on: January 01, 2014, 07:47:28 PM »
Is the BTC parser updating properly?  I sent BTC to the AGS address yesterday, but the last entry on the BTC parser is dated 2013-12-29.

Edit:  I see it's updating now.
« Last Edit: January 01, 2014, 08:06:03 PM by Evan »

Offline seraphim

Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #4 on: January 01, 2014, 08:20:28 PM »
Wow, great!
We definitely needed that!
Meet you on STEEM

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #5 on: January 01, 2014, 08:30:16 PM »
Is the BTC parser updating properly?  I sent BTC to the AGS address yesterday, but the last entry on the BTC parser is dated 2013-12-29.

Edit:  I see it's updating now.

Yes the BTC chain is still being parsed. The bitcoin network is huge and thats why it will take some hours to catch up!

The bot on IRC now tells us the value of AGS:

21:34:30     donschoe | .ags pts
21:34:30   +sternburg | Angleshares value: 2.247 AGS/PTS = 8.97 USD. Total donations today: 2225.249 PTS.
« Last Edit: January 01, 2014, 08:35:39 PM by donschoe »

Offline toast

Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #6 on: January 01, 2014, 08:43:17 PM »
Is the BTC parser updating properly?  I sent BTC to the AGS address yesterday, but the last entry on the BTC parser is dated 2013-12-29.

Edit:  I see it's updating now.

Yes the BTC chain is still being parsed. The bitcoin network is huge and thats why it will take some hours to catch up!

The bot on IRC now tells us the value of AGS:

21:34:30     donschoe | .ags pts
21:34:30   +sternburg | Angleshares value: 2.247 AGS/PTS = 8.97 USD. Total donations today: 2225.249 PTS.

what channel is this bot in?
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #7 on: January 01, 2014, 08:56:54 PM »
The bot on IRC now tells us the value of AGS:

21:34:30     donschoe | .ags pts
21:34:30   +sternburg | Angleshares value: 2.247 AGS/PTS = 8.97 USD. Total donations today: 2225.249 PTS.

what channel is this bot in?

on freenode:
Code: [Select]
    bot.rooms.new("#memorycoin").join
    bot.rooms.new("#extasie").join
    bot.rooms.new("##mmc-spam").join
    bot.rooms.new("#protoshares").join
    bot.rooms.new("#bitsharestalk").join
    bot.rooms.new("##pts-spam").join
    bot.rooms.new("##primecoin").join
    bot.rooms.new("#beeeeer.org").join
    bot.rooms.new("##xpm-spam").join

Offline bytemaster

Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #8 on: January 01, 2014, 09:34:30 PM »
The bot on IRC now tells us the value of AGS:

21:34:30     donschoe | .ags pts
21:34:30   +sternburg | Angleshares value: 2.247 AGS/PTS = 8.97 USD. Total donations today: 2225.249 PTS.

what channel is this bot in?

on freenode:
Code: [Select]
    bot.rooms.new("#memorycoin").join
    bot.rooms.new("#extasie").join
    bot.rooms.new("##mmc-spam").join
    bot.rooms.new("#protoshares").join
    bot.rooms.new("#bitsharestalk").join
    bot.rooms.new("##pts-spam").join
    bot.rooms.new("##primecoin").join
    bot.rooms.new("#beeeeer.org").join
    bot.rooms.new("##xpm-spam").join

Awesome work guys!
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster

Re: [ANN] Open Source AGS-Blockchain-Parser
« Reply #9 on: January 01, 2014, 09:34:57 PM »
Who can I send a 1 PTS tip to for this bot?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline cass

  • Hero Member
  • *****
  • Posts: 4328
  • /(┬.┬)\
    • View Profile
Re: [ANN][AGS] Open Source Angelshares-Blockchain-Parser
« Reply #10 on: January 02, 2014, 11:14:41 AM »
amazing work ... thx donschoe pls provide tip jar
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: [ANN][AGS] Open Source Angelshares-Blockchain-Parser
« Reply #11 on: January 02, 2014, 11:29:32 AM »
Who can I send a 1 PTS tip to for this bot?
amazing work ... thx donschoe pls provide tip jar
As mentioned in the first post, the donation addresses are: 1Bzc7PatbRzXz6EAmvSuBuoWED96qy3zgc or PcDLYukq5RtKyRCeC1Gv5VhAJh88ykzfka  8)

Thanks! If you have any feature requests let me know!

Offline aasl

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
Re: [ANN][AGS] Open Source Angelshares-Blockchain-Parser
« Reply #12 on: January 02, 2014, 01:58:22 PM »
nice work!

Offline cass

  • Hero Member
  • *****
  • Posts: 4328
  • /(┬.┬)\
    • View Profile
Re: [ANN][AGS] Open Source Angelshares-Blockchain-Parser
« Reply #13 on: January 02, 2014, 10:39:08 PM »
https://coinplorer.com/PTS/Transactions/bb2c83d49d66f253a949b902bf3ea885ff25c325fb309cf4e175a9a466fc880a

Donations sent - Danke Donschoe für deinen Einsatz ;) thx for your efforts to the community

Cass
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: [ANN][AGS] Open Source Angelshares-Blockchain-Parser
« Reply #14 on: January 03, 2014, 08:47:46 AM »
Thanks for all the donations! :)

And now vote me for MMC executive!

 

Google+