Get your BTS XT Balance Here from the Feb 28th snapshot

Started by bytemaster, March 02, 2014, 07:30:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

betax

[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

prophetx


bytemaster

Quote from: Xeldal on March 08, 2014, 10:57:20 PM
What happens with the 117,567.513007 BTS from the PTS the donation address held during the snapshot?

http://www1.agsexplorer.com/balances/PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw


Those funds are used by us to build the industry.
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.

Xeldal

What happens with the 117,567.513007 BTS from the PTS the donation address held during the snapshot?

http://www1.agsexplorer.com/balances/PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw


betax

[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

boombastic

For AGS donator addresses, initial BTS balance is now integrated in balance page on http://agsexplorer.com .
[url="http://bitshares.dacplay.org/r/boombastic"]http://bitshares.dacplay.org/r/boombastic[/url]
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

betax

Quote from: trader on March 03, 2014, 09:43:22 PM
If anyone doesnt want to use any tools, you can just search for your address manually in
https://raw.github.com/betaxx/BTSXBalance/master/genesis.json

Edit: although it doesn't include AGS from PTS donations.

My AGSs from PTS donation is included in the genesis.json, just make sure to "listaddressgroupings" to get all your addresses, and this is were the tool helps you if you have many addresses just copy and paste the output into the text file. If you have 2/3 addresses yes it is pointless ;)
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

speedy

If anyone doesnt want to use any tools, you can just search for your address manually in
https://raw.github.com/betaxx/BTSXBalance/master/genesis.json

Edit: although it doesn't include AGS from PTS donations.

betax

I have moved the tool to another thread as I am hijacking bytemasters thread (we will have to import our wallets in a similar way hopefully soon :)).
https://bitsharestalk.org/index.php?topic=3371.0
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

betax

Corrected, now there are 3 types of file input.

addressesCommaSeparated.txt (Comma separated)
addressGroupingsBTC.txt (List groupings BTC)
addressGroupingsPTS.txt (List groupings PTS)

Duplicated addresses will be ignored now.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

betax

Oh yes.. I will put a separate txt file for listgroupings for BTC, PTC.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

JA

Quote from: betax on March 03, 2014, 03:28:25 PM
Quote from: jabbajabba on March 03, 2014, 02:52:36 PM
It cant read Bitcoin adresses...at leat the precompiled one

Tested with mine.. check the format

using comma separated format

addressesCommaSeparated.txt

18wh9z4o2NWSVJijiX6CcBLXYhPdahmbKk,12CLxa1B5V3ywxFaP7Qb5GUPF9kB7q48n4

244.178...

using listaddressgroupings

addressGroupings.txt

[
[
[
"12CLxa1B5V3ywxFaP7Qb5GUPF9kB7q48n4",
0.18279316,
"mul2"
],
[
"18wh9z4o2NWSVJijiX6CcBLXYhPdahmbKk",
0.00000000,
"mul1"
]
]
]

244.178...
I tried it now with bitcoin adresses only and it worked
Semms it cant read BTC and PTS together

betax

Note: If you put both at the same time you will get a double amount.. ill put a check for duplicated addresses later on.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

betax

Quote from: jabbajabba on March 03, 2014, 02:52:36 PM
It cant read Bitcoin adresses...at leat the precompiled one

Tested with mine.. check the format

using comma separated format

addressesCommaSeparated.txt

18wh9z4o2NWSVJijiX6CcBLXYhPdahmbKk,12CLxa1B5V3ywxFaP7Qb5GUPF9kB7q48n4

244.178...

using listaddressgroupings

addressGroupingsBTC.txt

[
[
[
"12CLxa1B5V3ywxFaP7Qb5GUPF9kB7q48n4",
0.18279316,
"mul2"
],
[
"18wh9z4o2NWSVJijiX6CcBLXYhPdahmbKk",
0.00000000,
"mul1"
]
]
]

244.178...


[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

JA

It cant read Bitcoin adresses...at leat the precompiled one

betax

Quote
I just wanted to make the exact same vb.net app dang!
But thanks anyway
Maybe you could name it BitBalance

Lest's see how many people use it and we can vote for a better name :)
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

betax

Tested it (https://github.com/betaxx/BTSXBalance) on Linux under mono.  The compilation has been downgraded it to .net 4.0. If you are planning to use the compiled version you will need to install mono-complete if you have any problems.

sudo apt-get install mono-complete


[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

JA

Quote from: betax on March 03, 2014, 11:13:16 AM
I have created a very simple alternative version that  checks your BTSX balance without using any your wallet/s, it just extracts the addresses from the output of "listaddressgroupings" or from a comma separated file and matches them to the genesis.json.

Code and usage can be found here:

https://github.com/betaxx/BTSXBalance

A .net compiled version can be found here: https://www.dropbox.com/s/ahri1d61zd1fc6r/BTSXBalance.zip, this should run in windows and linux / mac using mono

Have fun
I just wanted to make the exact same vb.net app dang!
But thanks anyway
Maybe you could name it BitBalance

betax

I have created a very simple alternative version that  checks your BTSX balance without using any your wallet/s, it just extracts the addresses from the output of "listaddressgroupings" or from a comma separated file and matches them to the genesis.json.

Code and usage can be found here:

https://github.com/betaxx/BTSXBalance

A .net compiled version can be found here: https://www.dropbox.com/s/ahri1d61zd1fc6r/BTSXBalance.zip, this should run in windows and linux / mac using mono

Have fun
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

thisisausername

Quote from: bytemaster on March 02, 2014, 07:39:46 AM
I will offer a nice tip for someone to enhance this utility to support all of the various wallet formats (apis are already done and in the code).

It should include Armory, Multibit, Eletcturm, and Blockchain.info dumps.

See this pull request.  I made some of the changes.  Though, what are blockchain.info dumps?  What function should those call?

Also, Armory support doesn't work since the armory wallet implementation is currently commented out.
Pjo39s6hfpWexsZ6gEBC9iwH9HTAgiEXTG

JA

#30
I thought i have around 30
Is this right ?

PoC3hA1N27beHJKv17g3rLScQig9bhyybo 0
PfxWNKyd3jcqAjjV4Cd5rYEEYrY1phpfmw 0
Ptjdsn3rp78XtBVGvupw61511MMtCE2Jy9 0
PZMHJSUT1oEfsJmzPSfZYpK9j9W3Xcj4bV 1496470265
PmoGfNFphw4WkaytmSvZVCsDFEFCxsyC7X 0
Phxq9BUFapRxwbdgrNcsDrSucFcrypT4Na 0
Pdp4AZRpE1MwKSKweEYZkCyaEtimxhm9xU 0
PYjeEfnx53JDBNoddyQBvSzoWnkPFXgTDh 558536697
PeBxsFDKjEWwmpJHJ3YuPQvJkWVTe8CMed 4527284
PYUb4fjUpCmATRzPQoGSeQ4qBtrqP9W9mx 721876888
PhyBvM7iUECwFTUyKyi4BxrbS3sfVJEj5z 0

1EXNQbCpFxp8ze3hqL7JqTCZFZgfb5z4p 0
1A1qm5WYAoMn31uYEERTeWKL3SPDqurPHy 0
1Lv4y6ScVdqxcgXTAm3AkoFnP3Z6iuz5Xo 0
1AsyBrnXa1mHDbbixb63VbsWXwFQ6kXMcv 0
1B8mqCcMVMFZTNCnmJWxJAQpPhwVB35d13 0
1JskcuvU9788UuMn7wpwXoABkqMiTW9LTo 300528323
1Pu1E2z3y8BK5svKDJRQRNKis4AxRkV3Qi 348247267
1AyoC9n6nwrPLDWc2UPqZQPsArtDTRKqwA 471963233
165UPesUquncH7FsBLs8d544XgpYJF95he 0
1J9bt6eBRmqyTY5c4SAh9KvzhYJyib9RqC 0
1FJabtta5pgkwPBHpfPCKrjuzqk17Gqtp7 680312903
1AiWZADPh8g7LvWPuJQHQ9VmxMcYc9iPqJ 410794137
1Cenk6CTx5hzfwdHtz3qqP75mLcJQXBbZM 0
1AGKtTQa5rghYsEzrJMzacF5eBn435jLj 0
1JsF1wb5zgmdA44y4fBu1ATKQTdBosJCWC 244420503
19T5WidBS9ndhA5UN5XdftidDayR8VebYi 0
1AdrianoR4AgcyD5NtkAEHFn58VPdDkJDs 354021587

=5591699087/100000000 = 55,91699087


+5% + ?.?.? = Profit

pc

Quote from: mmiaow on March 03, 2014, 05:50:51 AM
I looked up my PTS address and found I "have" 2,640,096,539 BTS.
I remember I have only 18 PTS before the snapshot, if the balance is true, then it's ridiculous.

That number is your BTS in satoshis. Divide by 100000000 to receive your number of shares.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 [url="http://bitcoin.quisquis.de"]http://bitcoin.quisquis.de[/url]

mmiaow

Quote from: taoljj on March 03, 2014, 04:32:51 AM
Easy way!Ctrl+C,Ctrl+H,Ctrl+V Done!
http://bbs.btcman.com/thread-16588-1-1.html?_dsign=31c0d243

I looked up my PTS address and found I "have" 2,640,096,539 BTS.
I remember I have only 18 PTS before the snapshot, if the balance is true, then it's ridiculous.

merlin0113


taoljj

BTS      Witness: delegate.taoljj

Ykw

Hi bytemaster,

Do you have the opensource code of this BTS checker.. to get it compiled over linux?

Thanks

davidpbrown

Quote from: alt on March 02, 2014, 02:04:58 PM
Quote from: davidpbrown on March 02, 2014, 10:45:55 AM
So, the file genesis.json appears to contain 57972 addresses and their balance.

Total of those balances appears to be 396666666666666, which I note is not exactly the money supply 400000000000000 with diff being 3333333333334. It would be useful to know what that difference is.
Maybe 10000 ags for the funder ID.

From pc's link to Genesis creators this amount seems to fit with this suggestion of default action in the preferred option: "If you want, you can provide a Keyhotee file to be included in the AGS calculations. If you don't provide a file, Keyhotee holders will be awarded 10000 AGS to the single address FOUNDERS."

So, it seems that PTS and AGS are all included in the genesis.json as expected and all is well. I don't know anything of what Keyhotee holders will have been expecting but expect that's as is should be too.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

theoretical

Quote from: bytemaster on March 02, 2014, 05:28:30 PM
Genesis.json was created by one of the open source services.

Does anybody have a link to these "open source services" which create genesis.json?

Quote from: bytemaster on March 02, 2014, 05:28:30 PM
And anyone can recreate it.

Yes, if we know what parameters were used, e.g. what block the snapshot is based on.  Does anyone have that information?
BTS- theoretical / PTS- PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z / BTC- 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY / the delegate formerly known as drltc / Nothing said on these forums is intended to be legally binding / All opinions are my own unless otherwise noted / Take action due to my posts at your own risk

davidpbrown

#22
Quote from: blackbeard on March 02, 2014, 08:28:56 PM
What does the number in the JSON file map to? My numbers seem really high, unless I'm doing better than I think I am. I doubt I have 937615320 bts from one key

That appears to be the integer of 'satoshi's, or whatever the name of the smallest fraction of BTS is.
So, divide by 100000000 and that is likely the order of magnitude you might have been expecting.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

joaoha

Hi,
Can anyone explain?
This is my output,

Loaded 107 keys... searching for balances
balance: 128.832

Does it mean I own 128.832 BTS?

Can I move my PTS out of the wallet now that the snapshot was taken?

Great work and thanks for the update.
Cheers

blackbeard

What does the number in the JSON file map to? My numbers seem really high, unless I'm doing better than I think I am. I doubt I have 937615320 bts from one key

Pixar

Quote from: HackFisher on March 02, 2014, 08:45:57 AM
sorry, I tried signature validation, but it failed, why?

QuoteTo validate the signature, open BitShares-PTS wallet, go to the File Menu, then to Verify Message.
Then enter the PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw, the sha256 hash, and the Signature above.

I'm having this issue too.  Can someone explain?  Where do you run the command shasum -a 256 get_bts_bal.tar.gz

bytemaster

Genesis.json was created by one of the open source services.  And anyone can recreate it.


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.

bytemaster

It is missing the founders ags right now.   This includes ags and pts.

Source code is in bts_wallet directory   


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.

vikram

What about BTS derived from AGS given to Keyhotee founders?

unimercio

Nice addition, thanks...

Just one question, I manually found my PTS address and it's BTS balance.. But, where/how/when can I found my BTS balance from my AGS donations. I understood it would map my BTC address to a BTS or PTS address on the new chain?
Conscious Entrepreneurship Foundation (CEF)

davidpbrown

Quote from: kmtan on March 02, 2014, 02:13:42 PM
not really understand how to check the balance...

In the absence of a better option and being on Linux, I just did a simple translate to make it readable.
So, in a terminal navigate to the get_bts_bal/ directory. Do something like
tr '[' '\n' < ./genesis.json > read.txt
and that'll make the detail easy to read and search with a text editor. With a bit more of the same you can dump into a spreadsheet.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

kmtan


alt

Quote from: davidpbrown on March 02, 2014, 10:45:55 AM
So, the file genesis.json appears to contain 57972 addresses and their balance.

Total of those balances appears to be 396666666666666, which I note is not exactly the money supply 400000000000000 with diff being 3333333333334. It would be useful to know what that difference is.
Maybe 10000 ags for the funder ID.

mauritso

Quote from: bytemaster on March 02, 2014, 07:39:46 AM
I will offer a nice tip for someone to enhance this utility to support all of the various wallet formats (apis are already done and in the code).

It should include Armory, Multibit, Eletcturm, and Blockchain.info dumps.

Can we get the source for that or am I missing something?
BTS: maurits

CLains

The ags-tracking websites could integrate this feature.
Vote for BitSpace EOS Block Producer!

[url="https://steemit.com/eos/@bitspace/bitspace-eos-block-producer-candidate"]https://steemit.com/eos/@bitspace/bitspace-eos-block-producer-candidate[/url]

jwiz168

can I get my bts amount from a multibit wallet(btc) which is not in wallet.dat format?

davidpbrown

So, the file genesis.json appears to contain 57972 addresses and their balance.

Total of those balances appears to be 396666666666666, which I note is not exactly the money supply 400000000000000 with diff being 3333333333334. It would be useful to know what that difference is.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

speedy

Are you going to be extending this genesis.json file to include AGS holders?

theoretical


I'm not on a Mac, but the archive contains a file called genesis.json which contains all addresses and balances in a simple format.  You can easily check your balance "manually" by reading this file.  You may have balances at automatically generated change addresses, as well as the addresses listed in your "Receive" window, so you may need to use the listaccounts and getaddressesbyaccount commands to figure out all of your addresses.

Is there any chance we can see the code which was used to create genesis.json?  The initial balances should be publicly verifiable, i.e. derived from the blockchain with open-source code.
BTS- theoretical / PTS- PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z / BTC- 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY / the delegate formerly known as drltc / Nothing said on these forums is intended to be legally binding / All opinions are my own unless otherwise noted / Take action due to my posts at your own risk

cgafeng

how many bts per ags
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

HackFisher

#4
sorry, I tried signature validation, but it failed, why?

QuoteTo validate the signature, open BitShares-PTS wallet, go to the File Menu, then to Verify Message.
Then enter the PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw, the sha256 hash, and the Signature above.
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.

joaoha

Hi, This is my output,

Loaded 107 keys... searching for balances
balance: 128.832

Does it mean I own 128 BTS?

Can I move my PTS out of the wallet now that the snapshot was taken?

Great work and thanks for the update.
Cheers

bytemaster

I will offer a nice tip for someone to enhance this utility to support all of the various wallet formats (apis are already done and in the code).

It should include Armory, Multibit, Eletcturm, and Blockchain.info dumps. 
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.

bytemaster

#1
I have created a helper utility that will allow anyone with a PTS or Bitcoin-Qt wallet to see what their BTS balance is from the Feb 28th snapshot.

Mac OS X Binary:
http://the-iland.net/static/downloads/get_bts_bal.tar.gz     
sha256:    6efe7a84363ae012b4743cf6ce7ff0db18300ff99bf217bb95077c059a82ad97
Signed:     PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw
Signature: G4ZFb2RHKRxwgvipFiLXLw17KZV6Xw8H99UkTylCCtSLXqFP4AM2G6b9FyTBi08wpVCqYVKstkTnHxrZjrouSoI=

To validate the signature of your download perform the following command:
shasum -a 256 get_bts_bal.tar.gz

To validate the signature, open BitShares-PTS wallet, go to the File Menu, then to Verify Message.
Then enter the PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw, the sha256 hash, and the Signature above.

Inside the archive you will find genesis.json and an executable called get_bts_balance

1) Close all Bitcoin-Qt and PTS wallets.
2) Backup all of your wallets before attempting to run this command.
3) Only use trusted executables signed by the PTS Angel Address as this will unlock the private keys in your wallets.

Run one or more commands like so:


./get_bts_balance ~/Library/Application\ Support/Bitcoin/wallet.dat
or
./get_bts_balance ~/Library/Application\ Support/BitShares-PTS/wallet.dat
or
./get_bts_balance ~/.protoshares/wallet.dat


The executable is only built for OS X right now, but we will provide versions for other platforms in time.
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.