Setup a Darknode via Digital Ocean on Windows

Step 1: Create a Digital Ocean Account and API Token

If you don't have one already, create an account on Digital Ocean Enter your personal and payment information Once completed it will bring you to the DO ‘mainhub’ Click 'API' on the bottom left-hand side menu Click ‘Generate New Token’, with default settings, both write and read checked.

Step 2: Installing the Necessary Windows Software Follow the below instructions:

Click Start and type Powershell. Right-click and launch Windows PowerShell as an administrator. Run this command: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

This will activate "Windows Subsystem for Linux" optional feature. After this, restart your computer. Once restarted, open Microsoft Store and search for Ubuntu 18.04 LTS or Manual installation:

Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1804 -OutFile Ubuntu.appx -UseBasicParsing

Rename-Item Ubuntu.appx Ubuntu.zip

Expand-Archive Ubuntu.zip Ubuntu

.\Ubuntu\ubuntu.exe

Step 3: Install the Darknode CLI on Your Computer Open your Ubuntu terminal Input password you created above in step 2.5.1. Insert this text to install the CLI, by pasting:

curl https://www.github.com/renproject/darknode-cli/releases/latest/download/install.sh -sSfL | sh

Wait a minute or two. Once successfully installed, you'll see some green text.

Step 4: Deploy your Darknode Close and then re-open the Terminal app on your computer If everything goes well, you should see 3.1.3 when you run darknode --version command. Then copy and paste the following:

darknode up --name MY-FIRST-DARKNODE --do --do-token YOUR-API-TOKEN

*Example of what this would look like: darknode up --name darknodesteve --do --do-token 1111aca25cc77d84299e3b8a0f76f2ec33a27b1782adc2a7a96f0468116edf46

Before proceeding, make sure you have 100K REN in your MetaMask.

Step 5: Register your Darknode

Click the ‘REGISTER YOUR DARKNODE’ button (top left) in the CC. Submit your 100K Ren via MetaMask instructions, signing the presented transactions. Once completed, you will be notified that your ‘Registration is in Progress’. Wait patiently for your Darknode to be fully registered (can take up to 28 days). The CC will not function fully until the Darknode has been fully registered, so don't be alarmed if you explore the CC and buttons don't function properly. Just wait to explore until your registration is complete.Back up your Darknode file but inputting this into your terminal and pressing enter: cp -r .darknode/ /mnt/c/Users/xxxxx/Desktop/2020xxxx

Step 6: Congrats, you're all done and remember to periodically check on your Darknode.