ainovaz / dagcoin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dagcoin as cryptocurrency is built on a new technology called DAG chain, offering scalable, low cost and secure payments. Dagcoin uses byteball network as an underlying platform. Our mission is to provide alternative currency for everyday using, focusing on Asian market to help unbanked people manage their funds better. By doing that, Dagcoin will be the most widely used open source cryptocurrency in the world.

Main Features

TBD

Installation

Download and install NW.js v0.14.7 LTS and Node.js v5.12.0. These versions are recommended for easiest install but newer versions will work too. If you already have another version of Node.js installed, you can use NVM to keep both.

Clone the source:

git clone https://github.com/dagcoin/dagcoin.git
cd dagcoin

If you are building for testnet, switch to testnet branch:

git checkout testnet

Install bower and grunt if you haven't already:

npm install -g bower
npm install -g grunt-cli

Build Dagcoin:

bower install
npm install
grunt

If you are on Windows or using NW.js and Node.js versions other than recommended, see NW.js instructions about building native modules.

After first run, you'll likely encounter runtime error complaining about node_sqlite3.node not being found, copy the file from the neighboring directory to where the program tries to find it, and run again. (e.g. from dagcoin/node_modules/sqlite3/lib/binding/node-v47-darwin-x64 to dagcoin/node_modules/sqlite3/lib/binding/node-webkit-v0.14.7-darwin-x64)

Then run Dagcoin desktop client:

/path/to/your/nwjs/nwjs .

Build Dagcoin App Bundles

Android

  • Install Android SDK
  • Run make android-debug

macOS

  • run make prepare-package

Windows

  • grunt desktop
  • copy node_modules into the app bundle ../byteballbuilds/Byteball/win64, except those that are important only for development (karma, grunt, jasmine)
  • grunt inno64

Linux

  • grunt desktop
  • copy node_modules into the app bundle ../byteballbuilds/Byteball/linux64, except those that are important only for development (karma, grunt, jasmine)
  • grunt linux64

About Dagcoin

TBD

Dagcoin Backups and Recovery

Dagcoin uses a single extended private key for all wallets, BIP44 is used for wallet address derivation. There is a BIP39 mnemonic for backing up the wallet key, but it is not enough. Private payments and co-signers of multisig wallets are stored only in the app's data directory, which you have to back up manually:

  • macOS: ~/Library/Application Support/dagcoin
  • Linux: ~/.config/dagcoin
  • Windows: %LOCALAPPDATA%\dagcoin

Support

Credits

Dagcoin is based on Byteball

License

MIT.

About

License:MIT License


Languages

Language:JavaScript 67.0%Language:HTML 20.9%Language:CSS 8.6%Language:Shell 1.8%Language:Inno Setup 0.8%Language:Makefile 0.6%Language:C# 0.3%