Running a Handshake Full Node on the Windows Subsystem for Linux


Activate the Windows Subsystem for Linux

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux -NoRestart Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart

Install Ubuntu on Windows

sudo apt update sudo apt upgrade

Set up Environment and Dependencies

curl -o- | bash
nvm install v14.16.1
node --version
sudo apt install unbound
sudo apt install python3-pip

Install and Configure the Handshake Daemon

git clone git://
npm install --production
node -e "bcrypto=require('bcrypto');\ console.log(bcrypto.random.randomBytes(32).toString('hex'))"
touch hsd.confecho "http-host:" >> hsd.confecho "api-key: <your-generated-api-key>" >> hsd.conf
npm install --global hs-client

Wrap Up

Hacker & Popperian