Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Mac El Capitan #19

Closed
Rasino opened this issue Mar 4, 2018 · 29 comments
Closed

Support for Mac El Capitan #19

Rasino opened this issue Mar 4, 2018 · 29 comments
Labels

Comments

@Rasino
Copy link

Rasino commented Mar 4, 2018

can do something to make it work with OSX Capitan
please

@ootisra
Copy link

ootisra commented Mar 4, 2018

Yes Please....

@KimboKastekniv
Copy link

Same error with Yosemite OSX

@ch4ot1c ch4ot1c added the mac label Mar 5, 2018
@ch4ot1c ch4ot1c changed the title there is a wallet for mac capitan Support for Mac El Capitan Mar 5, 2018
@pjain
Copy link

pjain commented Mar 5, 2018

Electrum-BTCP crashes on macOS version 10.11 because of _getentropy.

Dyld Error Message:
Symbol not found: _getentropy
Referenced from: /Applications/Electrum BTCP.app/Contents/Frameworks/Python.framework/Versions/3.6/Python (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib

I haven't tried it yet but will see if I can build from source on maxOS 10.11 and let you know

@pjain
Copy link

pjain commented Mar 5, 2018

I've gotten it to compile and start on 10.11 but I haven't been able to test anything beyond that. This isn't an official version but if you'd like to test it, it's available at https://www.dropbox.com/s/o8q5cqms29rj6d7/electrum-btcp-P%211.0.0_macos_10.11-macosx.dmg?dl=0

Please only use this for testing and not for real BTCP until the dev team can put out an official version.

@ootisra
Copy link

ootisra commented Mar 5, 2018

Great pjain you are the best...

@pjain
Copy link

pjain commented Mar 5, 2018 via email

@pjain
Copy link

pjain commented Mar 5, 2018

Updated at https://github.com/pjain/electrum-btcp/releases/tag/1.0.0b

@kbauer0720
Copy link

Really appreciate the fast response to the problem! I am going to test run it with a very small amount and will update with results. Thank you!

@kbauer0720
Copy link

Update: Just imported a key for .5 ZCL and it worked just fine... Thanks for your work on this pjain!

@bahamabri
Copy link

Thanks for doing this !

@pjain
Copy link

pjain commented Mar 6, 2018

Just so you all know, I was able to use it to sweet ZCL private keys but sweeping BTC keys didn't work. I opened up #35

@kbauer0720
Copy link

kbauer0720 commented Mar 6, 2018 via email

@pjain
Copy link

pjain commented Mar 6, 2018 via email

@calhroub
Copy link

calhroub commented Mar 6, 2018

Thanks for the great work @pjain !
Hopefully a BTCP dev (@heyrhett or other dev) can look at it soon and endorse it or not.
I downloaded on my Mac and seems to run, was even able to create a new hardware wallet with my KeepKey.
We need a BTCP dev endorsement to trust with real BTCP and private keys. Thanks again 👍

@pjain
Copy link

pjain commented Mar 6, 2018 via email

@calhroub
Copy link

calhroub commented Mar 6, 2018

I've been trying to figure out who is the Electrum Mac dev to get in touch with about this... Is it @ch4ot1c ?

@calhroub
Copy link

calhroub commented Mar 6, 2018

@pjain One of the admins on Discord said:

awoogs - Today at 6:06 PM
@calhroub you could always encourage that dev to make a pull request off the main official git repository and contribute changes back into the official codebase - its all open source.

I'm not sure what a pull request is... Hopefully you know what he's talking about and contribute? Thanks.

@pjain
Copy link

pjain commented Mar 6, 2018 via email

@calhroub
Copy link

calhroub commented Mar 6, 2018

Thanks for all your communication and contribution @pjain
I would like to try to clone and build myself. I think I have done something similar in the past using a guide. Do you think you can point me to a guide for me to clone and build myself? Or maybe post some instructions? Thanks again :-)

@pjain
Copy link

pjain commented Mar 6, 2018

You can download the zip (if you're not comfortable with git), extract it and then follow the directions at https://github.com/BTCPrivate/electrum-btcp

@Benjamintao
Copy link

Thank you Pjain for your commitment. Have a nice day

@calhroub
Copy link

calhroub commented Mar 7, 2018

Ok, the solution is easy! It looks like an issue due to the SDK on OS X 10.12 not compatible with previous OS X. All I had to do was "clone" and build .app and .dmg on my older machine (OS X 10.11.6). If you don't want to trust a random guy's .dmg or .app you can create it by yourself on your Mac using the official source code published by the official BTCP dev team.
The instructions are pulled from the official https://github.com/BTCPrivate/electrum-btcp with some minor corrections (for OS X 10.11.6 El Capitan at least):

  1. Go to a directory you have full access priviledges, example "Downloads"
  2. enter the following command to clone source code from official BTCP Github by copy/pasting:
    git clone git://github.com/BTCPrivate/electrum-btcp.git
  3. This created a new folder directory in your Downloads folder. Enter this new directory by:
    cd electrum-btcp
  4. Before you build .app and .dmg you need a bunch of pre-requisites/dependencies. Copy the following commands in order and enter your administrative password whenever requested. First setup Homebrew:
    ./setup-mac.sh
  5. Then Install Homebrew dependencies:
    brew bundle
  6. Install Python dependencies:
    pip3 install -r requirements.txt
  7. Build icons:
    pyrcc5 icons.qrc -o gui/qt/icons_rc.py
  8. Compile the protobuf description file:
    protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
  9. Build .app, .dmg:
    ./create-dmg.sh
  10. Now your .app and .dmg have both been created. Now all you have to do, within your electrum-btcp direcotory, go to dist->installer-mac and from there copy Electrum BTCP app to your Applications folder and voila!

Enjoy! :-)

@calhroub
Copy link

calhroub commented Mar 7, 2018

Meh, a few minutes after positng my post above, it became obsolete I guess, because now pre Mac OS 10.12 users can download official release "Electrum_BTCP-P_1.0.0-macosx-yosemite-beta.dmg" from the official repo: https://github.com/BTCPrivate/electrum-btcp/releases/tag/P!1.0.0

I just downloaded it and works on my OS X 10.11.6 El Capitan... Problem solved

@micalways
Copy link

Good evening everybody, i try to open this official wallet on mac yosemite... it do not work... on tge other hand @pjain wallet works... why... mistery?!?
Thx @pjain

@calhroub
Copy link

calhroub commented Mar 8, 2018

Hi @micalways
Did you try the official "Electrum_BTCP-P_1.0.0-macosx-yosemite-beta.dmg" from https://github.com/BTCPrivate/electrum-btcp/releases/tag/P!1.0.0
?
"Electrum_BTCP-P_1.0.0-macosx.dmg" is only for OS X 10.12 and above if You have older (El Capitan or Yosemite, you should use the beta.
Basically the beta and the one by @pjain are supposed to be the same as doing what I outlined in #19 (comment)

If you use the beta, you would be trusting the BTCP Official devs, if you use @pjain you would be trusting him, if you use #19 (comment) you would be trusting yourself ;-)

@micalways
Copy link

Hi Calhroub, if I download the wallet Beta version on the official site for Yosemite it still quit unexpectely... Pjain link #19 is working....
what am I suppose to do? Like everybody else I want my forked coins as well ;-)

@pjain
Copy link

pjain commented Mar 13, 2018

@micalways if you don't want to use the version at https://github.com/pjain/electrum-btcp/releases/tag/1.0.0b which is signed with my PGP keys, then, your best bet for now is to download a copy of the Electrum BTCP code, install Xcode and built it yourself as @calhroub detailed above.

Who knows when someone from the BTCP dev team will get around to officially supporting older versions of macOS.

@micalways
Copy link

@pjain, Good evening... actualy I use this version https://github.com/pjain/electrum-btcp/releases/tag/1.0.0b which is signed with your PGP keys and I was able to claim my BTCP on it.
the only question I have is it legit? I trust you @pjain... so if you are telling me that it is a working and reconized I am feeling ok with that! ( I did not try to send or recieve any BTCP on it so I do not now if it's working a 100% )
But I am not a Dev. so I can't develop or Install code or stuff like that :-), I am not a IT specialist...
So if you are telling me that it's a 100% safe, I am cool with that!!!
but nobody except you is able to help for older Mac versions and that is a bit strange... I mean my Mac is old but still not destined for the trash.
I hope you understand my point of view.
I wish you a good evening.

@pjain
Copy link

pjain commented Mar 13, 2018

Hi @micalways I can't 100% guarantee anything since I haven't written the code. However, I have used the main repository code (with absolutely 0 changes) to create this build. For what it's worth, I can 100% say that I have not included any code or changes that may put your coins at risk :-)

If you want to try sending a small amount from one wallet to another, that would be a good test.

It would also be a good idea to print out your private keys and store them safely if you've already claimed your BTCP. One you have the keys, you should be able to import them into other wallets that support BTCP (sorry, I don't know which ones do).

I understand your pov very well and like I said, I'm not a part of the dev team so I can't speak for them. I'm just a part of the community and trying to contribute what I could.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants