digivault

0.1.21 • Public • Published



DigiVault

DigiAssets desktop wallet application for digital asset issuance and management.

DigiVault is a desktop client for the DigiAssets protocol layered on top of the DigiByte blockchain.
It utilizes DigiAssets full-node, which in its turn is dependant on DigiByte-Core, the DigiByte reference client.
It downloads and maintains a full copy of the blockchain locally, coupled with parsed DigiAssets assets layer of DigiAssets payload transactions - so it keeps the protocol true peer-to-peer with no dependance on external servers.

Note: A DigiAssets transaction, just as any other DigiByte transaction, requires a tiny amount of DGB to be transferred with it. Since the DigiValut gives full control to the user, it's up to the DigiVault client to finance DigiAssets transactions.

If you would like to deep dive to our programmatic Node.js (and browser) API for issuance and transfer of digital assets, go to Getting started with DigiAssets SDK.

Get DigiVault Running on OSX

This guide assumes you already have homebrew & node installed on your Mac. If not read here: https://brew.sh/ for brew installation.

Then:

$ brew install node

Prerequisites

Install DigiByte Core Wallet

Download Latest DigiByte Core Wallet https://github.com/digibyte/digibyte/releases

Navigate to DigiByte Data directory ~/Libary/Application Support/DigiByte

You might need to show hidden files on your mac in terminal with:

$ defaults write com.apple.finder AppleShowAllFiles YES

Relaunch terminal/finder

Create digibyte.conf file that looks like this and restart wallet:

algo=scrypt
rpcport=14022
txindex=1
testnet=1
rpcuser=rpcuser
rpcpassword=rpcpass
rpcallowip=127.0.0.1
server=1
listen=1
daemon=1
deprecatedrpc=accounts

Will take awhile so let it run while you set the rest up.

Install NVM with Home Brew (to control version of Node DigiVault uses)

Skip this section if you already have Node Version Manager installed.

$ brew install nvm
$ mkdir ~/.nvm/
$ code ~/.bash_profile

Paste This and Save

export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh

Restart or source terminal.

Install Redis Server & Start It

Open new terminal window for redis, use brew to install it and then start it.

$ brew install redis
$ redis-server /usr/local/etc/redis.conf

Get the DigiVault code

$ git clone https://github.com/DigiByte-Core/DigiVault.git
cd DigiVault

Install Deps & Run DigiVault

$ nvm install 8.11.3
$ node -v
$ npm install
$ npm start

Watch the code

Restart the app automatically every time code changes. Useful during development.

$ npm run watch

Package the app

Builds app binaries. Currently, only Windows is available.

$ npm run package -- [options]

For [options] the following optional arguments are available:

  • --sign - Sign the application
  • --package=[type] - Package single output type.
    • exe - Windows installer
    • portable - Windows portable app
    • all - All available package options

Windows installation instructions

This presumes you have previously loaded up DigiByte (Currently 6.17.2) and sync'd the whole blockchain You'll want to download redis for windows as well as nodejs v8.11.3 win64 .msi installer Also download DigiVault from this repo.

You'll want to add the following to your digibyte.conf in %AppData%\DigiByte\

algo=scrypt
rpcport=14022
txindex=1
testnet=1
rpcuser=rpcuser
rpcpassword=rpcpass
rpcallowip=127.0.0.1
server=1
listen=1
daemon=1
deprecatedrpc=accounts

Start by extracting DigiVault in to %UserProfile%\DigiVault This is done for simplicity of running the application

Extract redis-server, then start redis-server.exe and leave the terminal window running at all times

Install node.js following the prompts, then run "Node.js command prompt" from your start menu

Run the following in your Node.js command prompt window:

npm install
npm start

It will automatically launch DigiByte in the background, so ensure you have closed your main DigiByte-QT app.

Support

You can find support at our Telegram, or e-mail us to dev@digibyte.io.

License

AGPL-3.0

Readme

Keywords

none

Package Sidebar

Install

npm i digivault

Weekly Downloads

2

Version

0.1.21

License

AGPL-3.0

Unpacked Size

2.07 MB

Total Files

92

Last publish

Collaborators

  • digibyte