Search content
Sort by

Showing 8 of 8 results by jantalsma1
Post
Topic
Board Bitcoin Technical Support
Re: BTC Reward. How to compile Electrum standalone executable from Python source cod
by
jantalsma1
on 29/06/2020, 00:33:21 UTC
It's simply not possible to get Electrum to build the Windows binaries using the build-wine system WITHOUT cloning the git repository first


it doesn't work if you extract the files from the .tar.gz... you will always get the

/opt/wine64/drive_c/electrum /opt/wine64/drive_c/electrum/contrib/build-wine
fatal: not a git repository (or any parent up to mount point /opt/wine64/drive_c)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
🗯 ERROR: build-electrum-git failed


Can anyone find a workaround to build the windows binaries without cloning from the git repository?
Post
Topic
Board Bitcoin Technical Support
Re: BTC Reward. How to compile Electrum standalone executable from Python source cod
by
jantalsma1
on 21/06/2020, 01:34:39 UTC
UPDATE:

I've been busy in real world, could barely get close to the computer. I've finally managed to get down to work and get to the bottom of this.

I've visited this link

https://github.com/spesmilo/electrum/tree/master/contrib/build-wine#windows-binaries

INSTALLED DOCKER

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt-get update
$ sudo apt-get install -y docker-ce

BUILT IMAGE

$ sudo docker build -t electrum-wine-builder-img contrib/build-wine

NOW COMES THE TRICKY PART FOR ME

$ FRESH_CLONE=contrib/build-wine/fresh_clone && \
    sudo rm -rf $FRESH_CLONE && \
    mkdir -p $FRESH_CLONE && \
    cd $FRESH_CLONE  && \
    git clone https://github.com/spesmilo/electrum.git && \
    cd electrum

and to build

$ git checkout $REV
$ sudo docker run -it \
    --name electrum-wine-builder-cont \
    -v $PWD:/opt/wine64/drive_c/electrum \
    --rm \
    --workdir /opt/wine64/drive_c/electrum/contrib/build-wine \
    electrum-wine-builder-img \
    ./build.sh

Excuse my noobness, but from this official windows binaries build page, if I understand correctly, you need to download a fresh clone from github.

BUT, my intention is to build from the file I downloaded, which is Electrum-3.3.8.tar.gz which I extracted to Electrum-3.3.8 directory. I only want to build Electrum Standalone Executable from this directory and not from a clone from github.

Is this the only possibility? Can anyone confirm? Yes / No

If cloning from github is the only possibility to do this, then I've set up an unrealistic goal from the start which only became apparent now Sad

Waiting for your feedback
Post
Topic
Board Bitcoin Technical Support
Re: BTC Reward. How to compile Electrum standalone executable from Python source cod
by
jantalsma1
on 14/06/2020, 01:42:49 UTC
Hello,

After 2 days of smashing my head to different walls, I managed to get to this point:

Successfully installed Oracle VirtualBox Manager.
Successfully installed Ubuntu from iso, but only after wasting an hour or more because I had to change a setting in BIOS: "intel virtual machine > disabled to enable"

Then I had to learn basic linux enviroment, which I never done before,

Successfully installed these dependencies/tools:

sudo apt update
sudo apt-get update
sudo apt install git
sudo apt-get install python3
sudo apt-get install python3-pyqt5
sudo apt-get install python3-setuptools
sudo apt-get install python3-pip
sudo apt-get install curl
sudo apt-get install protobuf-compiler
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce

Successfully downloaded Electrum, then ran it using

"python3 Electrum-3.3.8/run_electrum"

Ran a few tests, it works, it's all good, but I lost 2 days. Not complaining, I learned a few new things, tomorrow I will attempt to create the Standalone Executable for Windows. I would have been better off having someone with experience beside me to teach me a few things and I would have been glad to pay for that.
Post
Topic
Board Bitcoin Technical Support
Re: BTC Reward. How to compile Electrum standalone executable from Python source cod
by
jantalsma1
on 11/06/2020, 10:36:57 UTC
The problem is that I've never used Linux before, I don't know how to create a virtual machine with Linux, so I am better off someone doing this via rdp on my pc.
Post
Topic
Board Bitcoin Technical Support
Re: BTC Reward. How to compile Electrum standalone executable from Python source cod
by
jantalsma1
on 10/06/2020, 22:59:51 UTC
Anyone know how to compile Electrum standalone executable from Python source code?

Or can teach me/show me via RDP, I will pay in BTC. Name your price.

Please no time wasters, only if you have successfully done this before.

What is your coding experience and what are you trying to achieve? Just compile or you try modify some of the code?

If you ever done coding before the github page is pretty straight forward, if you never compiled a python script before I would recommend trying a simpler code repo to get some skin in the game before trying a complex code like electrum



Thanks for your concern, but not the case here since me and the guy who will teach me how to do this we will work on a freshly installed windows on a separate pc than my personal one. So no worries on that matter. No sensitive information there.

---------------- Now back to the topic

I wanna thank everyone for the replies,

I got a job offer from a premium member, so I will follow that lead and work with him on completion of the goal.

The task is simple, I just need someone to teach me how to compile Electrum standalone executable for windows from source code, and I pay in btc for this job. That's it.

Fair and simple.
Post
Topic
Board Bitcoin Technical Support
Topic OP
BTC Reward. How to compile Electrum standalone executable from Python source cod
by
jantalsma1
on 28/05/2020, 00:06:54 UTC
Anyone know how to compile Electrum standalone executable from Python source code?

Or can teach me/show me via RDP, I will pay in BTC. Name your price.

Please no time wasters, only if you have successfully done this before.
Post
Topic
Board Web Wallets
Re: How to Claim BTG from Blockchain.info ?
by
jantalsma1
on 21/01/2018, 10:14:52 UTC
To claim BTG you can just use Electrum Gold, https://www.electrumgold.org/

It's the same as electrum, but for BTG instead of bitcoin
Post
Topic
Board Bitcoin Discussion
Re: Is this Bitcoin run sustainable?
by
jantalsma1
on 02/12/2017, 20:07:38 UTC
we either see a run up to 14k usd till Christmas then a correction, or a correction soon, one of these 2