BitShares Forum

Main => General Discussion => Topic started by: BossYamasaki on October 13, 2015, 10:18:48 pm

Title: Migrating to BTS 2.0 is confusing
Post by: BossYamasaki on October 13, 2015, 10:18:48 pm
Is migrating to BTS 2.0 as simple as exporting your BTS 1.0 backup and importing it to BTS 2.0 or no? I've read some of the threads on how to migrate to BTS 2.0, but it's confusing as hell to me.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: URSAY on October 13, 2015, 10:23:04 pm
Agreed.  I'm currently running a 9.0.2 client and it's fully sync'ed.  I've got 9.0.3c and Bitshares 2 ready to install.  Do I need to install 9.0.3c, export the keys from that newer wallet version, then import those keys into Bitshares 2?
Title: Re: Migrating to BTS 2.0 is confusing
Post by: jakub on October 13, 2015, 10:24:57 pm
It shouldn't be difficult if you stick to his guide:
http://docs.bitshares.eu/migration/index.html

The only tricky part might be getting your BTS 0.9.3c wallet synced.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: jakub on October 13, 2015, 10:29:23 pm
Do I need to install 0.9.3c, export the keys from that newer wallet version, then import those keys into Bitshares 2?
Yes. But if you are on Windows you need to do the export using the console, not the menu.

For more details please refer to this guide:
http://docs.bitshares.eu/migration/index.html
Title: Re: Migrating to BTS 2.0 is confusing
Post by: BossYamasaki on October 13, 2015, 10:30:34 pm
It shouldn't be difficult if you stick to his guide:
http://docs.bitshares.eu/migration/index.html

The only tricky part might be getting your BTS 0.9.3c wallet synced.

So exporting my wallet by accessing it in the main menu is all I need to do? I'm currently running 0.9.3c on my macbook
Title: Re: Migrating to BTS 2.0 is confusing
Post by: jakub on October 13, 2015, 10:32:34 pm
It shouldn't be difficult if you stick to his guide:
http://docs.bitshares.eu/migration/index.html

The only tricky part might be getting your BTS 0.9.3c wallet synced.

So exporting my wallet by accessing it in the main menu is all I need to do? I'm currently running 0.9.3c on my macbook
Yes
Title: Re: Migrating to BTS 2.0 is confusing
Post by: werneo on October 13, 2015, 11:07:27 pm
I am on wallet version 0.9.3

On 10/1 I exported my wallet backup and my wallet keys.

Is this enough to restore my wallet in Graphene? Do I need more recent keys and backup?

I am opening my 0.9.3 wallet right now, but it will take a while for the old blockchain to catch up to the current date.


Title: Re: Migrating to BTS 2.0 is confusing
Post by: puppies on October 13, 2015, 11:27:49 pm
I am on wallet version 0.9.3

On 10/1 I exported my wallet backup and my wallet keys.

Is this enough to restore my wallet in Graphene? Do I need more recent keys and backup?

I am opening my 0.9.3 wallet right now, but it will take a while for the old blockchain to catch up to the current date.

As long as you didn't move any balances (any transactions) your old backup should be complete.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: werneo on October 13, 2015, 11:50:30 pm
I managed to import my wallet into version 2.0  here: https://bitshares.openledger.info/#/account/werneo/overview

... unfortunately the balances page is blank.  During the import process, graphene confirmed my account name, and the amount of bts, brownie pts, etc., that was in my 0.9.3 wallet. But now that I finished the process and looked around the wallet, I don't see an inventory of my bts anywhere.

Also, at this moment I am still logged into my graphene wallet through my google chrome browser. I wanted to see what would happen if I tried to login from a different browser, but when I visited https://bitshares.openledger.info in firefox, there was no visible way to log into the wallet.

Should I be concerned?
Title: Migrating to BTS 2.0 is confusing
Post by: phillyguy on October 14, 2015, 12:01:02 am
^^Go to the Dashboard screen > Click Settings > Click Wallets > Click "Claim Balances" > You should be able to claim your balances from 0.9.3 into the web wallet.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: Akado on October 14, 2015, 12:09:27 am
It's easier to do a sticky thread about this in the general section and send everyone there for questions/answers instead of happing 1000 threads popping up about this, otherwise it will be a mess. Work mods, work  :P

@cass @fav
Title: Re: Migrating to BTS 2.0 is confusing
Post by: werneo on October 14, 2015, 12:14:22 am
^^Go to the Dashboard screen > Click Settings > Click Wallet > Click "Claim Balances" > You should be able to claim your balances from 0.9.3 into the web wallet.

 +5% muchos gracias, pilgrim  :D

Now I am officially on version 2.0

Let the ride begin.  8)
Title: Re: Migrating to BTS 2.0 is confusing
Post by: phillyguy on October 14, 2015, 12:51:38 am
Awesome!
Title: Re: Migrating to BTS 2.0 is confusing
Post by: topcandle on October 14, 2015, 01:11:22 am
I'm missing 1 of my usernames.  Anyone have any ideas of how to get that back?  I didn't register it.  Where get I buy a namespace?
Title: Re: Migrating to BTS 2.0 is confusing
Post by: BossYamasaki on October 14, 2015, 01:40:14 am
I'm running Bitshares 2.0!! It was easy as pie migrating to 2.0 thanks for the help guys.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: URSAY on October 14, 2015, 01:40:47 am
Bitshares 2 not working for me...   :'(

https://bitsharestalk.org/index.php/topic,18970.0.html
Title: Re: Migrating to BTS 2.0 is confusing
Post by: Tuck Fheman on October 14, 2015, 01:58:21 am
It just worked for a whale! I watched that huge balance coming in while drooling.  :P
Title: Re: Migrating to BTS 2.0 is confusing
Post by: gn1 on October 14, 2015, 02:28:57 am
I have a question.
On https://github.com/bitshares/bitshares-2/releases/tag/v2.15.286 , bytemaster put two links to the hosted wallets.

https://bitshares.org/wallet
https://bitshares.openledger.info/

Are these two "totally different" wallets, or are these two wallets connected and interchangeable?
Title: Re: Migrating to BTS 2.0 is confusing
Post by: phillyguy on October 14, 2015, 02:47:46 am
I'm missing 1 of my usernames.  Anyone have any ideas of how to get that back?  I didn't register it.  Where get I buy a namespace?

good question about 0.9.X accounts not registered on the blockchain. I don't think they made it into the genesis block, but someone keep me honest.

I had an unregistered account and it didn't show up either. I didn't have any assets in it though.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: xeroc on October 14, 2015, 03:18:45 am
I'm missing 1 of my usernames.  Anyone have any ideas of how to get that back?  I didn't register it.  Where get I buy a namespace?

good question about 0.9.X accounts not registered on the blockchain. I don't think they made it into the genesis block, but someone keep me honest.

I had an unregistered account and it didn't show up either. I didn't have any assets in it though.
not registered accounts can TECHNICALLY not be available in BTS2 .. how would the snapshot know about your account if you haven't registered it?

anyway .. if you see funds in an ungregistered account you should cetainly be able to import those funds into the BTS2 wallet too .. there may be a bug preventing that (not sure how the balance claim procedure is actually implemented) @jcalfee1

btw .. as mentioned several times .. bitshares 2.0 does not know the concept of unregistered accounts anylonger .. your are REQURIED to register an account!!
Title: Re: Migrating to BTS 2.0 is confusing
Post by: Tuck Fheman on October 14, 2015, 04:51:34 am
ya once I had it explained repeatedly ... it was easy. ;)
Title: Re: Migrating to BTS 2.0 is confusing
Post by: liondani on October 14, 2015, 07:01:15 am
What will happen if I press the blue button "reset" prior the "import"  ?

(https://2.bp.blogspot.com/-e8M-KCfiBf0/Vh39LkQganI/AAAAAAAADgE/gzyPWfXBMQU/s1600/reset_keys.png)
Title: Re: Migrating to BTS 2.0 is confusing
Post by: liondani on October 14, 2015, 07:08:42 am
What will happen if I press the blue button "reset" prior the "import"  ?

(https://2.bp.blogspot.com/-e8M-KCfiBf0/Vh39LkQganI/AAAAAAAADgE/gzyPWfXBMQU/s1600/reset_keys.png)

It goes to the page that asks about the import file from start....  :)
I wanted to point out that it is scary to see a"reset" button right to the  keys summary!   :P
Title: Re: Migrating to BTS 2.0 is confusing
Post by: svk on October 14, 2015, 07:22:34 am
I managed to import my wallet into version 2.0  here: https://bitshares.openledger.info/#/account/werneo/overview

... unfortunately the balances page is blank.  During the import process, graphene confirmed my account name, and the amount of bts, brownie pts, etc., that was in my 0.9.3 wallet. But now that I finished the process and looked around the wallet, I don't see an inventory of my bts anywhere.

Also, at this moment I am still logged into my graphene wallet through my google chrome browser. I wanted to see what would happen if I tried to login from a different browser, but when I visited https://bitshares.openledger.info in firefox, there was no visible way to log into the wallet.

Should I be concerned?
Wallets are unique to each browser, they're stored using the IndexedDB functionality of the browser. You can of course export from browser to browser using a backup.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 07:33:11 am
I have a bunch of different wallets. I would prefer to consolidate the accounts and assets into a single wallet - but what would be the best way to do this? Munge together the exported json files into one export json? Or just export/import each one separately into 2.0? I'm fairly handy with the cli, but haven't compiled 2.0 yet.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: mindphlux on October 14, 2015, 07:36:44 am
You can import multiple BTS1 backup files into one single wallet, so that is no problem.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 07:48:35 am
You can import multiple BTS1 backup files into one single wallet, so that is no problem.

Great thanks mindphlux.

Trying to compile 9.3.c

Quote
git co 'bts/0.9.3c'
git submodule init
git submodule update
cmake -DCMAKE_BUILD_TYPE=Release . 2>&1 | less

...
--   coroutine
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
CMake Error at libraries/fc/CMakeLists.txt:210 (add_subdirectory):
  The source directory

    /home/xxx/bitshares/libraries/fc/vendor/websocketpp

  does not contain a CMakeLists.txt file.

Any ideas?


Title: Re: Migrating to BTS 2.0 is confusing
Post by: puppies on October 14, 2015, 07:53:09 am
Any ideas?
try
Code: [Select]
git submodule update --init --recursive
Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 08:00:03 am
try
Code: [Select]
git submodule update --init --recursive

Perfect. Thanks Puppies.
Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 12:57:27 pm
I've got bitshares-2 compiled successfully without qt deps.

What do I need to do know to start a cli console? And to synchronize the chain and import json files?

I tried to run the witness node, but I'm getting what looks like a locale error?

Quote

root@bitshares-2:~/bitshares-2# programs/witness_node/witness_node
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)
 

Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 08:50:12 pm
What is the process I need to run to get a node running and synchronized with the chain?

I don't see this information anywhere in the documentation.

Is it the cli_wallet? Or is that just a http/rpc client.

I'm running a headless ubuntu 14.04
Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 09:02:54 pm
Ok, so i have the witness node running setting the endpoint.

./witness_node/witness_node  --rpc-endpoint 127.0.0.1:8090

and then run the cli_wallet

and it gives me a console.

I assume that's correct
Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 10:52:29 pm
Imported json successfully with import_accounts.

And it's possible to list accounts.

But there are no balances.

Do I need to run,

import_balance <accountname> [<balance wif key>] true

This needs a wif key, which only makes sense if I imported using import_key according to the wiki ?

Do I need to do something else?

Title: Re: Migrating to BTS 2.0 is confusing
Post by: julian1 on October 14, 2015, 11:09:14 pm
Using unlocked >>> import_balance  account [owner-priv-key]  true

reports that it succeeded.

But still no balances!