Settings => Languages & Frameworks => JavaScript language version and choose ECMAScript 6
https://docs.docker.com/install/
2. Run prebuilt Container (automated build https://hub.docker.com/r/webdollar/node/)
AutoSSL
docker run -d --restart=always -v /webdollar/ssl:/etc/letsencrypt/live -v /webdollar/data:/blockchainDB3 -e DOMAIN=<ENTER DOMAIN HERE> -e EMAIL=<ENTER EMAIL HERE> --name webdollar -p 80:80 -p 443:443 webdollar/node
NoSSL
docker run -d --restart=always -v /webdollar/data:/blockchainDB3 -e NOSSL=true -e SERVER_PORT=80 --name webdollar -p 80:80 webdollar/node
Follow the following instructions: http://webdollar.aji.ro/webdollar-mining-with-windows-terminal/
Required: v8.x It doesn't work with the new version 9.x
Windows: just download and install from URL: https://nodejs.org/en/download/
Linux: tutorial how to install Node.js using NVM (recommended) Install Node.js using NVM
git clone https://github.com/WebDollar/Node-WebDollar.git Node-WebDollar
cd Node-WebDollar
to enter in the downloaded folder of the repository
npm install
###In case you will get errors:
In case your will get errors from node-gyp especially for Argon2 or webrtc
open a Command Prompt with Administrator rights
cd C:\Path\To\Node-WebDollar\
npm install --global --production windows-build-tools
npm install
Installing Argon2 node.js
sudo apt install linuxbrew-wrapper
In case your receive some errors, try sudo apt-get -f install
To check the version gcc --version
In case the GCC is not installed, install gcc brew install gcc
sudo apt-get install clang
npm install -g node-gyp
gcc --version
will help you to find the Version. It worked on gcc 5 and gcc 6
Replace g++-5
with your version
Verify if you can access g++-5
or whatever version you have.
then install
env CXX=g++-5 npm install
env CXX=g++-5 npm install argon2
Tutorial based on ranisalt/node-argon2#29
Open a powershell terminal
npm install --python=python2.7
git clone https://github.com/ReadyTalk/win32.git
mkdir C:\OpenSSL-Win64\lib\
cp .\win32\msvc\lib\libeay32.lib C:\OpenSSL-Win64\lib\
rm -r -fo .\win32\
or cmd
npm install --python=python2.7
git clone https://github.com/ReadyTalk/win32.git
md C:\OpenSSL-Win64\lib\
copy /y .\win32\msvc\lib\libeay32.lib C:\OpenSSL-Win64\lib\
rd /s /q .\win32\
WebDollar uses SSL (Secured Socket Layer) and in order to generate your SSL Certificate you need a Domain or to generate your own SSL Certificate for your IP
Follow the Tutorial Install No-Ip using ddns.net
Inside Node-WebDollar folder, run:
sudo bash start-node-letsencrypt.sh
Unix
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT
If you are under a router/firewall, you need to port forward the port used by the Nodes: 80,443 or whatever port they use.
npm run commands
install pm2
npm install pm2 -g --unsafe-perm
Run pm2:
chmod +x start.sh
./start.sh
or
bash node-start.sh
To kill pm2 process, use pm2 stop id
- get id by running pm2 list
start.sh ???
npm run test
Obs. In case there you get an error message about some missing packages like the following one:
Error: Cannot find module 'name_missing_package'
just, run npm install name_missing_package
npm run build_browser
npm run test_browser
npm run build_browser_user_interface
open web page dist_bundle/browser/browser.html
npm run commands
npm run start
Follow the Tutorial PM2 to run the Node Indefinitely
- Pool Mining
- Multi-sig with Schnorr Signatures
7 Ethereum https://medium.com/@preethikasireddy/how-does-ethereum-work-anyway-22d1df506369
Mining in Bitcoins