Skip to content

XVG i2P Electrum client for connecting to the VERGE i2p Electrum Server

License

Notifications You must be signed in to change notification settings

sekure/electrum-xvg-i2p

 
 

Repository files navigation

Electrum-XVG - lightweight VERGE client for the XVG i2p electrum server

Electrum-XVG

Licence: GNU GPL v3

Authors: sunerok, bitspill & whit3water

Language: Python

Vergecurrency.com

1.a) GETTING STARTED WITH UBUNTU/LINUX

  • first, we install i2p.

sudo apt-add-repository ppa:i2p-maintainers/i2p

sudo apt-get update

sudo apt-get install i2p

i2prouter start

i2prouter stop

sudo nano ~/.i2p/i2ptunnel.config

  • (now paste the following at the end of the file)
tunnel.7.interface=127.0.0.1
tunnel.7.listenPort=9000
tunnel.7.name=verge9000
tunnel.7.option.i2cp.closeIdleTime=1800000
tunnel.7.option.i2cp.closeOnIdle=false
tunnel.7.option.i2cp.delayOpen=false
tunnel.7.option.i2cp.destination.sigType=7
tunnel.7.option.i2cp.newDestOnResume=false
tunnel.7.option.i2cp.reduceIdleTime=1200000
tunnel.7.option.i2cp.reduceOnIdle=false
tunnel.7.option.i2cp.reduceQuantity=1
tunnel.7.option.i2p.streaming.connectDelay=0
tunnel.7.option.i2ptunnel.httpclient.allowInternalSSL=false
tunnel.7.option.i2ptunnel.httpclient.sendAccept=false
tunnel.7.option.i2ptunnel.httpclient.sendReferer=false
tunnel.7.option.i2ptunnel.httpclient.sendUserAgent=false
tunnel.7.option.i2ptunnel.useLocalOutproxy=true
tunnel.7.option.inbound.backupQuantity=0
tunnel.7.option.inbound.length=3
tunnel.7.option.inbound.lengthVariance=0
tunnel.7.option.inbound.nickname=verge9000
tunnel.7.option.inbound.quantity=2
tunnel.7.option.outbound.backupQuantity=0
tunnel.7.option.outbound.length=3
tunnel.7.option.outbound.lengthVariance=0
tunnel.7.option.outbound.nickname=verge9000
tunnel.7.option.outbound.quantity=2
tunnel.7.option.outproxyAuth=false
tunnel.7.option.persistentClientKey=false
tunnel.7.option.useSSL=false
tunnel.7.privKeyFile=i2ptunnel7-privKeys.dat
tunnel.7.sharedClient=false
tunnel.7.startOnLoad=true
tunnel.7.type=sockstunnel
  • now save the file (ctrl-x and yes)

i2prouter restart

  • now we install the i2p electrum client:

sudo apt-get install git pyqt4-dev-tools python-pip python-dev python-slowaes

sudo pip install pyasn1 pyasn1-modules pbkdf2 tlslite scrypt qrcode ecdsa slowaes

git clone https://github.com/vergecurrency/electrum-xvg-i2p && cd electrum-xvg-i2p

pyrcc4 icons.qrc -o gui/qt/icons_rc.py

sudo python setup.py install

To run Electrum from this directory, just do:

./electrum-xvg

To update your copy of the electrum client:

cd electrum-xvg-i2p

git pull

sudo python setup.py install

1.b) GETTING STARTED WITH WINDOWS

now go to C:\program files\i2p\ and edit i2ptunnel.config

  • add the following lines to the end of the file:
tunnel.7.interface=127.0.0.1
tunnel.7.listenPort=9000
tunnel.7.name=verge9000
tunnel.7.option.i2cp.closeIdleTime=1800000
tunnel.7.option.i2cp.closeOnIdle=false
tunnel.7.option.i2cp.delayOpen=false
tunnel.7.option.i2cp.destination.sigType=7
tunnel.7.option.i2cp.newDestOnResume=false
tunnel.7.option.i2cp.reduceIdleTime=1200000
tunnel.7.option.i2cp.reduceOnIdle=false
tunnel.7.option.i2cp.reduceQuantity=1
tunnel.7.option.i2p.streaming.connectDelay=0
tunnel.7.option.i2ptunnel.httpclient.allowInternalSSL=false
tunnel.7.option.i2ptunnel.httpclient.sendAccept=false
tunnel.7.option.i2ptunnel.httpclient.sendReferer=false
tunnel.7.option.i2ptunnel.httpclient.sendUserAgent=false
tunnel.7.option.i2ptunnel.useLocalOutproxy=true
tunnel.7.option.inbound.backupQuantity=0
tunnel.7.option.inbound.length=3
tunnel.7.option.inbound.lengthVariance=0
tunnel.7.option.inbound.nickname=verge9000
tunnel.7.option.inbound.quantity=2
tunnel.7.option.outbound.backupQuantity=0
tunnel.7.option.outbound.length=3
tunnel.7.option.outbound.lengthVariance=0
tunnel.7.option.outbound.nickname=verge9000
tunnel.7.option.outbound.quantity=2
tunnel.7.option.outproxyAuth=false
tunnel.7.option.persistentClientKey=false
tunnel.7.option.useSSL=false
tunnel.7.privKeyFile=i2ptunnel7-privKeys.dat
tunnel.7.sharedClient=false
tunnel.7.startOnLoad=true
tunnel.7.type=sockstunnel

pyrcc4 icons.qrc -o gui/qt/icons_rc.py

py -m pip install pip pyasn1 pyasn1-modules pbkdf2 tlslite qrcode ecdsa ltc_scrypt

py setup.py install

1.c) GETTING STARTED WITH MAC OSX

(if you dont already have macports)

curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.3.3.tar.bz2

tar xf MacPorts-2.3.3.tar.bz2

cd MacPorts-2.3.3/

./configure

make

sudo make install

install python if you dont already have it.

https://www.python.org/ftp/python/2.7.10/python-2.7.10-macosx10.6.pkg

sudo easy_install pip

pip install slowaes

python setup.py build

Modify electrum-xvg and change python2 to python in the first line

sudo python setup.py install

then modify the i2ptunnel.config file in the i2p directory and add the following to the end of it:

tunnel.7.interface=127.0.0.1
tunnel.7.listenPort=9000
tunnel.7.name=verge9000
tunnel.7.option.i2cp.closeIdleTime=1800000
tunnel.7.option.i2cp.closeOnIdle=false
tunnel.7.option.i2cp.delayOpen=false
tunnel.7.option.i2cp.destination.sigType=7
tunnel.7.option.i2cp.newDestOnResume=false
tunnel.7.option.i2cp.reduceIdleTime=1200000
tunnel.7.option.i2cp.reduceOnIdle=false
tunnel.7.option.i2cp.reduceQuantity=1
tunnel.7.option.i2p.streaming.connectDelay=0
tunnel.7.option.i2ptunnel.httpclient.allowInternalSSL=false
tunnel.7.option.i2ptunnel.httpclient.sendAccept=false
tunnel.7.option.i2ptunnel.httpclient.sendReferer=false
tunnel.7.option.i2ptunnel.httpclient.sendUserAgent=false
tunnel.7.option.i2ptunnel.useLocalOutproxy=true
tunnel.7.option.inbound.backupQuantity=0
tunnel.7.option.inbound.length=3
tunnel.7.option.inbound.lengthVariance=0
tunnel.7.option.inbound.nickname=verge9000
tunnel.7.option.inbound.quantity=2
tunnel.7.option.outbound.backupQuantity=0
tunnel.7.option.outbound.length=3
tunnel.7.option.outbound.lengthVariance=0
tunnel.7.option.outbound.nickname=verge9000
tunnel.7.option.outbound.quantity=2
tunnel.7.option.outproxyAuth=false
tunnel.7.option.persistentClientKey=false
tunnel.7.option.useSSL=false
tunnel.7.privKeyFile=i2ptunnel7-privKeys.dat
tunnel.7.sharedClient=false
tunnel.7.startOnLoad=true
tunnel.7.type=sockstunnel

then restart i2p, and

sudo pip install pyasn1 pyasn1-modules pbkdf2 tlslite qrcode ecdsa slowaes requests

python electrum-xvg

(mac osx i2p can be downloaded from: https://geti2p.net/en/download/0.9.30/clearnet/https/download.i2p2.de/i2pinstall_0.9.30.jar/download)

  1. HOW OFFICIAL PACKAGES ARE CREATED

python mki18n.py

pyrcc4 icons.qrc -o gui/qt/icons_rc.py

python setup.py sdist --format=zip,gztar

On Mac OS X:

On port based installs

sudo python setup-release.py py2app

On brew installs

ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip

sudo hdiutil create -fs HFS+ -volname "Electrum-XVG" -srcfolder dist/Electrum-XVG.app dist/electrum-xvg-VERSION-macosx.dmg

[![Visit our i2p IRC Chat!] 127.0.0.1 6668 #verge

About

XVG i2P Electrum client for connecting to the VERGE i2p Electrum Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Other 0.5%