This guide will help you install and configure DigiAsset Core on a Windows 10/11 machine using Hyper-V. This is a pre-configured installation that will require minimal setup and install/configure time. This is perfect if you are a Windows user and have an extra machine sitting around and would like to participate.
-
System Requirements:
- Windows 10 or 11 with Hyper-V support.
- At least 150GB of free disk space but up to 1TB of space could be required.
- Administrative privileges.
-
Credentials for the VM:
- Username:
digiasset
- Password:
tothemoon
- Username:
-
Downloads:
- Download the
DigiAsset.zip
file from the folowing Dropbox Link - (https://www.dropbox.com/scl/fi/c3yzrag5eheb363gqsmbb/DigiAsset.zip?rlkey=becbvqya415lhuihl8efyayvb&st=iyfauste&dl=0) - Extract the contents to
C:\digiasset
.Note: Ensure the files are in the root directory
C:\digiasset
as commands depend on this location. - Delete the
digiasset.zip
file after extraction to reclaim disk space.
- Open a PowerShell terminal as Administrator.
- Run the following command to enable Hyper-V:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
- Reboot your system.
** Note this assumses the network card name is "Ethernet"
- Open PowerShell as Administrator and create a virtual switch:
New-VMSwitch -Name "Lan" -NetAdapterName Ethernet -AllowManagementOS:$true
- Import the virtual machine:
Import-VM -Path "C:\DigiAsset\Virtual Machines\A4F1C73E-3384-4799-8E42-2A42A4FCB6B9.vmcx"
- Connect the network adapter to the virtual switch:
Get-VM "DigiAsset" | Get-VMNetworkAdapter | Connect-VMNetworkAdapter -SwitchName "Lan"
- Start the virtual machine:
Start-VM -Name DigiAsset
- Open Hyper-V Manager and connect to the
DigiAsset
VM. - Run the following command to check the IP address of the VM:
showipaddr
- Note the internal and external IP Addresses of your system.
- Install and launch PuTTY.
- Use the IP address from the previous step to connect to the VM via SSH.
- Login with:
- Username:
digiasset
- Password:
tothemoon
- Username:
- Navigate to the DigiAsset Core directory:
cd /home/digiasset/DigiAsset_Core/bin
- Launch DigiAsset Core:
./digiasset_core
Follow the prompts in the configuration wizard:
- DigiByte Core:
- Running locally:
Y
- Port:
14022
- Username:
user
- Password:
pass11
- Running locally:
- IPFS:
- Running locally:
Y
- Running locally:
- DigiByte Address - This is the address you want your payments to goto:
- Example:
D6oEbszUbYBjiY6BeVW6g8cSTmkY7TahXA
- Example:
- Pruning Mode:
- Recommended:
Y
- Recommended:
- Database Bootstrap:
- From IPFS:
Y
- From IPFS:
- Allow All RPC Commands:
- Recommended:
Y
- Recommended:
Once the config is finished, run the following command:
sudo reboot
Open the following ports on your external firewall and point them to the IP address of the Ubuntu VM:
- TCP/UDP 4001
- TCP 12024
You can SSH into the server using the local IP address and run the following 2 commands to check the log files. NOTE: You will need to enable logging and reboot to get logging information for DigiAsset Core
-
pico /home/digiasset/DigiAsset_Core/bin/config.cfg
-
add the following line at the end of the file. Then exit and save.
-
logfile=0
-
sudo reboot
-
tail /home/digiasset/.digibyte/debug.log - This will show the activity from the DigiByte Wallet
-
tail /home/digiasset/DigiAsset_Core/bin/debug.log - This will show the activity from the DigiAsset Core Applcation
You’re all set! DigiAsset Core should now be running on your system. If you encounter any issues, refer to the DigiAsset Core GitHub repository for further assistance.