/constellation_wallet

The desktop wallet of Constellation Network aka. Molly Wallet.

Primary LanguageVueMIT LicenseMIT

Molly Wallet ($DAG desktop wallet)

N|Solid

The Molly Wallet is the official $DAG wallet of the Constellation Network. It'll let users interact with the Hypergraph
Network in various ways, not limited to producing $DAG transactions. The wallet is currently under development, the firs
t public release has been shipped with more to come.

Here's how the Constellation Team describes it on their website

Created by a Constellation community member, for the best community in crypto, and named after the wallet designer’s da
ughter, Molly is built with a vision to set future standards in digital commerce.

Just like your wallet that you use daily to pay for lunch, dinner, clothes, that hold your business cards, ID’s, and th
at lucky penny, our intention was to design something that people would use everyday. We live in an age where we have an
abundance of information, from videos to blogs, that are at our fingertips. Digital commerce is molding how generations
interact with one another, consume, and educate themselves. The nature of this wallet is digital and thus we wanted to
expand the possibilities of what a wallet could be and do because of its multimedia capabilities. We wanted to make it n
ot only user friendly, but create the space for applications to be developed by our vibrant open source community.

A true articulation of open innovation.

A cryptocurrency wallet is one of the most cherished pieces of technology to anyone that holds cryptocurrency. Yet many
wallets are visually unappealing, have limited functionality and utility, and are treated as an afterthought. We wanted
to bring it to the forefront and reimagine the wallet, the community that uses the wallet, and enable a future that wil
l be powered by DAG.

- Official Source

Publications

Technologies

Molly Wallet uses a number of open source projects to work properly:

  • VueJS - The Progressive JavaScript Framework
  • Go - Go is an open source programming language that makes it easy to build simple, reliable, and
    efficient software.
  • GORM - Object Relational Mapping for Go.
  • Wails - A framework for building desktop apps using Go & Web Technologies

Installation

Pre-requisits

Molly Wallet requires OpenJDK v9 and JRE to run.

Download Molly Wallet

The latest builds can be found under releases.

On Windows

For Molly Wallet to be able to detect the installation directory of Java, the JAVA_HOME enviornmental variable needs t
o be set. The Java path also has to be included in the Path variable.

Search for enviornment variables in windows search and select Edit the system enviornment variables, then set the JAVA
paths like in the below image.

env

Development Enviornment

1. Download the Go distribution from the official website.

The Go distribution and tooling is available as an installer for all common operating systems.
Visit https://golang.org/dl/ to download to correct version for your OS. The installation instructions can be found
here.

2. Download and install NPM.

NPM and Node.js can be downloaded from their official website. Simply select your
distribution/OS and CPU architecture.

3. Install Wails

The Molly Wallet is build using a light-weight framework for Desktop Applications using Go and VueJS. Wails is very s
imilar to Electron but is not packaging the full Chromium web browser as a dependency.

MacOS

Make sure you have the xcode command line tools installed. This can be done by running:
xcode-select --

Linux
Debian/Ubuntu

sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev

Debian: 8, 9, 10

Ubuntu: 16.04, 18.04, 19.04

Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon

Arch Linux

sudo pacman -S webkit2gtk gtk3

Also succesfully test on: Manjaro & ArcoLinux

Centos

sudo yum install webkitgtk3-devel gtk3-devel

CentOS 6, 7

Fedora

sudo yum install webkit2gtk3-devel gtk3-devel

Fedora 29, 30

VoidLinux & VoidLinux-musl

xbps-install gtk+3-devel webkit2gtk-devel

Gentoo

sudo emerge gtk+:3 webkit-gtk

Windows

Windows requires gcc and related tooling. The recommended download is from [http://tdm-gcc.tdragon.net/download](http:/
/tdm-gcc.tdragon.net/download). Once this is installed, you are good to go.

Installation

Ensure Go modules are enabled: GO111MODULE=on and go/bin is in your PATH variable.

Installation is as simple as running the following command:

go get -u github.com/wailsapp/wails/cmd/wails


4. Clone this repository into your GOPATH

git clone https://github.com/grvlle/constellation_wallet.git

Development

Want to contribute? Great!

Molly Wallet uses Wails + Webpack for fast frontend development.
Make a change in your file and instantaneously see your updates!

Open your favorite Terminal and run these commands.

In the constellation_wallet directory, run:

$ wails serve  

In the frontend directory, run:

$ npm run serve  
Alternatively:

If you wish to compile the wallet, simply run:

wails build  

or for the debug version, run:

wails build -d  

Top Contributers