Coder Social home page Coder Social logo

gxchain / gxchain-light Goto Github PK

View Code? Open in Web Editor NEW
48.0 11.0 26.0 4.9 MB

GXChain light wallet UI(公信宝轻钱包)

Home Page: https://wallet.gxb.io

License: MIT License

JavaScript 95.07% HTML 0.34% CoffeeScript 0.01% Less 0.01% SCSS 4.58%
gxb blochain wallet light-wallet gxc

gxchain-light's Introduction

GXB-UI 1.0

GXB data exchange wallet client-side, functions including transfer, transaction search, block search, account search, data product search, alliance search, merchant and data source authentication are supported

This project was forked form official light wallet of BitShares2.0 bitshares-ui, trade modules were removed, modification based on the need of GXB data exchange, some extra modules were not removed due to dependent coupling issues, will be solved in the following version。

Install

Required: Node 6+

Operation system: OSX、Ubuntu

Recommend to use NVM(Node Version Manager)for installation:

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

Clone project:

git clone https://github.com/gxchain/gxb-light.git
cd gxb-light

Shift to /web catalog to install dependencies :

cd web
npm install

launch

Develop mode depend on Express and webpack2, after install dependencies, under catalog /web and execute below scripts to start the project:

npm start

open: localhost:8080 or 127.0.0.1:8080 in your browser. Hot reload is supported.

Deploy

Compile static web page by using commands below

npm run build

Results in the catalog /dist , Deploy through nginx、apache or others based on your preference

Packing wallet installation files

Electron is used to packing the wallet, Windows, OSX, Linux ,and Debian are supported.Execute the following scripts for packing:

cd web
npm run electron
cd ../electron ##First time launch need execute install depend npm install

npm run release

Under different environment, packing corresponding installation package, respectively

Development style

  • bug prioritization

Code style

Airbnb JavaScript Style Guide

We highly recommend to use eslint for formating your code

gxchain-light's People

Contributors

dependabot[bot] avatar lanhaoxiang avatar xlogiccc avatar xzshinan avatar yrming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gxchain-light's Issues

support inter_contract_call_operation and trust_node_pledge_withdraw_operation

support the following 3 operation history:

  • inter_contract_call_operation history:
op id: 79
https://testnet.wallet.gxchain.org/#/account/va7/overview/
  • trust_node_pledge_withdraw_operation history:
op id: 77
https://testnet.wallet.gxchain.org/#/account/good1/overview

block: https://testnet.wallet.gxchain.org/#/block/11680482
  • inline_transfer opeation
op id: 78
inline_transfer  block: 11680482
https://testnet.wallet.gxchain.org/#/account/bb11/overview

operations:
https://github.com/gxchain/gxb-core/blob/dev_master/libraries/chain/include/graphene/chain/protocol/operations.hpp#L138

npm install warning

After I executed the “npm install”, I got the warnings as follower. How should I solve it?
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of react@>=16.x.x but none was installed.
npm WARN [email protected] requires a peer of react-responsive-mixin@* but none was installed.
npm WARN [email protected] requires a peer of jquery@>=1.8.0 but none was installed.
npm WARN [email protected] license should be a valid SPDX license expression

Move data market into explore

Since data market was integrated into gxb-box, it's not so important to normal users, so let's move it into a better place.

transfer amount precision problem

Describe the bug
转账时精度存在问题

To Reproduce
Steps to reproduce the behavior:

  1. 进入钱包浏览器 https://wallet.gxb.io/
  2. 发起转账,输入金额9.7,输入钱包解锁密码
  3. 在确认页面看到的金额却是9.69999(与实际不符合

Expected behavior

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: mac
    -执行环境: Browser chrome

Your GXChain Account
my2488

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.