BitShares Forum

Other => Graveyard => Marketplace => Topic started by: bytemaster on January 04, 2014, 07:30:26 am

Title: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [CANCELED]
Post by: bytemaster on January 04, 2014, 07:30:26 am
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.
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: barwizi on January 04, 2014, 08:24:48 am
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.
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: barwizi on January 04, 2014, 08:31:41 am
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.
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: 5chdn on January 04, 2014, 10:04:55 am
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.

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?
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: barwizi on January 04, 2014, 10:26:05 am
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.

Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: 5chdn on January 04, 2014, 11:13:01 am
Ok will improve my AGS parser now and use that as data base.
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: bytemaster on January 04, 2014, 02:54:30 pm
As long as I do not have to reveal my private keys a service works well for me. 


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: 5chdn on January 04, 2014, 03:27:33 pm
As long as I do not have to reveal my private keys a service works well for me. 


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)

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.
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: bytemaster on January 04, 2014, 03:33:26 pm
As long as I do not have to reveal my private keys a service works well for me. 


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)

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.
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: 5chdn on January 04, 2014, 07:39:25 pm
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.
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: 5chdn 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
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: bytemaster on January 06, 2014, 05:06:51 pm
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!
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: naturalog 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?
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: 5chdn 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 :)
Title: Re: 100 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: naturalog 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)
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: barwizi on February 23, 2014, 10:35:31 am
How about getting this done, seems like a vital service.
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: barwizi on March 02, 2014, 08:50:26 am
still needed?
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: bytemaster on March 02, 2014, 05:22:15 pm
A GUI would be nice. 


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: liondani on April 26, 2014, 09:52:57 pm
Any news here?
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: liondani on May 01, 2014, 07:44:02 pm
Any news here?

Anybody reading this?
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: toast on May 01, 2014, 07:50:52 pm
No idea, but you can do it yourself pretty easily with either the client or the tools in this thread: https://bitsharestalk.org/index.php?topic=2448.0
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: liondani on May 01, 2014, 08:37:04 pm
No idea, but you can do it yourself pretty easily with either the client or the tools in this thread: https://bitsharestalk.org/index.php?topic=2448.0

Thanks toast, very helpfull reply.
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: archit on May 04, 2014, 07:37:36 am
Bounty still up?
Title: Re: 150 PTS - Tool to display AGS balance given a BTC and PTS wallet [PENDING]
Post by: bytemaster on May 16, 2014, 11:37:42 pm
nah.. way outdated.