150 PTS - Tool to display AGS balance given a BTC and PTS wallet [CANCELED]

Started by bytemaster, January 04, 2014, 07:30:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.


liondani

Quote from: 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

Thanks toast, very helpfull reply.
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

toast

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
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.

liondani

[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

liondani

[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

bytemaster

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

barwizi

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

barwizi

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

naturalog

Quote from: donschoe on January 20, 2014, 08:35:41 AM
Quote from: naturalog on January 20, 2014, 03:49:08 AM
Quote from: bytemaster on January 06, 2014, 05:06:51 PM
Quote from: donschoe 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

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)

5chdn

Quote from: naturalog on January 20, 2014, 03:49:08 AM
Quote from: bytemaster on January 06, 2014, 05:06:51 PM
Quote from: donschoe 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

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 :)

naturalog

Quote from: bytemaster on January 06, 2014, 05:06:51 PM
Quote from: donschoe 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.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?

bytemaster

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

5chdn

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

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.

bytemaster

Quote from: donschoe on January 04, 2014, 03:27:33 PM
Quote from: 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

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: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

5chdn

Quote from: 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

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.

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: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

5chdn


barwizi

Quote from: donschoe on January 04, 2014, 10:04:55 AM
Quote from: 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.

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.

5chdn

Quote from: 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.

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?

barwizi

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.

barwizi

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.

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.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.