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: Help importing electrum wallet to KEY ID **RESOLVED**  (Read 713 times)

Offline feedthemcake

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Help importing electrum wallet to KEY ID **RESOLVED**
« on: October 03, 2014, 05:42:30 PM »

Having trouble with importing the wallet with this command line in windows 7:

wallet_import_electrum Users/XXXXX/AppData/Roaming/Electrum/wallets/XXXXXXX.dat "password" username

is my formatting incorrect?

Getting this message...


4 parse_error_exception: Parse Error
failed to parse electrum wallet
    {}
    bitshares  electrum.cpp:233 bts::bitcoin::electrumwallet::electrumwallet

    {}
    bitshares  electrum.cpp:273 bts::bitcoin::import_electrum_wallet
error importing bitcoin wallet Users/XXXXX/AppData/Roaming/Electrum/wallets/XXXXXXX.dat
    {"wallet_dat":"Users/XXXXXX/AppData/Roaming/Electrum/wallets/XXXXXXXX.dat","account_name":"username"}
    bitshares  wallet.cpp:5560 bts::wallet::wallet::import_electrum_wallet

    {}
    bitshares  common_api_client.cpp:755 bts::rpc_stubs::common_api_client::wallet_import_electrum

    {"command":"wallet_import_electrum"}
    bitshares  cli.cpp:556 bts::cli::detail::cli_impl::execute_command
« Last Edit: October 07, 2014, 11:51:31 PM by feedthemcake »

Offline feedthemcake

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: Help importing electrum wallet to KEY ID
« Reply #1 on: October 05, 2014, 11:11:49 PM »
bumpity bump bump??? Anyone do this yet?

Offline Gentso1

Re: Help importing electrum wallet to KEY ID
« Reply #2 on: October 06, 2014, 02:14:36 PM »
I also used electrum for my ags donation.

I exported my private keys and opened gui selected electrum and put the path of the private key from my ags donation in and I get
 "Parse Error (4) failed to parse electrum wallet error importing bitcoin wallet G:/ELECTR~1.CSV"

I am trying to do it from the console like you have tried but I also have a questions about the format.

One thing for you. You have to open you electrum wallet and export your private keys it should export to a .cvs file type. You then point the client to the .cvs file type. That much I know for sure.
I still don't understand the format of how it should be typed into the client though.


Offline feedthemcake

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: Help importing electrum wallet to KEY ID
« Reply #3 on: October 06, 2014, 02:37:01 PM »
I also used electrum for my ags donation.

I exported my private keys and opened gui selected electrum and put the path of the private key from my ags donation in and I get
 "Parse Error (4) failed to parse electrum wallet error importing bitcoin wallet G:/ELECTR~1.CSV"

I am trying to do it from the console like you have tried but I also have a questions about the format.

One thing for you. You have to open you electrum wallet and export your private keys it should export to a .cvs file type. You then point the client to the .cvs file type. That much I know for sure.
I still don't understand the format of how it should be typed into the client though.

Thanks Gentso. I have the parse issue as well. Have tried many different things but still nothing. Hopefully someone can help us out.

Offline Gentso1

Re: Help importing electrum wallet to KEY ID
« Reply #4 on: October 06, 2014, 07:35:04 PM »
Did you try exporting your key to a text file, should be called a csv file?

once you have the csv file it should just be a matter of formatting for the wallet command.

Here is the command and format I am trying

wallet_import_electrum G:/electrum-private-keys.csv "password" "account name in keyid"
« Last Edit: October 06, 2014, 07:51:23 PM by Gentso1 »

Offline feedthemcake

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: Help importing electrum wallet to KEY ID
« Reply #5 on: October 06, 2014, 07:58:40 PM »
Did you try exporting your key to a text file, should be called a csv file?

once you have the csv file it should just be a matter of formatting for the wallet command.

Here is the command and format I am trying

wallet_import_electrum G:/electrum-private-keys.csv "password" "account name in keyid"

Yep,

I tried every type of variation of the command I think. From including quotations around password to not including them, to no quotations, to quotations only around the password, only around the account name etc etc etc. Still getting the 4 parse issue. I know I'm doing something wrong.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Help importing electrum wallet to KEY ID
« Reply #6 on: October 06, 2014, 08:07:48 PM »
I am shocked that we didn't implement the "sign message with my private key". Toast can you chime in if/when that would be available?

Offline Gentso1

Re: Help importing electrum wallet to KEY ID
« Reply #7 on: October 07, 2014, 09:33:05 PM »
hopefully when the guys get back from the conference we can get some help, right now is a busy time for them

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Help importing electrum wallet to KEY ID
« Reply #8 on: October 07, 2014, 09:42:32 PM »
I am shocked that we didn't implement the "sign message with my private key". Toast can you chime in if/when that would be available?
Code: [Select]
(wallet closed) >>> help wallet_sign_hash
Usage:
wallet_sign_hash <signing_account> <hash>                                                             Signs the provided message digest with the account key
Signs the provided message digest with the account key

Parameters:
  signing_account (string, required): Name of the account to sign the message with
  hash (sha256, required): SHA256 digest of the message to sign

Returns:
  compact_signature

All you need to do is put the HASH of you message there .. done
check signature with blockchain_verify_signature

nice example given by drltc:
https://bitsharestalk.org/index.php?topic=9444.msg122682#msg122682
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline Gentso1

Re: Help importing electrum wallet to KEY ID **unresolved**
« Reply #9 on: October 07, 2014, 11:22:39 PM »
I was able to get the format with the help of davidpbrown

Here is the process.

1. open electrum select wallet, then private keys  followed by export
2. open the file you just created and locate your donation address beside your address you have your private key. Select it and copy it
3. open key id and select console
4. the format is wallet_import_private_key "private key copied here with no qoutes" "key id account name with no qoutes"
5. hit enter and enjoy you DNS

Offline feedthemcake

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: Help importing electrum wallet to KEY ID **unresolved**
« Reply #10 on: October 07, 2014, 11:51:53 PM »
I was able to get the format with the help of davidpbrown

Here is the process.

1. open electrum select wallet, then private keys  followed by export
2. open the file you just created and locate your donation address beside your address you have your private key. Select it and copy it
3. open key id and select console
4. the format is wallet_import_private_key "private key copied here with no qoutes" "key id account name with no qoutes"
5. hit enter and enjoy you DNS

Excellent! This worked! Thank you!

Offline Gentso1

Re: Help importing electrum wallet to KEY ID **unresolved**
« Reply #11 on: October 08, 2014, 12:18:57 AM »
I was able to get the format with the help of davidpbrown

Here is the process.

1. open electrum select wallet, then private keys  followed by export
2. open the file you just created and locate your donation address beside your address you have your private key. Select it and copy it
3. open key id and select console
4. the format is wallet_import_private_key "private key copied here with no qoutes" "key id account name with no qoutes"
5. hit enter and enjoy you DNS

Excellent! This worked! Thank you!
no problem any credit should go to davidpbrown  he was the one that helped me through pm that allowed me to post the simple instructions to help other's.

 

Google+