Announcement

Collapse
No announcement yet.

Installing DigiVault for DigiAssets on Windows

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installing DigiVault for DigiAssets on Windows

    Installing DigiVault for DigiAssets on Windows

    This is a brief starter guide to get you going with a very early pre-release of DigiVault for DigiAssets, running from a Windows PC. There will be bugs, but there will also be much joy, excitement, enthusiasm, and you’ll hopefully learn a few*things.
    NOTE: This guide uses the DigiByte Testnet, so HDD / RAM requirements are very minimal at this point in time. Mainnet launch in future will no doubt*differ.
    There are 5x things you’re going to*need:
    • Redis server
    • Git
    • Node.js
    • DigiByte Core*Wallet
    • DigiAssets
    To start with, download a Windows version of Redis (redis-2.4.5-win32-win64.zip):
    dmajkic/redis
    Get yourself the latest version of*Git:
    Git - Downloads
    You’ll also want to download version 8.11.3 of Node (node-v8.11.3-x64.msi):
    Index of /dist/v8.11.3/
    Also then download the latest test version of DigiByte-7.17.1 (beta 3 right now). This is needed due to the fact the Testnet is now running Odocrypt, and the Testnet is what we’re going to be*using:
    Directory Contents
    WARNING: Do not use this build for anything but testing DigiAssets. You should not be using 7.17.1 on mainnet as of April 2019. We specifically set it to use Testnet later in this guide, but consider this a*warning.
    Getting DigiByte Core*ready

    So once it’s downloaded, install*7.17.1
    Launch the DigiByte Testnet*version:
    [IMG]https://cdn-images-1.medium.com/max/367/1*EkcC7JhJneLqEXkGYGFbuA.png[/IMG]You’ll see it looks a little different when launching it, with the purple*colors:
    [IMG]https://cdn-images-1.medium.com/max/482/1*029F1Osr-Yt6pBSCisGF8w.png[/IMG]Loading up*TestNetOnce it’s open, go in to Settings → Options → Open Configuration File
    Open it in Notepad or Wordpad, and you want the contents to be as*follows:
    rpcuser=rpcuser
    rpcpassword=rpcpass
    rpcallowip=127.0.0.1
    rpcport=14023
    server=1
    listen=1
    txindex=1
    deprecatedrpc=accounts
    testnet=1
    addnode=testnet-1.us.digibyteservers.io
    addnode=seed2.digibyte.io
    It should look like*this:
    [IMG]https://cdn-images-1.medium.com/max/385/1*BpznFwa_MoGmRyWjQNTKEQ.png[/IMG]Your digibyte.confThis gets DigiByte ready to be used by the DigiVault on the*Testnet.
    Go to File → Save, so it saves the*.conf*file.
    Relaunch DigiByte Testnet so that you can watch it sync up fully. On a mediocre PC it will probably take 5–15 minutes as of April 2019, depending on your CPU, internet connection etc
    You may now close the DigiByte Testnet app, because DigiVault will automatically open it up*itself.
    On to the Redis-server.

    Extract the Redis-server to somewhere such as your Downloads folder. You’ll want to go in to the 64bit folder. Copy all the files in here, we’re going to paste them somewhere else.
    Next, go in to your PC (ex “My Computer), under your C: Drive, then Program Files. Make a new folder called “redis”. Paste all your files in there. When prompted, tell it “Allow for all*files”.
    [IMG]https://cdn-images-1.medium.com/max/1024/1*z6Yyecn8oSbQ3puMslEk2w.png[/IMG]This way, DigiVault can automatically start the redis server in the background for you so that you don’t have to do any extra work each time you load up DigiVault.
    Install Git

    Git is needed to get the latest parts of the DigiVault server. Install the latest version. When prompted, ensure you choose “Git from the command line and also from 3rd-party software”.
    [IMG]https://cdn-images-1.medium.com/max/499/1*7J36w3qjSiTZOVLcM-JPXQ.png[/IMG]All of the other defaults are going to be fine, so just hit the “Next” button a bunch of times to complete the installations.
    DigiVault time

    Next, download the DigiVault zip from*GitHub:
    DigiByte-Core/DigiVault
    Click on “Clone or download” then click “Download ZIP”:
    [IMG]https://cdn-images-1.medium.com/max/371/1*vbbTSlbIMeu5ekyy95pNAA.png[/IMG]Once downloaded, you then want to extract it to %UserProfile%. Do this, push the WinKey + R and enter it*in:
    %UserProfile%
    [IMG]https://cdn-images-1.medium.com/max/399/1*dfLMZRmOhvhgj7-7BRCjFA.png[/IMG]This will open Windows Explorer and show you a folder that contains your Desktop, Documents, Downloads, Pictures etc. Extract it here and it will put it into the “DigiVault-master” folder:
    [IMG]https://cdn-images-1.medium.com/max/377/1*CxB3tIDUaby93dn28z6TTA.png[/IMG]You’re almost*there!
    Keep this window open though because we’ll come back to*it.
    Getting node.js*ready

    Next, run through the installer for*node.js
    [IMG]https://cdn-images-1.medium.com/max/772/1*9IKH3EvcWJDyEhGbEojhzA.png[/IMG]Installing Node.jsJust hit the “Next” button a bunch of times, the defaults will be*fine.
    Now, launch the node.js command*prompt:
    [IMG]https://cdn-images-1.medium.com/max/266/1*LMJaLcwtqBGKQW1bBwyvMg.png[/IMG]Then type:
    cd DigiVault-master
    npm*install
    This is going to get it prepped and ready to be run on your PC. This process will take another minute or*two.
    Now you can fire it*up:
    npm start
    You’ll see it working away for a moment launching. If you’re prompted, you want to allow the Electron app through your firewall:
    [IMG]https://cdn-images-1.medium.com/max/527/1*5ETdYbhXHidHC5Dkd0veYg.png[/IMG]Allow this access out your firewall on both Private and Public*networksYou’ll be greeted with the DigiAssets DigiVault:
    [IMG]https://cdn-images-1.medium.com/max/587/1*C0zx-UPQeZJoaPHDq4q1Vw.png[/IMG]Tell it to create a new wallet for*you.
    DigiVault will now load up a few things in the background, such as the redis*server.
    [IMG]https://cdn-images-1.medium.com/max/416/1*2pNNZobYvQxJLjxABIb82g.png[/IMG]This is currently loading up the DigiByte Testnet in the background. After a few minutes while DigiByte loads the blocks in the background there, you’ll then*see:
    [IMG]https://cdn-images-1.medium.com/max/706/1*h-f1g0gcSLGkFfWUNeWelA.png[/IMG]You’ll then be greeted with a QR code and a freshly generated address:
    [IMG]https://cdn-images-1.medium.com/max/666/1*SQ7jCIktd6ixK8nHdUiINw.png[/IMG]Copy this address and head on over to https://testnet-1.us.digibyteservers.io to get yourself some Testnet DigiByte.
    These Testnet DigiByte are completely worthless in every sense, because people can generate their own blocks with Testnet DigiByte with basically zero effort. This is simply an easier and faster way for non-technical people to get*them.
    Paste your address in and hit*Submit.
    [IMG]https://cdn-images-1.medium.com/max/766/1*C3Ufi8ee5xV9dMhwNN7FJw.png[/IMG]You should get a transaction confirmation. The Testnet DigiByte will take approx 60–90 seconds for this to show up in to your*wallet.
    Unfortunately at present DigiVault does not automatically notice when you’ve received the initial DigiByte so you need to close down DigiVault and reopen it 90 seconds later with “npm start” again. Give it a good few seconds to close off the redis-server and DigiByte Core Testnet before running that*again.
    It will take a few seconds to fire up DigiByte Core, redis-server and syncing the new testnet transactions. Once done, you’ll be greeted with a success*window:
    [IMG]https://cdn-images-1.medium.com/max/483/1*jaFOIsIEVdPv34FL9c1QLg.png[/IMG]You are now ready to both issue DigiAssets, and you can also receive them on the address you funded earlier*too.


    More Josiah Digibyte Updates on Medium...
    Cryptocurrency Trading Courses http://www.digitalcurrencytraders.com
Working...
X