This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install build requirements | |
# The below will install various new packages on your system | |
# Do not do this unless you understand the consequences, Gulden developers cannot take responsibility for other effects this may have on other software on your system | |
sudo apt-get install curl build-essential libtool autotools-dev autoconf pkg-config libssl-dev git | |
# Fresh clone of repository | |
git clone https://github.com/Gulden/gulden-official.git | |
cd gulden-official/ | |
# If old clone of repository make sure to fetch latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Below sample code created in collaboration between Gulden team and multipool.us | |
# Available under public domain | |
if pow2_aux1 not in [None, '']: | |
aux1_bin = binascii.unhexlify(pow2_aux1) | |
aux1_output = halfnode.CTxOut() | |
aux1_output.deserialize(cStringIO.StringIO(aux1_bin)) | |
self.vout.append(aux1_output) | |
if pow2_aux2 not in [None, '']: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install build requirements | |
# The below will install various new packages on your system | |
# Do not do this unless you understand the consequences, Gulden developers cannot take responsibility for other effects this may have on other software on your system | |
sudo apt-get install libssl-dev libevent-dev build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python-dev libxml2-dev libxslt-dev libbz2-dev git software-properties-common curl | |
# The below will install gcc-7.3 on your system | |
# Do not do this on a system where you may need to compile other software relying on older GCC | |
# Do not do this unless you understand the consequences, Gulden developers cannot take responsibility for other effects this may have on other software on your system | |
# Only do this if you know what you are doing or are using a VM/Machine that is dedicated for the purpose of building Gulden | |
sudo add-apt-repository -y ppa:jonathonf/gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install build requirements | |
# The below will install various new packages on your system | |
# Do not do this unless you understand the consequences, Gulden developers cannot take responsibility for other effects this may have on other software on your system | |
sudo apt-get install libssl-dev libevent-dev build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python-dev libxml2-dev libxslt-dev libbz2-dev git software-properties-common curl | |
# The below will install gcc-7.3 on your system | |
# Do not do this on a system where you may need to compile other software relying on older GCC | |
# Do not do this unless you understand the consequences, Gulden developers cannot take responsibility for other effects this may have on other software on your system | |
# Only do this if you know what you are doing or are using a VM/Machine that is dedicated for the purpose of building Gulden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HDWallet = require('hdwallet') | |
var bitcoin = require('bitcoinjs-lib') | |
var hdwallet = new HDWallet({ | |
privateSeedWIF: 'privatewiffromcoluwebsitegoeshere'} | |
) | |
hdwallet.on('connect', function () | |
{ | |
hdwallet.getAddressPrivateKey("bitcoinaddresswheremoneyisgoeshere", function (err, priv) |