BitShares Forum
Other => Graveyard => BitShares PTS => Topic started by: testz on January 19, 2014, 01:34:40 pm
-
getagsbalance command shows your wallet total AGS balance based on information from http://cryptoseed.cloudapp.net:81/agsbalances.json. If you just sent PTS to AGS donation address, they will be count only at the next day (after GMT 00:15)
To run the command in the ProtoShares client go to Help -> Debug window -> Console and type:
getagsbalance
or for verbose output
getagsbalance *
Command usage: getagsbalance [account]
If * is specified, returns the verbose AGS balance of all addresses.
If [address] is not specified, returns the total AGS balance of all addresses.
If [address] is specified, returns the AGS balance of the address.
Note: Result based on data gathered from http://cryptoseed.cloudapp.net:81/agsbalances.json
I already submit these changes to official ProtoShares repository:
https://github.com/InvictusInnovations/ProtoShares/pulls
Precompiled ProtoShares client for Windows you can download from: https://www.dropbox.com/s/7fqwiwujhun3lmt/protoshares-0.4.2.zip
MD5 of zip is 30eff7b3aac3f5b91162e669e191d077
If you find this information useful any donate will be greatly appreciated
PTS: PeDsn5rpjYkuixKcM81f86GE469HMf7QgN
Update: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser data
Update: Included in new client https://bitsharestalk.org/index.php?topic=2995.0
-
+1
-
How do I import the log on a mac?
-
getagsbalance command shows your wallet total AGS balance based on information from http://angelshares.info/json/?allAddresses. If you just sent PTS to AGS donation address, they will be count only at the next day (after GMT 00:10)
To run the command in the ProtoShares client go to Help -> Debug window -> Console and type:
getagsbalance
or for verbose output
getagsbalance *
Command usage: getagsbalance [account]
If * is specified, returns the verbose AGS balance of all addresses.
If [address] is not specified, returns the total AGS balance of all addresses.
If [address] is specified, returns the AGS balance of the address.
Note: Result based on data gathered from http://angelshares.info/json/?allAddresses
I already submit these changes to official ProtoShares repository:
https://github.com/InvictusInnovations/ProtoShares/pulls
Precompiled ProtoShares client for Windows you can download from: https://www.dropbox.com/s/44nsvz1qbifp4r6/protoshares-0.4.1.zip
MD5 of zip is 7dbb8aec109c9eeab6547e992403e0aa
If you find this information useful any donate will be greatly appreciated
PTS: PeDsn5rpjYkuixKcM81f86GE469HMf7QgN
Amazing work testz! Send me a PTS address and I will send you a tip. Any chance you could display the AGS balance in the GUI next to the PTS balance?
-
Amazing work testz! Send me a PTS address and I will send you a tip. Any chance you could display the AGS balance in the GUI next to the PTS balance?
Thanks! :)
Sure everything possible and I already think about this, the main problem as I can see that if http://angelshares.info will be offline or something goes wrong with API we need somehow to notify user about problems, and for now I doesn't see the elegant solution for this but I will keep thinking and looking into client code, maybe I will manage to show such kind of notifications as bitcoin style client alerts.
-
Amazing work testz! Send me a PTS address and I will send you a tip. Any chance you could display the AGS balance in the GUI next to the PTS balance?
Thanks! :)
Sure everything possible and I already think about this, the main problem as I can see that if http://angelshares.info will be offline or something goes wrong with API we need somehow to notify user about problems, and for now I doesn't see the elegant solution for this but I will keep thinking and looking into client code, maybe I will manage to show such kind of notifications as bitcoin style client alerts.
In theory every client could calculate AGS balances with its own SCAN of the blockchain?
-
How do I import the log on a mac?
You need get sources from https://github.com/InvictusInnovations/ProtoShares with my pull request and compile the client, or wait until someone will compile the mac version.
I'm not so familiar with OSX but if no one helps you I will try to compile the Mac version by myself.
-
Amazing work testz! Send me a PTS address and I will send you a tip. Any chance you could display the AGS balance in the GUI next to the PTS balance?
Thanks! :)
Sure everything possible and I already think about this, the main problem as I can see that if http://angelshares.info will be offline or something goes wrong with API we need somehow to notify user about problems, and for now I doesn't see the elegant solution for this but I will keep thinking and looking into client code, maybe I will manage to show such kind of notifications as bitcoin style client alerts.
In theory every client could calculate AGS balances with its own SCAN of the blockchain?
Yes, it's right way to do this, it's more complicated to do but I will try to look for this as well.
-
Testz, could you check out this thread? https://bitsharestalk.org/index.php?topic=1963.0
Would it be possible to create an AGS-branch of the bitcoin wallet aswell?
Sure everything possible and I already think about this, the main problem as I can see that if http://angelshares.info will be offline or something goes wrong with API we need somehow to notify user about problems, and for now I doesn't see the elegant solution for this but I will keep thinking and looking into client code, maybe I will manage to show such kind of notifications as bitcoin style client alerts.
As a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.json
In theory every client could calculate AGS balances with its own SCAN of the blockchain?
Yes, it's right way to do this, it's more complicated to do but I will try to look for this as well.
Every client has to run in -txindex=1 -reindex=1 mode for that, but this would be the best approach.
-
As a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.json
Update: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser data
-
As a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.json
Update: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser data
Not sure but could it be the http://cryptoseed.cloudapp.net:81/agsbalances.json is using the wrong API version? donSchoe's API looks different: http://q39.protoshar.es/ags/3/balances.json
-
As a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.json
Update: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser data
Not sure but could it be the http://cryptoseed.cloudapp.net:81/agsbalances.json is using the wrong API version? donSchoe's API looks different: http://q39.protoshar.es/ags/3/balances.json
Yes, it's little bit modified version of donSchoe's ags_balance.rb which still using csv files hosted by donSchoe:
https://github.com/testzcrypto/ags-parser/blob/master/ags_balance_brief.rb
-
thank you, tip sent
-
As a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.json
Update: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser data
Not sure but could it be the http://cryptoseed.cloudapp.net:81/agsbalances.json is using the wrong API version? donSchoe's API looks different: http://q39.protoshar.es/ags/3/balances.json
Yes, it's little bit modified version of donSchoe's ags_balance.rb which still using csv files hosted by donSchoe:
https://github.com/testzcrypto/ags-parser/blob/master/ags_balance_brief.rb
Cool stuff. Merged it into master. Thanks!
-
Cool stuff. Merged it into master. Thanks!
Thanks :)
-
+5% (Thanks very helpfull)