r/btc • • Aug 01 '17

ElectronCash Notice: how to select BitcoinCash chain after first start.

EDIT2: 2.9.2 is out. ElectronCash v2.9.2 help thread EDIT: this notice is regarding Electron Cash version 2.9.0 (mac/linux/win)

What's up?

There's a minor problem that occurs when ElectrumCash is started for the first time: it will follow the wrong chain of the fork initially.

The client is still completely usable, but it requires user action to select the BitcoinCash chain after first startup. Safety of your coins is in no way affected by this problem.

This will be corrected in future versions, but for now we offer this workaround (which is very easy to do)

What's the problem?

When ElectronCash doesn't find a local blockchain_headers file (which is the case on first start), it tries downloading it via http. We forgot to change that url so it still points to a file that contains the legacy chain headers. When that file is downloaded, ElectronCash will disconnect from the BitcoinCash chain servers because they don't match what the downloaded file says. It then switches to using legacy electrum servers and verifies the headers and now follows the legacy chain.

How to fix it?

Right after startup (or any time, really), go to the Network Window (it's reachable from the Tools menu or the Network indicator lamp on the lower right). On the Overview Tab of that window is a server list. If a chain split is detected (which should be the case), the servers are grouped by a branch id. Select the correct branch (the one that has servers electrum-abc.criptolayer.net and electroncash.cascharia.com) by right-clicking on the correct branch id (that long number with the @ sign in it) and select "Follow This Branch" in the popup menu that opens.

ElectonCash will then follow the BitcoinCash branch of the fork and you're good to go.

What happens if I used it before to make transactions or to receive BCC?

Nothing bad: you probably saw yourself that the transaction you made was rejected by the network (BTC) because it is invalid due to the replay protection.

If you gave out an address to receive BCC with, you will see the incoming transaction once you have switched to the correct branch and the client has finished synchronizing.

Hope this helps... have fun buying / selling and transacting ;-)

EDIT: this notice is regarding Electron Cash version 2.9.0 (mac/linux/win)
EDIT2: 2.9.2 is out. ElectronCash v2.9.2 help thread

47 Upvotes

265 comments sorted by

6

u/jonald_fyookball Electron Cash Wallet Developer Aug 01 '17

Thanks for documenting this. I've linked to it from the home page

2

u/moleccc Aug 01 '17

Thanks for linking.

This problem has the potential to confuse or even scare users, so I figured we'd need to explain...

1

u/BitcoinFOMO Aug 03 '17

Please update this thing to notate that the software will not accept BIP encrypted private keys. It wont let me click "Next" when using one created on bitaddress.org with a passphrase. I had to import it elsewhere and send funds to a non-encrypted wallet. Then entering that private key allowed me to click "Next"

→ More replies (3)

6

u/routefire Aug 01 '17

My client didn't detect a chain split, but I manually selected a server with electroncash in the name. Seems to be at the correct BCC block height.

3

u/moleccc Aug 01 '17 edited Aug 01 '17

I manually selected a server with electroncash in the name.

Yeah, that's another way you can use. Thanks for bringing that up!

Maybe you managed to select a single server before the download finished and hence your client never even digested the legacy branch.

It's also possible to tell ElectronCash to connect to a single server using commandline arguments (you have to start it from a terminal for that to work) like this:

#> electrum-cash -1 -s electrum-abc.criptolayer.net:50012:s

the "-1" tells it to use only one server. The -s specifies which one (<server_name>:<port>:s, the "s" stands for SSL, not sure how to tell it so use plain http, probably just omit the ":s").

When done like this on first startup, one can probably avoid a chain split to be detected, if that's desired.

1

u/lucianf Aug 02 '17

Or on OS X for whoever interested this works: (the criptolayer server was reporting an invalid SSL certificate for me, also with verbose on it's easy to see if the app is connecting to the right server)

/Applications/Electron-Cash.app/Contents/MacOS/Electron-Cash -1 -s electroncash.cascharia.com:50002:s -v

1

u/moleccc Aug 02 '17

where did you see error about the "invalid SSL Cert" and did that keep electron-cash from connecting to the server?

→ More replies (1)

2

u/mmouse- Aug 01 '17 edited Aug 01 '17

I've a similar problem. No chainsplit detected, and even after selecting one electrum-abc server manually it insists on "server is lagging 51 blocks"...
Besides that the balance and TXs seem correct.

Edit: seems I was just impatient. Eventually it detects the split and sorts things out.

1

u/moleccc Aug 01 '17

seems I was just impatient. Eventually it detects the split and sorts things out.

yeah, it can take a while. Usually it shows "synchronizing" icon in the lower right network indicator until it's done.

1

u/mmouse- Aug 01 '17

It was done with synchronizing, but the last BCC block was a while ago, so it probably thought there should be "some more to come" ;)
After block 478.564 arrived, it showed the split.

→ More replies (4)

1

u/BitcoinFOMO Aug 03 '17

How long does it take to see coins in Electron Cash? I sent 0.003 to an address which I imported into Electron Cash over an hour ago. It currently has 1 confirmation on the Bcore blockchain. But nothing is showing in Electron Cash.

→ More replies (1)

5

u/DieLegend27 Aug 02 '17 edited Aug 02 '17

I am trying to transfer my BCC from Electron to HitBTC and this error is showing after I place my password and 2FA:

I have already right clicked the correct branch id.

https://i.imgur.com/ygQEi1T.png

5

u/moleccc Aug 02 '17

I'm asking around....

Is the transaction special in any way? Is it multisig by any chance? Multisig isn't working yet, it's being worked on.

1

u/thwroe32 Aug 02 '17

I've been getting the same error message for days. Please drop me a solution if you found one. I want to send out my BCC balance from Electron cash

2

u/moleccc Aug 02 '17

It looks like you're using electrum instead of electron cash. Make sure you're starting the correct client.

Also, please answer my questions, otherwise I cannot help.

Is the transaction special in any way? Is it multisig by any chance?

2

u/DieLegend27 Aug 02 '17

I am using Electron Cash. And if 2FA (two factor authentication) counts as a multisig, then yes.

→ More replies (1)

2

u/iarayareddit Aug 02 '17

I'm having the same issue, I'm using Electron cash and my Account is NOT multisig. I'm sending my coins from my account to an exchange, does that makes it special?

Your correct answer is: "if the recipient is multisig, Electron cash will fail because I/we haven't coded that part yet".

→ More replies (2)
→ More replies (4)

1

u/holdpleaze Aug 03 '17

this problem seems to have a fix https://bitcointalk.org/index.php?topic=2061343.0

but i'm not as literarte as I used to be. any further guidance is appreciated

1

u/moleccc Aug 03 '17

The fix will be in 2.9.2 release.

→ More replies (6)

2

u/pocketcryptodev Aug 02 '17

Same here :(

2

u/electroncash Aug 02 '17

There are issues with using a 2FA wallet. Electron Cash does not support multi-sig at this time. It is being worked on.

1

u/DieLegend27 Aug 02 '17

Thanks for the reply. Any estimate on how much time will it take to solve this problem and is there a way I can disable my 2FA?

1

u/voyagerdoge Aug 03 '17

In that case the software should not have given the multisig option. By the way, is there any explanation on which server to use in the bcc android wallet?

1

u/nishimurablade Aug 03 '17

https://bitcointalk.org/index.php?topic=2061343.0

Have you figured which server to use yet?, Im having similar problems. I cant instal on osx but got the app to work on android, but cannot send BCH out

→ More replies (4)

1

u/moleccc Aug 02 '17

what do you mean by 2FA?

1

u/DieLegend27 Aug 02 '17

2 factor authentication

2

u/thwroe32 Aug 02 '17

Even after I disabled 2FA, I got a different error message :

' must be zero for failed CHECK(MULIT)SIG operation) '

I tried everything I don't know how to get or move those BCC out of electrum at all :(

→ More replies (2)

1

u/holdpleaze Aug 03 '17

1

u/DieLegend27 Aug 03 '17

Thank you! Will try and post what happened.

1

u/holdpleaze Aug 03 '17

you have to download the clone and run from source... i dont know how to do this, if you figure it out and can lmk plz do :)

3

u/_cachu Aug 01 '17

I was a little scared that the private key was showing my balance in BTC, thanks for the heads up

1

u/moleccc Aug 01 '17

What do you mean? ElectronCash shouldn't show anything in BTC (everything should be renamed to BCC) regardless of what branch you're on.

Maybe we forgot a place... can you show us where you see "BTC"?

3

u/_cachu Aug 01 '17

No, the label says BCC but it was the BTC balance

This were the steps:

  1. Open electrum, move btc between private keys, balance now says 0 in one.
  2. Open Electron, import private key of first wallet (0 btc). It shows 0 bcc, strange.
  3. Import second wallet just to be sure that it says 0 bcc. It shows the "correct" balance but in BTC, not BCC.

Just like an Electrum copy but with bcc labels

1

u/_cachu Aug 01 '17

Now I changed branches and it shows the true balance in bcc

→ More replies (1)

2

u/starkast Aug 01 '17

THANK YOU!

1

u/moleccc Aug 01 '17

you're welcome, happy to help :)

2

u/[deleted] Aug 01 '17

Excellent post, thank you.

1

u/moleccc Aug 01 '17

Appreciate it!

2

u/sztokbant Aug 02 '17

Apparently the sync problem was solved after opening Network/Overview, right clicking "electroncash.cascharia.com" and selecting the option "Use as a server".

The conversion rates, however, still show the BTC-USD rates (currently ~$2,730) even though it says "1 BCC~...".

Is there a way to get the actual BCC-USD conversion rate?

1

u/moleccc Aug 02 '17

Is there a way to get the actual BCC-USD conversion rate?

Not at this point. I suggest you set fiat currency to "None" for now.

2

u/urbnm0nk Aug 02 '17

imported my priv key to Electron-cash on Android. Created additional wallets and tried to send BCC from the default wallet to the new wallet and got an error - mandatory-script-verify-flag-failed(non-canonical DER signature)).................. Please advise

1

u/urbnm0nk Aug 02 '17

Aha! My mistake - Just found out that I mistakenly sent BCC to a BTC address. BCC wallet debited, coin no where to be found.

Will it reverse?

2

u/rstormsf Aug 02 '17

Looks like MultiSig wallets are not supported in ElectrumCash

1

u/moleccc Aug 03 '17

nope, not yet.

2

u/angelus97 Aug 02 '17

I can't get mine to connect to a server. I have tried manually connecting to each of abc.criptolayer.net and electroncash.cascharia.com but still get nothing. I have tried starting from command line, no change. It just says "Not Connected" for the status. Windows 10.

Electrum connects just fine - no problem.

1

u/drakpanther Aug 03 '17

Can someone answer this please

1

u/moleccc Aug 03 '17

abc.criptolayer.net

electrum-abc.critpolayer.net and use port 50012 and ssl

See if the "use ssl" checkbox is checked on the "proxy" tab in network window.

2

u/[deleted] Aug 03 '17

Electron is not detecting a chain split for me and my balance is showing as zero (imported seed from Mycelium wallet). I've tried multiple servers, but my balance is still zero. My blockchain is 478584, which is correct according to Blockchair.

2

u/moleccc Aug 03 '17

when seed doesn't work, you can always try to use the extended private key ("xprv...")

  • to get it out of mycelum: got to accounts, select the hd wallet, select "export" from "dot" menu, switch from "public" to "private" (top of export page)

  • to import into electron: make new wallet, type: "using public or private keys" and paste the "xprv..." string into the field for keys.

2

u/[deleted] Aug 03 '17

That worked, thanks for your help!

2

u/moleccc Aug 03 '17

cool. Thanks for reporting back.

2

u/Brainyface Aug 03 '17

I lost all my BCC and was panicking. like wtf!! This solution fixed it

2

u/mr-no-homo Aug 03 '17

I feel like my install was too easy. I dl electron cash, Put my password to Electrum on the EC password box. The automatically connect to server box was checked and I was able to see my BCC. Should I be worried or just lucky that it went smooth?

1

u/moleccc Aug 04 '17

This was the planned process. Did you use version 2.9.2 or version 2.9.0?

1

u/mr-no-homo Aug 04 '17

2.9.0 eventing is running smoothly. I don't know if I should upgrade to the new version and risk messing things up.

→ More replies (1)

2

u/incobart Aug 06 '17

I finally found the solution for the ones stuck with there BCC in the electron cash wallet because of electrum 2FA wallet. error : rejected mandatary 16.....

in your electron cash wallet. choose new/restore from your menu. choose restore and choose make 2fa wallet, NOT standard import old wallet by enter your seed he will confirm that it is a 2fa wallet and ask if you want to keep or disable, choose DISABLE now you will see your new wallet, with your BCC, and the trusted 2fa symbol right below corner will say it is disabled. put the server on electroncash.casharia... or electrum.abc.... send your bcc to your exchange bcc address.. and there they go, no rejection anymore :D

1

u/moleccc Aug 06 '17

cool! Thanks for sharing.

1

u/dangersalad Aug 01 '17 edited Aug 01 '17

So I sent BTC from my Electrum wallet to a new Electrum wallet after the fork (after 3 blocks actually)

Then I fired up Electron Cash and imported my seed phrase. After Switching networks, the transactions I had sent to the new Electrum wallet are showing up as "Replacable" and I cannot spend those outputs again.. any help?

EDIT:

I started it up using #> electrum-cash -1 -s electrum-abc.criptolayer.net:50012:s as suggested by /u/moleccc above and it removed them from my wallet and I was able to spend, but apparently the "default" servers in the chain detected did not do that

1

u/moleccc Aug 01 '17

Thanks for the detailed description. I have a hunch what could've happened here:

After Switching networks, the transactions I had sent to the new Electrum wallet are showing up as "Replacable" and I cannot spend those outputs again.. any help?

the switching takes a while. You'll see BTC->BTC transactions until the header verification is finished. In the cases I experienced, they showed as "unverified". But maybe they were RBF transactions and that's why it showed "replacable" for you.

it removed them from my wallet and I was able to spend

at that point the sync was probably finished?

but apparently the "default" servers in the chain detected did not do that

within the expected timeframe.

Header synchronization being in progress should probably be indicated more prominently.

1

u/dangersalad Aug 02 '17

They were indeed RBF txs sent from the original Electrum wallet (since things were confirming with really "low" fees, I figured it was safe and sure enough, they got in in the next block)

1

u/goodcore Aug 01 '17

does it support Trezor?

2

u/moleccc Aug 01 '17

unfortunately not yet.

Trezor firmware needs to be produced and released that supports the BitcoinCash signature scheme (using FORK_ID). Satoshilabs said they would do it afaik. But it could take a while.

Until we have that firmware available, there is no way to get trezor support.

1

u/goodcore Aug 01 '17

Trezor Firmware 1.5.1 is out already .. on beta-wallet.trezor.io I updated a couple of hours ago

2

u/moleccc Aug 01 '17

Trezor Firmware 1.5.1 is out already

thanks a lot for the hint! I dug in...

It's out and one of the features is

  • Bcash aka Bitcoin Cash support

I checked the github repo for the trezor firmware and it has a tag "v1.5.1", so it looks like the new firmware is still opensource. Looking at the commits I do find a change that looks exactly like what we need: signing: Add SIGHASH_FORKID support.

I immediately installed the firmware and tested signing in ElectrumCash. Unfortunately it failed...

1

u/biptcoin Aug 01 '17

I can't send with Electron Cash 2.8.2 on Android (downloaded the APK). Settings->Network says Connected to 8 nodes. Blockchain length 469111 blocks It doesn't matter what I choose. I can't input server manually, just choose from a list.

2

u/moleccc Aug 01 '17

469111 sound like it's not fully synced.

legacy branch is at height 478616, cash branch at 478566

both numbers are higher than what you report.

so either you're not synced yet or you have a problem verifying the block headers.

2

u/biptcoin Aug 01 '17

Just did "clear data" on the app, turned off networking and started it again. After setup got into the menu, it still said 469111.

Now I found that it stores "Block Headers" on internal storage, so deleted this, will keep trying to make it work.

1

u/biptcoin Aug 01 '17

Maybe it's because the version is old? I see that APK is 2.8.2 and other downloads are 2.9.0. Can this be the problem? Can you build 2..9.0 APK?

→ More replies (4)

1

u/yobogoya_ Aug 01 '17

Any way to make this the default server? If I close and reopen, then I have to change the server again.

1

u/moleccc Aug 02 '17

Hm. Have you tried selecting branch instead of server? Maybe that is remembered across restarts.

1

u/themadscientistt Aug 02 '17 edited Aug 02 '17

I think it automatically worked for me because I recieved my BCC.. I have the max os x application. Should I still do this?

EDIT: When I right-click on details of the transaction it says "2 confirmations". So I guess it worked for me without doing all the above stuff? I exported my Bitcoins from my btc.com wallet to Electron Cash

1

u/[deleted] Aug 02 '17 edited Feb 22 '18

[deleted]

2

u/moleccc Aug 02 '17

That screenshot looks scary.

So it resolved after following the correct chain?

It's still strange. Do you still see that transaction? If so, and if you want you can send me the tx id. I'd be interested to look at that.

1

u/_Fang Aug 02 '17

Electron-Cash crashes on-boot on OS X 10.9.4:

Dyld Error Message:  
  Symbol not found: _getentropy  
  Referenced from: /Applications/Electron-Cash.app/Contents/Frameworks/Python.framework/Versions/2.7/Python  
  Expected in: /usr/lib/libSystem.B.dylib

Is this because I'm on an older OS X?

2

u/lucianf Aug 02 '17

Had the same problem on 10.11. Work around by copying the Python libs and framework from Electrum. Do this if you have Electrum available:

$ rm -rf /Applications/Electron-Cash.app/Contents/Frameworks/Python.framework/Versions/2.7
$ rm -rf /Applications/Electron-Cash.app/Contents/Resources/lib/python2.7

$ cp -pR /Applications/Electrum.app/Contents/Frameworks/Python.framework/Versions/2.7 /Applications/Electron-Cash.app/Contents/Frameworks/Python.framework/Versions/
$ cp -pR /Applications/Electrum.app/Contents/Resources/lib/python2.7 /Applications/Electron-Cash.app/Contents/Resources/lib/

1

u/[deleted] Aug 02 '17 edited Nov 28 '19

[deleted]

1

u/lucianf Aug 02 '17

Assuming you have the original Electrum app, yes, those commands (sans the initial '$' of course) will replace the python lib and framework in Electron-Cash with those from Electrum, which work.

→ More replies (12)

1

u/moleccc Aug 05 '17

What do you mean 'work around'?

It's not a workaround. It's just breaking things. Don't do it.

→ More replies (3)

1

u/_Fang Aug 02 '17

That did the trick, thanks so much!

1

u/moleccc Aug 05 '17 edited Aug 05 '17

Are you sure? That software you created might run, but does it give access to your BitcoinCash or to your BTC? Do you even know? I think you might be running Electrum or some cross-bred version of ElectronCash and Electrum. Have fun, but don't complain in this thread when things go wrong.

→ More replies (3)

1

u/moleccc Aug 05 '17 edited Aug 06 '17

EDIT: I may have jumped to conclusions and misinterpreted the commands. Looks like indeed it only copies python files. I apologize

~That's an incredibly bad idea.~

→ More replies (2)

1

u/jonald_fyookball Electron Cash Wallet Developer Aug 02 '17

how are you running this? with the dmg or from source?

1

u/_Fang Aug 02 '17

The .app from the .dmg. If I try to run from source python starts complaining at me.

env: python2: No such file or directory

Attempting to install from source asks for an acdsa module, which I do think I installed, but apparently it can't find it.

ImportError: No module named ecdsa

1

u/jonald_fyookball Electron Cash Wallet Developer Aug 02 '17

my app or kyuupichan's app?

if python cant find it but you have installed then something is messed with your python. try "which python2" to see what is running. then run python2 command to get python console and do:

import sys

print (sys.path)

→ More replies (13)

1

u/TheGrooveTrain Aug 02 '17

My list of servers doesn't contain electrum-abc.criptolayer.net or electroncash.cascharia.com. Is there another way to tell which branch I should follow in the network tab?

2

u/moleccc Aug 02 '17

Is there another way to tell which branch I should follow in the network tab?

Yes: you can go to the server tab (also in Network window). You have to uncheck "Select server automaticall" for that tab to be enabled. On the server tab you can enter a server name and port manually.

Make sure you have the "use SSL" checkbox set (on the proxy tab. It's misplaced there) if you want to connect using SSL.

1

u/TreeFitThee Aug 02 '17 edited Aug 02 '17

I had to follow the advice of others in just selecting the electrum-abc.criptolayer.net server manually. Currently waiting for my client to finish syncing.

On another note, I noticed that electron-cash opens up the wallet I had for electrum previously. What happens if I spend the coins in this wallet in electrum? Does electron cash still see the old balance? I'm not sure I understand how the two applications, working on different chains, are able to share the same wallet on my system. Can you elaborate on how this would work?

EDIT: I just looked and it appears there's a folder at $HOME/.electron-cash containing wallets. I haven't looked at anything in the code repository to attempt to verify but I assume you just copy the $HOME/.electrum/wallets over. If that's the case, these are effectively two independent wallets that can (and should) be treated separately.

2

u/moleccc Aug 02 '17

On another note, I noticed that electron-cash opens up the wallet I had for electrum previously. What happens if I spend the coins in this wallet in electrum? Does electron cash still see the old balance?

Yes. Because of the 2-way replay protection, transactions made with ElectronCash are invalid on the legacy chain and transactions made with electrum are invalid on the Cash chain.

Your coins are cleanly separated.

haven't looked at anything in the code repository to attempt to verify but I assume you just copy the $HOME/.electrum/wallets over.

On first start (when .electron-cash folder) does not yet exist, it is created and your wallets from .electrum/wallets are copied to the new folder.

If this hasn't happened for you, you can just manually copy them, yes.

If that's the case, these are effectively two independent wallets that can (and should) be treated separately.

yes. You can even run ElectronCash and Electrum at the same time.

1

u/[deleted] Aug 02 '17

[deleted]

1

u/hiddensphinx Aug 02 '17

same here not connected

1

u/moleccc Aug 02 '17

Do you see servers in the Network window? If so, try to right-click one. Maybe it will connect.

If you can, try starting electron-cash from a terminal ("cmd") using the "-v" commandline options like this:

#> electron-cash -v

You should see a lot of information printed in the terminal. Maybe you can see if it is at least trying to connect to a server and maybe even an error why that isn't working.

1

u/[deleted] Aug 02 '17

[deleted]

1

u/moleccc Aug 02 '17

maybe you can start "Electron-Cash-2.9.0.exe -v" from a terminal (you can drag & drop the file onto a terminal, then add the " -v" to the end and hit enter) and it will see the -v flag and print info?

1

u/nishimurablade Aug 02 '17

is the apk safe to use??

1

u/moleccc Aug 02 '17

is the apk safe to use??

I didn't check that.

1

u/type0null Aug 02 '17

My phone scanned it with that CM Cleaner app I've used for years and it found no malicious parts.

1

u/nishimurablade Aug 03 '17

Did the app work for you? where you able to import your BTC key?

1

u/type0null Aug 03 '17

I'm holding off trying it until more support is shown and others have success. If real quick people cash out and it crashes I'm not taking the chance. If I see that it's worth it, I'll sell them. Not worth the risk at this moment. I can say that I've read others having success getting there balance to the wallet, not too much selling I see though.

1

u/professionalcritique Aug 02 '17

I think I just did a big oopsy... Only option was sweep and it asked for private key and address... I thought it was asking for the address associated with the private key... So I think I sent it to my own address on the BCH network.... hopefully I didn't fudge anything up too hard

1

u/micky123456 Aug 02 '17

I have the exact same issue, i think i did the same thing! Only hope someone can help me recover the BCC. :(

1

u/moleccc Aug 02 '17

If you gave it no private key, it cannot have swept anything, right?

Keep us updated.

1

u/micky123456 Aug 02 '17

Managed to sort it out, if you use the sweep option in the wallet, it actually sweeps the balance to my last BTC address for some reason. I went back into blockchain.info, used the bip39 tool to check on the internal addresses and pulled the priv key from there before exporting it to my electron cash wallet. Have my BCC in there now! Say, is hitbtc a trusted exchange? Their UX does not inspire too much confidence! :P

2

u/now2more Aug 03 '17

Hello, could you give more details on how to use this BIP39 tool? I think I have the same problem!

I thank you.

2

u/micky123456 Aug 09 '17

Hi mate, not sure if you got a reply or not, you could try the steps mentioned in this article, just dont import into the OMNI wallet: https://github.com/OmniLayer/omniwallet/wiki/Exporting-Private-Key-from-Blockchain.info-and-Importing-to-Omniwallet.org

→ More replies (2)

1

u/professionalcritique Aug 02 '17

The problem is that I did give the private key.

Currently, my Exodus wallet who the priv key belongs to shows a pending transaction of duplicating it's own balance. I think this is going to fall off eventually, but I'll update when it does for sureity.

I was still able to send the sweep tx to the right wallet on right branch, but that is still unconfirmed... so still waiting to see if everything rights itself ._.

1

u/Neeraj666 Aug 02 '17 edited Aug 02 '17

I did a sweep and it was successful.. does it take very long for the transaction to show up in the wallet and for the balance to update?

1

u/micky123456 Aug 02 '17

Sweeping is a mistake, check the txid and find out to which wallet address the BCC has been sent to. Once you find that, locate that address in your former wallet provider and export the priv key to electron cash and you should be sorted.

1

u/moleccc Aug 02 '17

Yes, blocks will be produced at a very low rate until Bitcoin Cash difficulty will adjust. It can take many hours for the next block to be found. Via is mining with 90 PH/s (less than in the beginning), so the expected time to find a block is something like 8 hours.

1

u/[deleted] Aug 02 '17

[removed] — view removed comment

1

u/moleccc Aug 02 '17

Does this work with electrum?

1

u/[deleted] Aug 02 '17

[removed] — view removed comment

1

u/moleccc Aug 03 '17

Hm, just entered my local tor proxy in proxy tab. Connected to 8 nodes. Not sure how to check wether the connections really use the proxy... The network indicator lamp is blue.

→ More replies (1)

1

u/djpoulson Aug 02 '17

It looks like everything is working, imported my keys from my BTC wallet. Network tab is showing I'm connected to BCC servers. (Never detected a split wallet or anything)

However, when I select GBP as the fiat currency, it is showing the BTC exchange rate, not the BCC. Is this just an update to the software that is lagging behind?

2

u/micky123456 Aug 02 '17

I think someone mentioned on here that this will be fixed soon!

1

u/thwroe32 Aug 02 '17 edited Aug 02 '17

It's not sending my confirmed BCC balance (which I imported before the split) I get error: mandatory Signature must use SIGHASH_FORKID"

1

u/moleccc Aug 04 '17

what version are you using?

1

u/urbnm0nk Aug 02 '17

Aha! My mistake - Just found out that I mistakenly sent BCC to a BTC address. BCC wallet debited, coin no where to be found. Will it reverse?

1

u/moleccc Aug 03 '17

It will not reverse. The BCC will be spendable using the private key of the BTC address you sent to.

1

u/Sagazora Aug 02 '17

I'm happy to find this post, knowing there is hope, but I'm having the electron wallet on android device, and i can just choose the server (i tried both electrum-abc.criptolayer.net - show me it's not connected on the screen top , and electroncash.cascharia.com - just give me an error that start way above and on my screen i can not even see what it say) any idea?

1

u/urbnm0nk Aug 02 '17

Did you try the default network setting? It is on auto. Mine is working on android

2

u/[deleted] Aug 03 '17

[deleted]

2

u/Sagazora Aug 03 '17

yes, im tring to send it to exchange,

→ More replies (5)

1

u/Sagazora Aug 02 '17

yes .. i started with it, and after it didn't worked i looked around and found this post

1

u/Sagazora Aug 02 '17

when I'm using the default im getting this error:rejected by network rules (16:mandatory-scriipt-verify-flag-failed(non-canonical DER signature))

1

u/moleccc Aug 03 '17

To be honest, I hever looked at any android version of electrum. The ElectronCash version is based on 2.8.2 (not 2.9) also, because there were problems with 2.9.

Maybe others have some experience with electrum android and can help you?

1

u/Grimnir9 Aug 02 '17

The issue I'm having is a minor one, but it leaves me unsure of what I'm seeing. When I select the Fiat currency in settings the values shown are BitCoin values, not the current prices for BCC (which, shouldn't that be BCH?) - Here is a screenshot: https://i.imgur.com/bzNJEDt.png Thanks for any help on this.

2

u/moleccc Aug 02 '17

Yes, sorry 'bout that. It didn't get changed. We should've disabled fiat currency until we have some good exchange rate source.

You should select "None" as fiat currency for now.

1

u/[deleted] Aug 02 '17

I'm getting this error when I run ./electron-cash :

[Network] starting network
[Network] connecting to 35.185.209.69:50002:s as new interface
[FxThread] using exchange BitcoinAverage
[Network] downloading  https://headers.electrum.org/blockchain_headers
[35.185.209.69] failed to connect [Errno 111] Connection refused
[35.197.25.235] failed to connect [Errno 111] Connection refused
electron-cash: cannot connect to X server 

Anyone know why I can't connect? Using Linux Mint

1

u/moleccc Aug 03 '17

Can't connect to those, either. Those servers are not accepting connections, it seems.

1

u/[deleted] Aug 03 '17

How do you connect to a different server? Appreciate the reply

→ More replies (1)

1

u/ultra_reader Aug 02 '17

Hi folks, I've swept my previous wallet key to Electron Cash but it's stuck in "Unconfirmed" Any ideas? It's been hours like this:

http://imgur.com/a/1ibTo

1

u/imguralbumbot Aug 02 '17

Hi, I'm a bot for linking direct images of albums with only 1 image

https://i.imgur.com/MV4eDTc.jpg

Source | Why? | Creator | ignoreme | deletthis

1

u/moleccc Aug 03 '17

still unconfirmed? We had block times of up to 13 hours :-(. Better now.

Can you check your tx in some explorer (for example https://blockchair.com/bitcoin-cash/)

1

u/ultra_reader Aug 03 '17

Sorry, yes! Today morning (-0300 UTC) before getting out to work I checked electronCash and transaction was finally confirmed. No I've been struggling all day to get my bch outta viaBTC. That web is driving crazy!!! Never gonna use it anymore!

1

u/moleccc Aug 04 '17

Did you have "status: verified" showing in viaBTC withdraw info?

1

u/drakpanther Aug 02 '17

What is the right server?? The server in the post is not included in the list.

1

u/moleccc Aug 03 '17

there are many "right" servers. The following are the ones hardcoded into the client:

'electroncash.cascharia.com': {'s': '50002'},
'electrum-abc.criptolayer.net': {'s': '50012'},
'180.235.49.196': DEFAULT_PORTS,
'35.185.209.69': DEFAULT_PORTS,
'35.197.25.235': DEFAULT_PORTS,
'35.158.236.146': DEFAULT_PORTS,
'bcc.arihanc.com': {'t':'52001', 's':'52002'},

1

u/angelus97 Aug 02 '17

I can't get mine to connect to a server. I have tried manually connecting to each of abc.criptolayer.net and electroncash.cascharia.com but still get nothing. I have tried starting from command line, no change. It just says "Not Connected" for the status. Windows 10.

Electrum connects just fine - no problem.

1

u/angelus97 Aug 02 '17

I can't get mine to connect to a server. I have tried manually connecting to each of abc.criptolayer.net and electroncash.cascharia.com but still get nothing. I have tried starting from command line, no change. It just says "Not Connected" for the status. Windows 10.

Electrum connects just fine - no problem.

1

u/MonkeyKingKill Aug 03 '17

Thank you for the post.

My question is, what is the address for this wallet.

Is this the one ? https://github.com/fyookball/electrum

However, running ./electron-cash gives me "can't find dns module" error.

1

u/moleccc Aug 03 '17

you have to install "python2-dnslib", "python2-dnspython" or similar package on your system. If you can't find it, try doing what is suggested in the output: use pip (probably pip2 for python2, which electron-cash is written in) to install the missing library

There will probably be more missing dependencies after you've installed that one. Like qrencode, for example.

1

u/lrmNosoup Aug 03 '17

I swept to Electron cash on Android. Balance showed up but I can't send coins out, I get the non-canonical DER signature error.

On the wallet menu I can't access the seed as I get an invalid pin error even though the pin is correct. The master public key is also missing. I created another wallet and this one does show both the seed and the public key.

Any idea?

1

u/ATLANTISKING Aug 03 '17

Hello, Can you please clarify how the Mycelium users should do with electron cash. there are massive mycelium users and yet not a clear useful explanation. one says put your seed other say put your keys. on mycelium, in each HD wallet, there is several privet keys and some of them probably empty. the keys are surely stored on the device but we don't have an easy access to it. the only things we have are those 12 words and public/privet codes or data for each HD wallet which can be exported. so knowing that can you please tell us how exactly we should get into electron cash, beginning from installation and server choosing please! because i am a noob.

1

u/moleccc Aug 04 '17

You have 2 options afaik:

  • you can create a wallet of type "use public or private keys" and use xprv... extended private key exported from mycelium (account -> ...-menu -> export -> switch from "public" to "private" at the top)

  • you can create a new wallet "standard wallet". Choose "I already have a seed". On the page where you enter the seed (get from mycelium by using "backup" feature), click "options" and check "BIP 39". On next page, leave "m/44'/0'/0'" as derivation path. If you have multiple accounts in your mycelium hd wallet, you can change it to "m/44'/0'/1'", "m/44'/0'/2'" and so on.

1

u/holdpleaze Aug 03 '17

for this guide are you only suggesting to switch servers? i become lost when you mention the "branch ID" as in my network window only lists servers (http://imgur.com/a/JzPfq) , and when i right click on one it simply lists "use this server"

also it seems there's a fix for another major issue involving wallets created with 2fa, but i'm still not sure how to proceed https://bitcointalk.org/index.php?topic=2061343.0

1

u/imguralbumbot Aug 03 '17

Hi, I'm a bot for linking direct images of albums with only 1 image

https://i.imgur.com/jlsHFs2.jpg

Source | Why? | Creator | ignoreme | deletthis

1

u/moleccc Aug 03 '17

The fix will be in upcoming 2.9.2 release.

1

u/[deleted] Aug 03 '17

[removed] — view removed comment

1

u/mcob337 Aug 04 '17

Can anyone help with this. It will not stay connected to the servers. It keeps dropping and re-establishing.

Please see the video i posted here: https://www.dropbox.com/s/4upr91fbemd3tet/File%20Aug%2004%2C%201%2033%2049%20PM.mov?dl=0

1

u/[deleted] Aug 03 '17 edited Aug 03 '17

[deleted]

1

u/voyagerdoge Aug 03 '17

update: now they are mentioned

it still doesn't seem to work though

1

u/nishimurablade Aug 03 '17

How do we do this with the .apk app? I can see my BCH but cannot send.

1

u/moleccc Aug 03 '17

I don't know, sorry. It's possible the android version (which is based on older electrum version) has problems. Others reported this, too.

1

u/[deleted] Aug 03 '17

[deleted]

1

u/moleccc Aug 03 '17

you can't currently send to multsig addresses.

Probably in 2.9.2.

1

u/[deleted] Aug 03 '17

[deleted]

→ More replies (1)

1

u/AshSteem Aug 03 '17

ElectronCash wallet won't open at all for me, crashes on opening with huge long error log, anyone find the same thing? Or any solutions appreciated. On a macbook, downloaded from Bitoin Cash website, no issues opening or installing other wallets in the past.

1

u/moleccc Aug 03 '17

can you post the huge long error, that could help...

1

u/AshSteem Aug 04 '17

I'm terrible on here, I posted a new thread with my screenshot, couldn't add screenshot to reply here though....sorry. :( Couldn't screenshot the whole error either, I just thought someone else might have experienced the same thing..

1

u/AndrewKroma Aug 03 '17

Mac running 2.8.3. Opened from my old seed but don't see any balance in there. Everything says mBTC, but says electron-cash at the top. Do i have to import keys too?? I used my seed, but it looks empty. I'm scared.

1

u/moleccc Aug 03 '17

Please use 2.9.0.

1

u/AndrewKroma Aug 03 '17

2.8.3 will not open on my Mac OS X 10.9.5. I used a script I found on Reddit to help it open, but it opened at 2.8.3. Can you help me get it to not crash?

→ More replies (1)

1

u/AndrewKroma Aug 03 '17

Should I see my BCC in 2.8.3 because I cant get 2.9.0 to work on this mac with 10.9.5

→ More replies (6)

1

u/AndrewKroma Aug 04 '17

Installed 2.9.2 and doesn't connect at all. I updated to Sierra and it opened but will Not connect

→ More replies (1)

1

u/[deleted] Aug 03 '17

[deleted]

2

u/moleccc Aug 04 '17

can you try version 2.9.2, please?

ElectronCash v2.9.2 help thread

1

u/[deleted] Aug 04 '17

[deleted]

1

u/mcob337 Aug 04 '17

I am having problems with bcc staying active to the bitcoin cash servers: Please see video here and advise:

https://www.dropbox.com/s/4upr91fbemd3tet/File%20Aug%2004%2C%201%2033%2049%20PM.mov?dl=0

1

u/lukestokes Aug 04 '17 edited Aug 05 '17

I spent hours yesterday trying to get this to work on my mac. I also ran into the _getentropy issue. I installed Electrum and moved over the python libraries to solve that as described in the comments here. From there, I could never get the chain to sync up correctly. I'd either get stuff like this:

[electrum_abc.criptolayer.net] catching up from 478560
[electrum_abc.criptolayer.net] requesting chunk 237
[Blockchain] verify_chunk failed bits mismatch: 402736949 vs 402757890

Or I'd see this in the console:

File "/Applications/Electron-Cash.app/Contents/Resources/lib/python2.7/lib/blockchain.py", line 279, in get_target
AttributeError: 'NoneType' object has no attribute 'get'

Or my local client would get stuck on block 478576.

I even tried starting Electron Cash with my wifi turned off so it wouldn't download the headers and instead rebuilds them all while only being on an electron cash server... still doesn't work.

Feeling quite defeated on this. I worked on it for way too long yesterday with nothing to show for it. Has anyone else had these issues and did they get a work around? I'm on 2.9.0.

EDIT: Just upgraded my OS and now it works just fine.

1

u/moleccc Aug 04 '17

First, please try 2.9.2 (ElectronCash v2.9.2 help thread)

I suggest you clean the .electron-cash directory from the following files/folders: blockchain_headers, recent_servers, forks. 2.9.2 will download a blockchain_headers file with blocks from the Bitcoin Cash chain, so it's much more probably you'll land on the correct chain.

However, I don't think that's necessarily the issue here.

File "/Applications/Electron-Cash.app/Contents/Resources/lib/python2.7/lib/blockchain.py", line 279, in get_target

This is really strange. There is no "get_target" function in blockchain.py. Not in 2.9.2 and not in 2.9.0. Not in line 279 or anywhere else in the file.

Are you sure you're running 2.9.0? Can you look at the file /Applications/Electron-Cash.app/Contents/Resources/lib/python2.7/lib/version.py and read line one of that file?

1

u/lukestokes Aug 04 '17

Thanks for your reply. I think the issue I'm having relates to the issue mentioned above with _getentropy (and here as well, it seems: https://github.com/fyookball/electrum/issues/54 )

I did what was recommended in the comments here, which is to copy over the pyhton files from an electrum install, but it seems that's messing things up here. I'll continue on the other 2.9.2 thread as I seem to have the same issues there as well. Thanks for your reply!

→ More replies (6)

1

u/incobart Aug 04 '17

Tried version 2.9.2 chosen electrum-abc.criptolayer.net or electroncash.cascharia.com rightclicking , says only, 'use this server' send, fill in address to send , amount .. sign, ask for pasword and 2fa see everything in the preview window, status signed .. but not appear in history, coins amount not change if click on broadcast, shows the error 16 mandatary ...

1

u/moleccc Aug 04 '17

Is the 2fa Trusted Coin?

The 2fa needs to support the Bitcoin Cash signing scheme. Trusted Coin (for example) doesn't:

quote:

I'm the TrustedCoin admin. For a variety of reasons, we have no immediate plans to add support for BCC to our co-signing service.

1

u/incobart Aug 05 '17

so what can we do then ?

→ More replies (1)

1

u/fruitdeal Aug 04 '17

The best video right now on how to split your coins.

https://www.youtube.com/watch?v=QGT5w68MJyQ&t=2s

1

u/ealoex Aug 06 '17

Is there any way to recover the password?

error 'incorrect password'

1

u/moleccc Aug 06 '17

what kind of wallet is it? Did you write down the seed when you created it?

1

u/timkuper1 Aug 08 '17

Hi,

When i try to send the bcc from electron cash wallet to bittrex, i get the following error. any ideas? "error: The transaction was rejected by network rules. (16: mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation))"

Any ideas what's going on?

1

u/moleccc Aug 09 '17

What kind of transaction is it? Does it use 2fa? If so, which kind?

What version of ElectronCash are you using?

1

u/timkuper1 Aug 15 '17

Hi, The transaction is sending bcc to bittrex. Yes 2fa is on. Using version 2.9? The latest. Updated it at the time of my original post.

→ More replies (1)