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: Get your BTS XT Balance Here from the Feb 28th snapshot  (Read 5441 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Get your BTS XT Balance Here from the Feb 28th snapshot
« on: March 02, 2014, 07:30:30 AM »

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:
Code: [Select]
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:

Code: [Select]
./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.
« Last Edit: March 02, 2014, 07:35:00 AM 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 bytemaster

Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #1 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. 
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 joaoha

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #2 on: March 02, 2014, 08:29:52 AM »
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

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #3 on: March 02, 2014, 08:45:57 AM »
sorry, I tried signature validation, but it failed, why?

Quote
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.
« Last Edit: March 02, 2014, 08:53:22 AM by HackFisher »
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 cgafeng

Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #4 on: March 02, 2014, 09:42:07 AM »
how many bts per ags
« Last Edit: March 02, 2014, 09:47:52 AM by cgafeng »
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline theoretical

Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #5 on: March 02, 2014, 10:12:02 AM »

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

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BTS: speedy
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #6 on: March 02, 2014, 10:35:35 AM »
Are you going to be extending this genesis.json file to include AGS holders?

Offline davidpbrown

Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #7 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.
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline jwiz168

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #8 on: March 02, 2014, 11:21:45 AM »
can I get my bts amount from a multibit wallet(btc) which is not in wallet.dat format?

Offline CLains

  • Hero Member
  • *****
  • Posts: 2610
    • View Profile
  • BTS: clains
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #9 on: March 02, 2014, 12:04:10 PM »
The ags-tracking websites could integrate this feature.
Vote for BTS-2 witness: spectral (1.6.30)

Follow https://steemit.com/@clains

Offline mauritso

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #10 on: March 02, 2014, 12:07:24 PM »
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

Offline alt

Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #11 on: March 02, 2014, 02:04:58 PM »
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.

Offline kmtan

  • Full Member
  • ***
  • Posts: 55
    • View Profile
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #12 on: March 02, 2014, 02:13:42 PM »
not really understand how to check the balance...

Offline davidpbrown

Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #13 on: March 02, 2014, 04:12:12 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

Offline unimercio

  • Sr. Member
  • ****
  • Posts: 245
  • The opportunity of a lifetime comes by every 7 day
    • View Profile
    • Conscious Entrepreneurship Foundation (CEF)
  • BTS: unimercio
Re: Get your BTS XT Balance Here from the Feb 28th snapshot
« Reply #14 on: March 02, 2014, 04:28:01 PM »
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)

 

Google+