Skip to content

Instantly share code, notes, and snippets.

View GiorgosK's full-sized avatar

Giorgos Kontopoulos GiorgosK

View GitHub Profile
@GiorgosK
GiorgosK / gist:f097053d4e941293bcbc93ed406ab422
Created April 23, 2020 08:17
How to install casperjs and phantomjs on Ubuntu
# tested on ubuntu 18.04 but should work for different versions as well
sudo apt-get update -y
sudo apt install phantomjs
phantomjs --version
cd /usr/lib
sudo git clone git://github.com/casperjs/casperjs.git
sudo ln -s /usr/lib/casperjs/bin/casperjs /usr/bin/casperjs
casperjs --version
#!/usr/bin/python
#Connect to the ElectrumX with socket
#@Created by Anoxy(Anoxxxy) [email protected]
#Python Server to communicate with the ElectrumX server.
#May be tweaked!
#To find what parameters and methods to use navigate to:
#https://github.com/kyuupichan/electrumx/blob/master/docs/PROTOCOL.rst
import time
Verifying my Blockstack ID is secured with the address 1eqX1Wk8cGs7sdsD1WmKEKZyFVmTiGiyd https://explorer.blockstack.org/address/1eqX1Wk8cGs7sdsD1WmKEKZyFVmTiGiyd