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: Does DevShares wallet_import_private_key work?  (Read 719 times)

0 Members and 1 Guest are viewing this topic.

Offline wackou

Does DevShares wallet_import_private_key work?
« on: January 08, 2015, 02:13:31 PM »

I tried importing my BTS private keys, however out of the 3 I tried, only 1 gave me some DVS (and less than expected)...

Is there a way to check allocation or the genesis block for which addresses should have some funds?

I also tried to importing some PTS keys (that donated to AGS), which did not fail, and no funds there either... Maybe I'm doing something wrong?
Please vote for witness wackou! More info at http://digitalgaia.io

Offline wackou

Re: Does DevShares wallet_import_private_key work?
« Reply #1 on: January 08, 2015, 02:20:19 PM »
Note: I did call wallet_rescan_blockchain, just to be clear...
Please vote for witness wackou! More info at http://digitalgaia.io

Offline wackou

Re: Does DevShares wallet_import_private_key work?
« Reply #2 on: January 08, 2015, 02:22:07 PM »
I also successfully imported my keyhotee ID (wackou), and nothing there either...
Please vote for witness wackou! More info at http://digitalgaia.io

Offline cgafeng

Re: Does DevShares wallet_import_private_key work?
« Reply #3 on: January 08, 2015, 02:33:27 PM »
The next release should have a "wallet_import_keys_from_json" command that can be used.

just wait for this version, it's hard to import wallet now.
PTS and AGS no longer have devshare, have a view for this
http://bytemaster.bitshares.org/update/2015/01/08/DevShares-Reloaded/
« Last Edit: January 08, 2015, 02:35:39 PM by cgafeng »
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline wackou

Re: Does DevShares wallet_import_private_key work?
« Reply #4 on: January 08, 2015, 02:45:17 PM »
Thanks, missed that post, had still an 80/10/10 distribution in mind, hence the reason I was expecting some to be there. To be fair, there are some PTS addresses in genesis.json, not sure what purpose they serve:

https://raw.githubusercontent.com/BitShares/bitshares/dvs/0.4.28/libraries/blockchain/genesis_bts.json
https://raw.githubusercontent.com/BitShares/bitshares/dvs/0.4.28/libraries/blockchain/genesis_dvs.json

(look for addresses that start with 'P')

I guess I'll have to wait, then, however it still felt weird that the private key import seemed to work correctly but that there was no balance associated with them...
Please vote for witness wackou! More info at http://digitalgaia.io

Offline wackou

Re: Does DevShares wallet_import_private_key work?
« Reply #5 on: January 08, 2015, 03:05:42 PM »
Thinking about it, it does bother me that one key I imported gave me a (smaller than expected) balance (the one from my delegate wackou-delegate), while the other 2 keys did not (and all 3 keys were created roughly at the same time, and had a non-zero balance since pretty much the beginning). Do you happen to know the exact date of the bts snapshot used for devshares?

I guess I'll wait, but that's a pity, as I was hoping to get a delegate voted in as it's quite easy right now given that the init delegates have a very low number of votes  :'(
Please vote for witness wackou! More info at http://digitalgaia.io

Online lafona

Re: Does DevShares wallet_import_private_key work?
« Reply #6 on: January 08, 2015, 03:23:35 PM »
Thanks, missed that post, had still an 80/10/10 distribution in mind, hence the reason I was expecting some to be there. To be fair, there are some PTS addresses in genesis.json, not sure what purpose they serve:

https://raw.githubusercontent.com/BitShares/bitshares/dvs/0.4.28/libraries/blockchain/genesis_bts.json
https://raw.githubusercontent.com/BitShares/bitshares/dvs/0.4.28/libraries/blockchain/genesis_dvs.json

(look for addresses that start with 'P')

I guess I'll have to wait, then, however it still felt weird that the private key import seemed to work correctly but that there was no balance associated with them...

Maybe those PTS addresses are the BTS that got sharedropped to PTS during the merger. I would assume those BTS would also be included in Devs and since they haven't been claimed, one would need to claim the associated Devs with a PTS key. Just a theory.
BTS Witnesses: delegate-1.lafona     Thread: https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911
MUSE Witness: delegate-1.lafona
Witness information: https://github.com/lafona/delegate-1.lafona

Offline wackou

Re: Does DevShares wallet_import_private_key work?
« Reply #7 on: January 08, 2015, 03:32:24 PM »
Maybe those PTS addresses are the BTS that got sharedropped to PTS during the merger.

Yes, could be. Or they could be PTS addresses from the Feb. 28th snapshot for BTS too. I keep thinking I should have some BTS associated to my PTS addresses, but I remember now that I donated them after the snapshot  :-[  I guess wishing really hard for something to be true does not make it true  :'(  :)
Please vote for witness wackou! More info at http://digitalgaia.io

Offline cgafeng

Re: Does DevShares wallet_import_private_key work?
« Reply #8 on: January 08, 2015, 04:02:15 PM »
There have a way to import private key, but it's stupid.

wallet_account_list_public_keys account_name from bts client, and it list all the address on you account.
take each native_address and check on https://raw.githubusercontent.com/BitShares/bitshares/dvs/0.4.28/libraries/blockchain/genesis_dvs.json.

If any address have balance then dump private key from bts client and import to dev client.
wallet_dump_private_key native_address

Any better way?
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline vikram

Re: Does DevShares wallet_import_private_key work?
« Reply #9 on: January 08, 2015, 05:06:27 PM »
Maybe those PTS addresses are the BTS that got sharedropped to PTS during the merger.

Yes, could be. Or they could be PTS addresses from the Feb. 28th snapshot for BTS too. I keep thinking I should have some BTS associated to my PTS addresses, but I remember now that I donated them after the snapshot  :-[  I guess wishing really hard for something to be true does not make it true  :'(  :)

Yes those PTS addresses in the initial_balances section are from BTS genesis that haven't been claimed yet. The ones in vesting_balances section are from VOTE/DNS sharedrop.


Are you sure the private key you are importing is correct account key to access TITAN deposits, or actually controls a single balance with expected funds?

In any case, next release will have wallet_import_keys_from_json command so you can import all keys from your BTS wallet.

Offline toast

Re: Does DevShares wallet_import_private_key work?
« Reply #10 on: January 08, 2015, 11:28:57 PM »
There have a way to import private key, but it's stupid.

wallet_account_list_public_keys account_name from bts client, and it list all the address on you account.
take each native_address and check on https://raw.githubusercontent.com/BitShares/bitshares/dvs/0.4.28/libraries/blockchain/genesis_dvs.json.

If any address have balance then dump private key from bts client and import to dev client.
wallet_dump_private_key native_address

Any better way?

wallet_import_keys_from_json  for the normal backup / export wallet
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.

Offline wackou

Re: Does DevShares wallet_import_private_key work?
« Reply #11 on: January 09, 2015, 12:36:16 AM »
Are you sure the private key you are importing is correct account key to access TITAN deposits, or actually controls a single balance with expected funds?

I did export the keys from the bts wallet using "wallet_dump_private_key account_name" where account_name is a TITAN account. I did then import them, called also wallet_regenerate_keys, but to no avail... By looking at the keys using "wallet_account_list_public_keys" as suggested by cgafeng, they do appear though in the genesis file and by importing those one by one my balance does appear. So I'll just wait for the "wallet_import_keys_from_json" command, then. (just to make sure, it's not in 0.5.0, right?)
Please vote for witness wackou! More info at http://digitalgaia.io

Offline jwiz168

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
Re: Does DevShares wallet_import_private_key work?
« Reply #12 on: January 09, 2015, 12:44:58 AM »
I have used the menu for importing my BTS key (json file) to Devshares and it was successful.

Offline wackou

Re: Does DevShares wallet_import_private_key work?
« Reply #13 on: January 09, 2015, 09:12:26 AM »
ok, so I did "wallet_import_keys_from_json" in 0.5.0, and it looks like it imported everything. Thanks all for the help/comments, you guys rock +5%
Please vote for witness wackou! More info at http://digitalgaia.io

Offline cryptosile

  • Full Member
  • ***
  • Posts: 55
    • View Profile
Re: Does DevShares wallet_import_private_key work?
« Reply #14 on: January 13, 2015, 07:54:55 PM »
I'm also having some trouble.

I was able to import my BTS using the import_from_json
However, I also had some BTS via the november sharedrop,

in genesis_dvs.json I have
Initial_balances:
    2x BTS addresses (imported fine via import_from_json)
ShareDrop:
    1 PTS address 3 times,
    The same PTS address was used for an AGS contribution as well as holding some PTS
    (I was able to import some via the import_private_key, but I can't match up the DVS amount int he client to any of the amounts listed in genesis_dvs.json
    1 BTC address which was used for AGS donation.  I can't get this one to import.
   
i

 I've tried it several times on different accounts.  I've tried the collect_vested and collect_genesis etc

Is there a way to query a PTS or BTC address to see if it's been claimed or not?  I have no idea what's been imported successfully  from the sharedrop....   

 

Google+