Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jackielove4u

Pages: [1] 2 3 ... 15
1
Tutorials / How to setup Groestlcoin Core Config Generator
« on: June 03, 2019, 06:28:41 pm »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
    • sudo apt-get install -y nodejs
    • git clone https://github.com/Groestlcoin/groestlcoin-core-config-generator
    • cd groestlcoin-core-config-generator
    • npm install
    • screen
    • npm start
    • Crtl+A, ctrl+D
    • cd ..
    • sudo add-apt-repository ppa:certbot/certbot
    • sudo apt-get update
    • sudo apt-get install certbot
    • certbot certonly --standalone -d config.groestlcoin.org
    • crontab -e
    • Add end of file:
      15 3 * * * /usr/bin/certbot renew --quiet
    • Crtl+o enter, ctrl X
    • apt-get install nginx
    • nano /etc/nginx/sites-available/default
    • delete all and paste:
      server {
          listen 80;
          listen 443 ssl;
          ssl_certificate /etc/letsencrypt/live/config.groestlcoin.org/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/config.groestlcoin.org/privkey.pem;
         
          server_name config.groestlcoin.org;

          # force https-redirects
          if ($scheme = http) {
              return 301 https://nanotip.groestlcoin.org$request_uri;
          }

          location / {
              proxy_pass http://localhost:3000;
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;

              # Enables WS support
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection "upgrade";
              proxy_redirect off;
          }
      }
    • service nginx restart

2
Tutorials / How to setup Groestlcoin Lightning JukeBox
« on: March 26, 2019, 12:31:34 pm »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin
      network=groestlcoin
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=1441
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
    • Crtl+o enter, ctrl X
    • screen
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • cd ..
    • git clone https://github.com/Groestlcoin/groestlcoin-lightning-charge
    • cd groestlcoin-lightning-charge
    • npm install
    • screen
    • npm start -- --api-token mySecretToken --host IpAddressOfServer --charge-url IpAddressOfServer:9112
    • Crtl+A, ctrl+D
    • cd ..
    • git clone https://github.com/Groestlcoin/lightning-jukebox
    • cd lightning-jukebox
    • npm install
    • screen
    • npm start -- --charge-token mySecretToken --price '0.0001 GRS' --port 80 --host 199.247.31.182 --charge-url http://199.247.31.182:9112
    • Crtl+A, ctrl+D
    • cd ..
    • sudo add-apt-repository ppa:certbot/certbot
    • sudo apt-get update
    • sudo apt-get install certbot
    • certbot certonly --standalone -d nanotip.groestlcoin.org
    • crontab -e
    • Add end of file:
      15 3 * * * /usr/bin/certbot renew --quiet
    • Crtl+o enter, ctrl X
    • apt-get install nginx
    • nano /etc/nginx/sites-available/default
    • delete all and paste:
      server {
          listen 80;
          listen 443 ssl;
          ssl_certificate /etc/letsencrypt/live/nanotip.groestlcoin.org/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/nanotip.groestlcoin.org/privkey.pem;

          server_name nanotip.groestlcoin.org;

          # force https-redirects
          if ($scheme = http) {
              return 301 https://nanotip.groestlcoin.org$request_uri;
          }

          location / {
              proxy_pass https://localhost:9115;
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;

              # Enables WS support
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection "upgrade";
              proxy_redirect off;
          }
      }
    • service nginx restart

3
Tutorials / How to setup Groestlcoin Lightning Tip Box
« on: March 26, 2019, 09:36:50 am »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin
      network=groestlcoin
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=1441
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
    • Crtl+o enter, ctrl X
    • screen
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • cd ..
    • git clone https://github.com/Groestlcoin/groestlcoin-lightning-charge
    • cd groestlcoin-lightning-charge
    • npm install
    • screen
    • npm start -- --api-token mySecretToken --host IpAddressOfServer --charge-url IpAddressOfServer:9112
    • Crtl+A, ctrl+D
    • cd ..
    • git clone https://github.com/Groestlcoin/nanotip
    • cd nanotip
    • npm install
    • screen
    • npm start -- --charge-token mySecretToken --host IpAddresssOfServer --charge-url http://IpAddressOfServer:9112 --port 80
    • Crtl+A, ctrl+D
    • cd ..
    • sudo add-apt-repository ppa:certbot/certbot
    • sudo apt-get update
    • sudo apt-get install certbot
    • certbot certonly --standalone -d nanotip.groestlcoin.org
    • crontab -e
    • Add end of file:
      15 3 * * * /usr/bin/certbot renew --quiet
    • Crtl+o enter, ctrl X
    • apt-get install nginx
    • nano /etc/nginx/sites-available/default
    • delete all and paste:
      server {
          listen 80;
          listen 443 ssl;
          ssl_certificate /etc/letsencrypt/live/nanotip.groestlcoin.org/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/nanotip.groestlcoin.org/privkey.pem;

          server_name nanotip.groestlcoin.org;

          # force https-redirects
          if ($scheme = http) {
              return 301 https://nanotip.groestlcoin.org$request_uri;
          }

          location / {
              proxy_pass https://localhost:9115;
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;

              # Enables WS support
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection "upgrade";
              proxy_redirect off;
          }
      }
    • service nginx restart

4
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind -testnet
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -testnet -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin_testnet
      network=testnet
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=17766
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
    • Crtl+o enter, ctrl X
    • screen
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    • sudo apt-get install -y nodejs
    • git clone https://github.com/groestlcoin/recksplorer
    • cd recksplorer
    • npm install
    • npm run build
    • screen -S recksplorer
    • NODE_ENV=production node server.js --daemon clightning
    • Crtl+A, ctrl+D
    • sudo add-apt-repository ppa:certbot/certbot
    • sudo apt-get update
    • sudo apt-get install certbot python-certbot-nginx -y
    • certbot certonly --standalone -d lntestnet.groestlcoin.org
    • crontab -e
    • Add end of file:
      15 3 * * * /usr/bin/certbot renew --quiet --nginx
    • Crtl+o enter, ctrl X
    • apt-get install nginx
    • nano /etc/nginx/sites-available/default
    • delete all and paste:
      server {
          listen 80;
          listen 443 ssl;
          ssl_certificate /etc/letsencrypt/live/lntestnet.groestlcoin.org/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/lntestnet.groestlcoin.org/privkey.pem;

          server_name lntestnet.groestlcoin.org;

          # force https-redirects
          if ($scheme = http) {
              return 301 https://lntestnet.groestlcoin.org$request_uri;
          }

          location / {
              proxy_pass https://localhost:3000;
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;

              # Enables WS support
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection "upgrade";
              proxy_redirect off;
          }
      }
    • service nginx restart

5
Tutorials / How to setup Groestlcoin lightning network explorer
« on: January 24, 2019, 10:54:47 am »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin
      network=groestlcoin
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=1441
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
    • Crtl+o enter, ctrl X
    • screen
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    • sudo apt-get install -y nodejs
    • git clone https://github.com/groestlcoin/recksplorer
    • cd recksplorer
    • npm install
    • npm run build
    • screen -S recksplorer
    • NODE_ENV=production node server.js --daemon clightning
    • Crtl+A, ctrl+D
    • sudo add-apt-repository ppa:certbot/certbot
    • sudo apt-get update
    • sudo apt-get install certbot python-certbot-nginx -y
    • certbot certonly --standalone -d lnmainnet.groestlcoin.org
    • crontab -e
    • Add end of file:
      15 3 * * * /usr/bin/certbot renew --quiet --nginx
    • Crtl+o enter, ctrl X
    • apt-get install nginx
    • nano /etc/nginx/sites-available/default
    • delete all and paste:
      server {
          listen 80;
          listen 443 ssl;
          ssl_certificate /etc/letsencrypt/live/lnmainnet.groestlcoin.org/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/lnmainnet.groestlcoin.org/privkey.pem;

          server_name lnmainnet.groestlcoin.org;

          # force https-redirects
          if ($scheme = http) {
              return 301 https://lnmainnet.groestlcoin.org$request_uri;
          }

          location / {
              proxy_pass https://localhost:3000;
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;

              # Enables WS support
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection "upgrade";
              proxy_redirect off;
          }
      }
    • service nginx restart

6
Tutorials / How to setup groestlsight for testnet
« on: January 20, 2019, 07:03:34 pm »
The following were tested in Ubuntu 14.04, some dependencies can be different in other distros. Nmp version must be 2.xx.xx and nodejs version must be v10.xx.xx
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
    • Crtl+o enter, ctrl X
    • groestlcoind -testnet
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -getinfo
    • curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
    • source ~/.profile
    • nvm install v0.10.48
    • sudo apt-get install nginx
    • git clone https://github.com/GroestlCoin/insight
    • cd insight
    • npm install --unsafe-perm
    • nano node_modules/insight-bitcore-api/config/config.js
    • edit rpcusername at line 72 user: process.env.BITCOIND_USER || 'yourusernamehere',
    • edit rpcpassword at line 73 to user: process.env.BITCOIND_USER || 'yourpasswordhere',
    • nano /etc/nginx/sites-available/default
    • delete all and paste:
      server {
          listen 80;
          #listen 443 ssl;
          #ssl_certificate /etc/nginx/ssl/nginx.crt;
          #ssl_certificate_key /etc/nginx/ssl/nginx.key;


          server_name groestlsight-test.groestlcoin.org;


          # force https-redirects
          #if ($scheme = http) {
          #    return 301 https://groestlsight-test.groestlcoin.org$request_uri;
          #}


          location / {
              proxy_pass http://localhost:3031;
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;

              # Enables WS support
              proxy_http_version 1.1;
              proxy_set_header Upgrade $http_upgrade;
              proxy_set_header Connection "upgrade";
              proxy_redirect off;
          }
      }
    • service nginx restart
    • screen
    • export NODE_ENV=production && export INSIGHT_NETWORK=testnet && export INSIGHT_FORCE_RPC_SYNC=1 && npm start
    • Crtl+A, ctrl+D
    • cd\
    • git clone https://github.com/Groestlcoin/bitcore-wallet-service
    • sudo apt-get install -y mongodb
    • cd bitcore-wallet-service/
    • npm install
    • chmod +x start.sh stop.sh
    • ./stop.sh
    • ./start.sh
    • sudo apt-get install certbot
    • certbot certonly --standalone -d blockbook.groestlcoin.org
    • crontab -e
    • Add end of file:
      15 3 * * * /usr/bin/certbot renew --quiet
    • Crtl+o enter, ctrl X
    • systemctl reload nginx

7
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind -testnet
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -testnet -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin_testnet
      network=testnet
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=17766
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
      rpc-file=/tmp/lightning-rpc
    • Crtl+o enter, ctrl X
    • screen -S lightning
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • sudo pip install pylightning Flask qrcode[pil]
    • git clone https://github.com/groestlcoin/fulmo
    • cd fulmo
    • screen -S fulmo
    • ./fulmo
    • Crtl+A, ctrl+D
    • Then just open a web browser to http://localhost:5000

8
Tutorials / How to setup C-lightning and Fulmo on the same server
« on: January 20, 2019, 05:48:43 pm »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin
      network=groestlcoin
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=1441
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
      rpc-file=/tmp/lightning-rpc
    • Crtl+o enter, ctrl X
    • screen -S lightning
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • sudo pip install pylightning Flask qrcode[pil]
    • https://github.com/groestlcoin/fulmo
    • cd fulmo
    • screen -S fulmo
    • ./fulmo
    • Crtl+A, ctrl+D
    • Then just open a web browser to http://localhost:5000

9
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind -testnet
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -testnet -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin_testnet
      network=testnet
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=17766
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
    • Crtl+o enter, ctrl X
    • screen -S lightning
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    • sudo apt-get install -y nodejs
    • git clone https://github.com/groestlcoin/groestlcoin-spark
    • cd groestlcoin-spark
    • npm install
    • screen -S spark
    • npm start -- -C ~/groestlcoin-spark/config --host YourIpAddressHere --no-tls --port 80
    • Crtl+A, ctrl+D
    • Your username and password and accesskey are saved in ~/groestlcoin-spark/config (username:password:accesskey format)
    • check if you can access and login to http://YourIpAddressHere/
    • check if you can login with your windows/osx/linux/Android client with http://YourIpAddressHere/ and the accesskey

10
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -getinfo
    • git clone https://github.com/Groestlcoin/lightning.git
    • cd lightning
    • ./configure
    • make
    • strip lightningd/lightningd cli/lightning-cli
    • mkdir ~/.lightning
    • nano ~/.lightning/config
    • write:
      alias=Groestlcoin
      network=groestlcoin
      bitcoin-rpcuser=yourusernamehere
      bitcoin-rpcpassword=yourpasswordhere
      bitcoin-rpcconnect=127.0.0.1
      bitcoin-rpcport=1441
      bind-addr=
      announce-addr=YOURIPADDRESS:9735
    • Crtl+o enter, ctrl X
    • screen -S lightning
    • ./lightningd/lightningd
    • Crtl+A, ctrl+D
    • check if all is ok: ./cli/lightning-cli getinfo
    • curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    • sudo apt-get install -y nodejs
    • git clone https://github.com/groestlcoin/groestlcoin-spark
    • cd groestlcoin-spark
    • npm install
    • screen -S spark
    • npm start -- -C ~/groestlcoin-spark/config --host YourIpAddressHere --no-tls --port 80
    • Crtl+A, ctrl+D
    • Your username and password and accesskey are saved in ~/groestlcoin-spark/config (username:password:accesskey format)
    • check if you can access and login to http://YourIpAddressHere/
    • check if you can login with your windows/osx/linux/Android client with http://YourIpAddressHere/ and the accesskey

11
Tutorials / How to setup p2pool
« on: January 15, 2019, 02:19:10 pm »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli
    • git clone https://github.com/Groestlcoin/p2pool
    • cd p2pool
    • sudo apt-get install python-zope.interface python-twisted python-twisted-web python-argparse python-pip setuptools -y
    • sudo pip install setuptools
    • sudo pip install -r requirements.txt
    • cd groestlcoin-subsidy-python
    • sudo python setup.py install
    • cd ..
    • ./run_p2pool.py --net groestlcoin --address YourPoolGrsAddressHere --give-author 0
    • Check if all is ok on http://YourIPAddressHere:11330/static/

12
Tutorials / How to setup p2pool for testnet
« on: January 15, 2019, 02:17:49 pm »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04, some dependencies can be different in other distros.
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • ./autogen.sh
    • ./configure
    • make
    • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
    • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
    • mkdir ~/.groestlcoin
    • nano ~/.groestlcoin/groestlcoin.conf
    • write:
      listen=1
      server=1
      maxconnections=865
      daemon=1
      txindex=1
      rpcuser=yourusernamehere
      rpcpassword=yourpasswordhere
      whitelist=127.0.0.1
    • Crtl+o enter, ctrl X
    • groestlcoind -testnet
    • Let it sync (can take up to 2 hours), verify with groestlcoin-cli -getinfo
    • git clone https://github.com/Groestlcoin/p2pool
    • cd p2pool
    • sudo apt-get install python-zope.interface python-twisted python-twisted-web python-argparse python-pip setuptools -y
    • sudo pip install setuptools
    • sudo pip install -r requirements.txt
    • cd groestlcoin-subsidy-python
    • sudo python setup.py install
    • cd ..
    • ./run_p2pool.py --net groestlcoin --testnet --address YourPoolGrsAddressHere --give-author 0
    • Check if all is ok on http://YourIPAddressHere:21330/static/

13
Tutorials / How to setup Ledger Nano S with Electrum-GRS
« on: December 19, 2018, 02:11:51 pm »
Electrum-GRS (from version 3.2.2) features support for the Ledger device (Linux, Windows, OS X). Install the Groestlcoin app on your Ledger device to manage GRS with the Electrum-GRS wallet.

Before you start

Install Groestlcoin app on Ledger device
  • Open the Manager in Ledger Live.
  • Connect and unlock your Ledger device.
  • If asked, allow the manager on your device by pressing the right button.
  • Find Groestlcoin in the app catalog.
  • Click the Install button of the app.
  • An installation window appears.
  • Your device will display Processing...
  • The app installation is confirmed.

Install Electrum-GRS
Download for your operating system and install Electrum-GRS from the official site.

Configure Electrum-GRS
Select "Standard wallet"



Connect your Ledger device to your computer, enter the PIN and select the Groestlcoin app.
Then select "Use a hardware device"



Once your Ledger device is detected:



Press "Next", and "choose the type of addresses in your wallet"



Click on "Next", and Electrum-GRS will synchronize your account.

Receiving a transaction
Open the Receive tab. Copy and share the Receiving address with the person or service that will transfer to your account. Make sure you double check the address if you copy and paste it.

Sending a transaction
  • Open the Send tab.
  • Enter the recipient address in the Pay to field. Please verify the address when you copy and paste.
  • Enter the Amount to send and select the network fees.
  • Click Send. Check the amount and fees, then confirm by clicking Yes.
  • Verify the amount, receiving address and fees all displayed on your device.
  • If everything is correct, confirm the transaction by pressing the right button to sign it.

Important archlinux user note
installation of python2-btchip is required to detect the Ledger device.

Important Ubuntu user note
These additional steps are required on Ubuntu 16.04:
- apt-get install libusb-1.0-0-dev
- apt-get install libudev-dev
- ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so
- pip install btchip-python


Support
https://www.groestlcoin.org/#contact

14
Tutorials / How to update Blockbook (for testnet)
« on: November 22, 2018, 01:27:53 pm »
The following were tested in Debian 9, some dependencies can be different in other distros
    • systemctl stop blockbook-groestlcoin (for testnet: systemctl stop blockbook-groestlcoin-testnet)
    • systemctl stop backend-groestlcoin (for testnet: systemctl stop backend-groestlcoin-testnet)
    • cd blockbook
    • git pull
    • make deb-backend-groestlcoin deb-blockbook-groestlcoin (for testnet: make deb-backend-groestlcoin_testnet deb-blockbook-groestlcoin_testnet)
    • cd build
    • apt install ./blockbook-g*deb ./backend-g*deb -y
    • systemctl start backend-groestlcoin (for testnet: systemctl start backend-groestlcoin-testnet)
    • systemctl start blockbook-groestlcoin (for testnet: systemctl start blockbook-groestlcoin-testnet)

15
The following were tested in Ubuntu 14.04, Ubuntu 16.04 and Ubuntu 18.04, some dependencies can be different in other distros
    • aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
    • dd if=/dev/zero of=/swapfile bs=1M count=4096
    • mkswap /swapfile
    • swapon /swapfile
    • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
    • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
    • sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
    • sudo apt-get install g++-aarch64-linux-gnu g++-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf gcc-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf g++-4.8-multilib gcc-4.8-multilib binutils-gold
    • sudo apt install g++-mingw-w64-x86-64
    • sudo update-alternatives --config x86_64-w64-mingw32-g++ # Set the default mingw32 g++ compiler option to posix.
    • sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev
    • sudo update-alternatives --config i686-w64-mingw32-g++  # Set the default mingw32 g++ compiler option to posix.
    • sudo apt install nsis
    • git clone https://github.com/groestlcoin/groestlcoin
    • cd groestlcoin
    • cd depends
    • make HOST=x86_64-w64-mingw32
    • cd ..
    • ./autogen.sh
    • ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32
    • make
    • make deploy

The following were tested in Windows 10 with Windows Subsystem for Linux (WSL), some dependencies can be different in other Windows versions
    • start OptionalFeatures.exe
    • Enable 'Windows Subsystem for Linux'
    • Click 'OK' and restart if necessary
    • Open Microsoft Store and search for "Ubuntu 18.04"
    • Click Install
    • Open a cmd prompt and type "Ubuntu1804"
    • Create a new UNIX user account (this is a separate account from your Windows account)
    • sudo apt update && sudo apt upgrade -y
    • sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git nsis -y
    • sudo apt install g++-mingw-w64-x86-64
    • sudo update-alternatives --config x86_64-w64-mingw32-g++ # Set the default mingw32 g++ compiler option to posix.
    • sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev
    • sudo update-alternatives --config i686-w64-mingw32-g++  # Set the default mingw32 g++ compiler option to posix.
    • git clone https://github.com/groestlcoin/groestlcoin
    • PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g')
    • cd groestlcoin
    • cd depends
    • make HOST=x86_64-w64-mingw32
    • cd ..
    • ./autogen.sh
    • CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
    • make
    • make deploy
    • Find the installer on C:\Users\username\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\username\groestlcoin

Pages: [1] 2 3 ... 15
anything