Author Topic: How to set up a Dynode.  (Read 226 times)

RomeoD

  • Global Moderator
  • Newbie
  • *****
  • Posts: 3
  • Karma: +0/-0
    • View Profile
How to set up a Dynode.
« on: April 19, 2017, 08:49:35 PM »
The setup of a Dynode is very easy , and can be done in less than 5 minutes.


1. Open your wallet
2. Create a new wallet address
3. Send 1000 DYN to this address
4. Wait until you have 1 confirmation
5. Open the debug console
6. Enter "dynode genkey" (generates your privkey)
7. Enter "dynode outputs" , out put is like "xxxxxxxxxxx" , "y" (generates your txID and output index number) (8-11 Remote)
8. Open the dynamic.conf file via menu
9. Add line "externalip=xxx.xxx.xxx.xxx" fill in xxx with your external ip address
10. Add line "dynode=1"
11. Add line "dynodeprivkey='enter here the output of the genkey command'" (12-16 Local)
12. Open the dynode.conf file via menu
13. Add "'the alias that u want' 'the ip of the DN:31300' 'your privkey' 'the x output of the outputs command' 'the y of the outputs command'" Ex. "Node1 192.168.0.1:31300 YOURPRIVKEY 19fbbdac351728b1080dd5d8619f1aa0865b1181b4e4e918ec4586d60e5a3d2f 0" You need to fill in whatever name you want the node to be, your IP address, the transactionID and output number.
14. Close your wallet
15. Open your wallet back up
16. Wait until you have 15 confirmations of the 1000 DYN input , then the DN should normally autostart and switch to "pre-enabled" status, if not start it with the start alias button Do not include the " " or ' ' as listed above, just the information.

This for hot dynodes , meaning the coins are at the wallet of the IP. For cold storage wallets you have to do the exact same thing, but 8-11 are done at the remote node.

If your node says "MISSING" then make sure you have the confirmations needed and also that your information was entered correctly. Also make sure your port is open on your router. Dynode IP must be IPv4, as IPv6 is not supported.
« Last Edit: April 19, 2017, 09:12:48 PM by RomeoD »

Orestes

  • Global Moderator
  • Newbie
  • *****
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: How to set up a Dynode.
« Reply #1 on: June 04, 2017, 12:53:06 PM »
Hot Wallet
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
download bootstrap.dat
   http://dyn.coin-info.net/bootstrap/bootstrap-latest.tar.gz
and extract to
   C:\Users\[username]\AppData\Roaming\Dynamic
-----------------------------------------------------------------------------
Downoad and install Dynamic-Qt wallet
   https://github.com/duality-solutions/Dynamic/releases/download/v1.4.0.0/Dynamic-Windows-x64-v1.4.0.0-Setup.exe
   Run Dynamic-Qt wallet and let it sync
-----------------------------------------------------------------------------
Send 1000 DYN collateral as unique inputs to a unique wallet addresses
-----------------------------------------------------------------------------
Tools>Debug Console
to obtain outputs and privkeys, you need a unique privkey for every Dynode that you will run.
   dynode genkey //gives 'generated key'
   dynode outputs //gives 1000 DYN collateral outputs
-----------------------------------------------------------------------------
Tools>Open Dynode Configuration File
add for every dynode
[dynode_label] [vps-ip:port] [generated key] [collateral outputs]
Example: dn1 123.123.123.123:31300 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
ctrl+s //save to file
close file
restart wallet
Cold Wallet
-----------------------------------------------------------------------------
------------------------------------------------------------------------------
Initiate a server
options:
https://www.vultr.com/
https://www.digitalocean.com/
https://www.time4vps.eu/
...
Install OS i.e. Ubuntu 16.04
Obtain
   Hostname/IP
   Username
   Password
------------------------------------------------------------------------------
Download and install mRemoteNG
https://github.com/mRemoteNG/mRemoteNG/releases/download/v1.75Hotfix1/mRemoteNG-Installer-1.75.7000.19194.msi
Connect to VPS
Hostname/IP xxx.xxx.xxx.xxx
Username root
Password AaBbCcDd
Protocol SSH version 2
Port 22
------------------------------------------------------------------------------
mkdir .dynamic && cd .dynamic && wget http://dyn.coin-info.net/bootstrap/bootstrap-latest.tar.gz && tar -xvf bootstrap-latest.tar.gz && rm bootstrap-latest.tar.gz && cd && wget https://github.com/duality-solutions/Dynamic/releases/download/v1.4.0.0/Dynamic-Linux-x64-v1.4.0.0.tar.gz && tar -xvf Dynamic-Linux-x64-v1.4.0.0.tar.gz && rm Dynamic-Linux-x64-v1.4.0.0.tar.gz && cd dynamic-1.4.0/bin && ./dynamicd
wait 5 seconds
ctrl+z //stop program
------------------------------------------------------------------------------
sudo apt-get install nano && nano ~/.dynamic/dynamic.conf
add the following lines [
   dynode=1
   dynodeprivkey='generated key'
   ]
   ctrl+o //save to .dynamic/dynamic.conf
   ctrl+x
------------------------------------------------------------------------------
reboot
reconnect
------------------------------------------------------------------------------
cd dynamic-1.4.0/bin && ./dynamicd --daemon --loadblock=~/.dynamic/bootstrap.dat
./dynamic-cli getinfo
# getinfo gives a summary output
# let the wallet sync until "blocks" matches blockheight
# grab a coffee
-------------------------------------------------------------------------------
Hot wallet
Activate Dynode
Cold wallet
./dynamic-cli dynode status
# "Not capable Dynode: Dynode not in Dynode list"
# Wait until PRE_ENABLED becomes ENABLED
# "Dynode successfully started"
-------------------------------------------------------------------------------
To restart Dynode server
cd dynamic-1.4.0/bin && ./dynamicd --daemon
« Last Edit: June 05, 2017, 10:31:02 AM by Orestes »
Aristotle - 'All paid jobs absorb and degrade the mind.'