Jump to content
Sign in to follow this  
Carsen

Denarius [DNR] NodeJS Web Wallet

Recommended Posts

Denarius [DNR] NodeJS Web Wallet

https://github.com/carsenk/denariusnodewallet

DesktopWalletMobileWallet

Live Demo: Currently unavailable

Denarius Node Wallet - A NodeJS/MongoDB powered denariusd Web Wallet.

Send and Receive Funds, Create new addresses, View Transactions, Edit your account, and more!

Swap between your DNR Balance in USD and BTC prices calculated from http://coinmarketcap.com/currencies/denarius-dnr/

2FA Authentication is included as well as QR Codes for addresses and 2FA!

Table of Contents

Features

  • Send and Receive DNR
  • Wallet Addresses, Create new ones
  • View all transactions
  • Two Factor Authentication
  • Mobile Ready Responsive Design
  • Local Authentication using Email and Password
  • OAuth 1.0a Authentication via Twitter
  • OAuth 2.0 Authentication via Facebook, Google, GitHub
  • Flash notifications
  • MVC Project Structure
  • Node.js clusters support
  • Sass stylesheets (auto-compiled via middleware)
  • Bootstrap 3 + Theme
  • Contact Form (powered by Mailgun, Sendgrid or Mandrill)
  • User Account Management
  • Gravatar
  • Profile Details
  • Change Password
  • Forgot Password
  • Reset Password
  • Link multiple OAuth strategies to one account
  • Delete Account
  • 2FA (MFA) Enable/Disable
  • CSRF protection
  • XSS protection

-More features will be coming!

Prerequisites

  • denariusd
  • MongoDB
  • Node.js 6.0+
  • Command Line Tools (Optional)
  • 687474703a2f2f64656c7567652d746f7272656e742e6f72672f696d616765732f6170706c652d6c6f676f2e676966 Mac OS X: Xcode (or OS X 10.9+: xcode-select --install)
  • 687474703a2f2f64633934326434313938343361663035353233622d66663734616531333533376130316265366366656335393237383337646366652e7231342e6366312e7261636b63646e2e636f6d2f77702d636f6e74656e742f75706c6f6164732f77696e646f77732d382d35307835302e6a7067 Windows: Visual Studio
  • 68747470733a2f2f6c68352e676f6f676c6575736572636f6e74656e742e636f6d2f2d32595331636548577979732f41414141414141414141492f41414141414141414141632f304c43625f747354766d552f7334362d632d6b2f70686f746f2e6a7067 Ubuntu / 68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f332f33662f4c6f676f5f4c696e75785f4d696e742e706e67 Linux Mint: sudo apt-get install build-essential
  • 687474703a2f2f69312d6e6577732e736f667470656469612d7374617469632e636f6d2f696d616765732f65787472612f4c494e55582f736d616c6c2f736c773231386e657773312e706e67 Fedora: sudo dnf groupinstall "Development Tools"
  • 68747470733a2f2f656e2e6f70656e737573652e6f72672f696d616765732f622f62652f4c6f676f2d6765656b6f5f686561642e706e67 OpenSUSE: sudo zypper install --type pattern devel_basis

Getting Started

The easiest way to get started is to clone the repository:

# Get the latest snapshot
git clone --depth=1 https://github.com/carsenk/denariusnodewallet.git denariuswallet

# Change directory
cd denariuswallet

# Install NPM dependencies
npm install

# Or, if you prefer to use `yarn` instead of `npm`
yarn install

# Then simply start your app
node app.js

# Or, if you are using nodemon
nodemon app.js

 

Note: I highly recommend installing Nodemon. It watches for any changes in your node.js app and automatically restarts the server. Once installed, instead of node app.js use nodemon app.js. It will save you a lot of time in the long run, because you won't need to manually restart the server each time you make a small change in code. To install, run sudo npm install -g nodemon.

Denarius Daemon Setup

You must have a Denarius daemon running on a local server or remote server (highly recommend using SSL)

Your configuration options should be set within your .env file, you can check the .env.example for examples

In your denarius.conf file (The Denariusd/QT configuration file) add the following to allow use of the web wallet.

enableaccounts=1
staking=0
server=1
rpcuser=yourusername
rpcpassword=yourpassword

 

License

The MIT License (MIT)

Copyright (c) 2017 Carsen Klock

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

  • Upvote 2

Share this post


Link to post
Share on other sites

68747470733a2f2f6c68352e676f6f676c6575736572636f6e74656e742e636f6d2f2d32595331636548577979732f41414141414141414141492f41414141414141414141632f304c43625f747354766d552f7334362d632d6b2f70686f746f2e6a7067 Ubuntu 16.04.02

I did not use some of the modules required before so I had to spend some time to get the dependencies right before installing the Web Wallet.

To simplify this I made a small script to install everything needed. (WIP at the moment though)

#!/bin/bash 

# WebWallet dependencies
# For Ubuntu 16.04.2 LTS

sudo apt-get update
sudo apt-get -y upgrade 

sudo add-apt-repository -y ppa:denariuscoin/ppa

sudo apt-get update

sudo apt-get install -y vim ssh build-essential git curl python-software-properties denariusd

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

sudo apt-get update

sudo apt-get install nodejs

sudo apt-get install -y mongodb

echo "  "
echo " -- "
echo " -- "
echo " - NodeJS version - "

nodejs -v

echo "  "
echo " -- "
echo " -- "
echo " -Mongo DB Version - "

mongod --version

echo "  "

 

Put it in a script and it will run unattended while you grab a coffee.

After this you can do the git clone and configure your settings as described in the first post above.

vim is not needed but it's the best editor for a cli only connection ;).

 

 

Edited by jarleven
  • Upvote 2

Share this post


Link to post
Share on other sites
15 hours ago, jarleven said:

68747470733a2f2f6c68352e676f6f676c6575736572636f6e74656e742e636f6d2f2d32595331636548577979732f41414141414141414141492f41414141414141414141632f304c43625f747354766d552f7334362d632d6b2f70686f746f2e6a7067 Ubuntu 16.04.02

I did not use some of the modules required before so I had to spend some time to get the dependencies right before installing the Web Wallet.

To simplify this I made a small script to install everything needed. (WIP at the moment though)

#!/bin/bash 

# WebWallet dependencies
# For Ubuntu 16.04.2 LTS

sudo apt-get update
sudo apt-get -y upgrade 

sudo add-apt-repository -y ppa:denariuscoin/ppa

sudo apt-get update

sudo apt-get install -y vim ssh build-essential git curl python-software-properties denariusd

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

sudo apt-get update

sudo apt-get install nodejs

sudo apt-get install -y mongodb

echo "  "
echo " -- "
echo " -- "
echo " - NodeJS version - "

nodejs -v

echo "  "
echo " -- "
echo " -- "
echo " -Mongo DB Version - "

mongod --version

echo "  "

 

Put it in a script and it will run unattended while you grab a coffee.

After this you can do the git clone and configure your settings as described in the first post above.

vim is not needed but it's the best editor for a cli only connection ;).

 

 

That's awesome mate good work :)


Thanks,

Stu - (RecoStar)

Denarius Mod

denarius-dnr.png.c89033ca9f0500ec0bcdf83c7dbb6e27.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...