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: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [CANCELED]  (Read 2554 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster


Assuming I have a wallet.dat for AGS or PTS, I would like a tool that will report my current AGS balance.

I would guess that this would be implemented by dumping your addresses then fetching the full AGS database from one of the provided services and totaling all balances.  The easier this is for someone to do the better.

Increasing the bounty on this to 150 PTS.
« Last Edit: May 16, 2014, 11:37:57 PM by bytemaster »
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 barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
The idea is to collect the total of all transactions to the donation addresses from the wallet, then using the dates ,  calculate how much AGS one has. I would recommend donschoe for this one.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
here is a tip

https://github.com/jackjack-jj/pywallet

i am busy with other projects, but if noone takes it up end of day. i will try it out.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
The idea is to collect the total of all transactions to the donation addresses from the wallet, then using the dates ,  calculate how much AGS one has. I would recommend donschoe for this one.

Thanks for the recommendation. As I already have a blockchain parser, I can take on this one.

Reading the blockchain locally comes with some issues.
  • It takes ages (especially for bitcoin blockchain which is huge!)
  • You need to reindex the whole blockchain with the flag -txindex=1 -reindex=1 (It takes some time ...)
  • It takes ages ... :)

I could provide a web-API (including backup server if something goes wrong) which provides preparsed results and create a local QT program which allows entering addresses or reading wallets.

Or is it an requirement to work client side only with just the local blockchain and wallet?

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
The idea is to collect the total of all transactions to the donation addresses from the wallet, then using the dates ,  calculate how much AGS one has. I would recommend donschoe for this one.

Thanks for the recommendation. As I already have a blockchain parser, I can take on this one.

Reading the blockchain locally comes with some issues.
  • It takes ages (especially for bitcoin blockchain which is huge!)
  • You need to reindex the whole blockchain with the flag -txindex=1 -reindex=1 (It takes some time ...)
  • It takes ages ... :)

I could provide a web-API (including backup server if something goes wrong) which provides preparsed results and create a local QT program which allows entering addresses or reading wallets.

Or is it an requirement to work client side only with just the local blockchain and wallet?

I don't think client side is a requirement, in fact your solution sounds quicker and more convenient for users. Since it not an actual wallet yet, there are no control and privacy issues. bytemaster will chip in when he can, but i believe your idea is the best way to go.

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Ok will improve my AGS parser now and use that as data base.

Offline bytemaster

As long as I do not have to reveal my private keys a service works well for me. 


Sent from my iPhone using Tapatalk
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 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
As long as I do not have to reveal my private keys a service works well for me. 


Sent from my iPhone using Tapatalk

It only needs the public keys to query the wallet. I will rewrite the parser to make RPC calls.

One more question, do you want a GUI application? Command line or daemon would be possible too.

Offline bytemaster

As long as I do not have to reveal my private keys a service works well for me. 


Sent from my iPhone using Tapatalk

It only needs the public keys to query the wallet. I will rewrite the parser to make RPC calls.

One more question, do you want a GUI application? Command line or daemon would be possible too.

I would like this tool for the average person sending in donations to track their shares.  GUI is probably best.
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 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Finished working on the blockchain parser, Call for Feedback here: https://bitsharestalk.org/index.php?topic=1989.0

Will start working on a wallet-checker now.

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
« Reply #10 on: January 06, 2014, 10:35:34 AM »
Created an JSON API for all AGS-balances which will be used in the tool.

http://q39.protoshar.es/ags/3/balances.json
https://bitsharestalk.org/index.php?topic=2066.0
« Last Edit: January 20, 2014, 08:32:05 AM by donschoe »

Offline bytemaster

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 naturalog

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
« Reply #12 on: January 20, 2014, 03:49:08 AM »
Created an JSON API for all AGS-balances which will be used in the tool.

http://q39.qhor.net/ags/balances.json
https://bitsharestalk.org/index.php?topic=2066.0

Good progress!

So now what's left is a crossplatform QT GUI code quering bitcoind or protosharesd for the addresses, and displaying the balance as in the json?

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
« Reply #13 on: January 20, 2014, 08:35:41 AM »
Created an JSON API for all AGS-balances which will be used in the tool.

http://q39.protoshar.es/ags/3/balances.json
https://bitsharestalk.org/index.php?topic=2066.0

Good progress!

So now what's left is a crossplatform QT GUI code quering bitcoind or protosharesd for the addresses, and displaying the balance as in the json?

Yes, something like that: https://bitsharestalk.org/index.php?topic=2448.0
I think testz qualifies for that bounty :)

Offline naturalog

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
« Reply #14 on: January 20, 2014, 08:44:05 AM »
Created an JSON API for all AGS-balances which will be used in the tool.

http://q39.protoshar.es/ags/3/balances.json
https://bitsharestalk.org/index.php?topic=2066.0

Good progress!

So now what's left is a crossplatform QT GUI code quering bitcoind or protosharesd for the addresses, and displaying the balance as in the json?

Yes, something like that: https://bitsharestalk.org/index.php?topic=2448.0
I think testz qualifies for that bounty :)

I can do it (and will begin)

 

Google+