Giter VIP home page Giter VIP logo

localcoinis / localcoin-ui Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 6.0 240.19 MB

Fully featured Graphical User Interface / Reference Wallet for the LocalCoin Blockchain

Home Page: https://wallet.localcoin.is/

License: MIT License

JavaScript 89.62% HTML 0.46% CSS 8.83% CoffeeScript 0.07% Shell 0.02% NSIS 0.09% PHP 0.01% C# 0.91%
bitshares cryptocurrency blockchain-wallet bitshares-ui wallet blockchain web-app javascript localcoin localcoin-ui reactjs

localcoin-ui's Introduction

Deployment rules

  1. Compile "npm run build"
  2. Push your build to dev branch
  3. Check test server https://devwallet.localcoin.is, if it's ok merge to live branch, push

Build will be autodeployed to the server. Working by ssh, keep in mind proper chown&chmod.

LocalCoin-UI

This is a light wallet that connects to a LocalCoin API provided by the witness_node executable.

It stores all keys locally in the browser, never exposing your keys to anyone as it signs transactions locally before transmitting them to the API server which then broadcasts them to the blockchain network. The wallet is encrypted with a password of your choosing and encrypted in a browser database.

Getting started

LocalCoin-UI depends node Node.js, and version 9+ is required.

On Ubuntu and OSX, the easiest way to install Node is to use the Node Version Manager.

To install NVM for Linux/OSX, simply copy paste the following in a terminal:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
nvm install v9
nvm use v9

Once you have Node installed, you can clone the repo:

git clone https://github.com/localcoinis/localcoin-ui.git
cd localcoin-ui

Before launching the GUI you will need to install the npm packages:

npm install

Running the dev server

The dev server uses Express in combination with Webpack.

Once all the packages have been installed you can start the development server by running:

npm start

Once the compilation is done the GUI will be available in your browser at: localhost:9000 or 127.0.0.1:9000. Hot Reloading is enabled so the browser will live update as you edit the source files.

TODO: Testnet

By default localcoin-ui connects to the live LocalCoin network. TODO: (switch it to the testnet. To do so, open the UI in a browser, go to Settings, then under Access, select the Public Testnet Server in the dropdown menu. You should also change the faucet if you need to create an account, the testnet faucet address is https://testnet.localcoin.is.)

The UI will reload and connect to the testnet, where you can use the faucet to create an account and receive an initial sum of test LLC.

Production

If you'd like to host your own wallet somewhere, you should create a production build and host it using NGINX or Apache. In order to create a prod bundle, simply run the following command:

npm run build

This will create a bundle in the /dist folder that can be hosted with the web server of your choice.

Installable wallets

We use Electron to provide installable wallets, available for Windows, OSX and Linux Debian platforms such as Ubuntu. First, make sure your local python version is 2.7.x, as a dependency requires this.

On Linux you will need to install the following packages to handle icon generation:

sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils

For building, each architecture has it's own script that you can use to build your native binary:

Linux npm run package-deb
Windows npm run package-win
Mac npm run package-mac

This will compile the UI with some special modifications for use with Electron, generate installable binaries with Electron and copy the result to the root build/binaries folder.

Contributing

Please work off the staging branch (dev) and make pull requests to that branch. The master branch will only be updated for new releases.

If you would like to get involved, we have a Telegram chatroom where you can ask questions and get help. You may also join LocalCoin on Discord

Development process

  • Milestones are numbered YYMMDD and refer to the anticipated release date.
  • Bugs are always worked before enhancements
  • Developers should work each issue according to a numbered branch corresponding to the issue git checkout -b 123
  • If an issue is already claimed (assigned), do not attempt to claim it. Issues claimed by outside developers will indicate an assignment to wmbutler, but will mention the developer's github account in this the comments.
  • To claim an issue, simply leave a comment with your request to claim.
  • Do not claim an issue if you will be unable to complete it by the date indicated on the Milestone name

Coding style guideline

Our style guideline is based on 'Airbnb JavaScript Style Guide' (https://github.com/airbnb/javascript), with few exceptions:

  • Strings are double quoted
  • Additional trailing comma (in arrays and objects declaration) is optional
  • 4 spaces tabs
  • Spaces inside curly braces are optional

We strongly encourage to use eslint to make sure the code adhere to our style guidelines.

localcoin-ui's People

Contributors

abitmore avatar aci-leecooper avatar ahdigital avatar alexchien avatar bitsacer avatar bytemaster avatar c055 avatar calvinfroedge avatar chronoscrypto avatar clayop avatar emfrias avatar gibbsfromncis avatar happyconcepts avatar igorbiliba avatar localcoinis avatar naueh avatar nikitakunevich avatar nikitinag2017 avatar ninetor avatar pnomolos avatar rngl4b avatar ruslansalikhov avatar silencerspirit avatar startailcoon avatar svk31 avatar szechem avatar testzcrypto avatar want2know87 avatar wmbutler avatar xeroc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

localcoin-ui's Issues

All nodes are dead

All nodes are dead.

Steps to reproduce the behavior:

  1. Open wallet
  2. Restore from local backup
  3. Go to Trade
  4. See nothing

Screenshots
image

image

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version 1.0.6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.