Skip to content
🖥 Lisk graphical user interface for desktop
Branch: development
Clone or download
osvaldovega Merge pull request #1949 from LiskHQ/1845-implement-send-LSK-with-tre…
…zor-model-t

Implement send LSK with Hardware Wallet Trezor Model T - Closes #1845 #1849 #1847
Latest commit 0425e51 Apr 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github templates update Jan 2, 2019
__mocks__ ♻️ add file removed by rebase Aug 21, 2018
app ♻️ Update middleware for hwWallet remove login moddleware and add hwW… Apr 24, 2019
build Remove old assets, after test Mar 6, 2018
config Fix unit test coverage of account middleware Apr 8, 2019
docs 📚 Removed intermediate structure Apr 18, 2019
i18n ♻️ Update ledger and trezor connect and disconnect functions Apr 21, 2019
src ♻️ Update hwWallet middelware file, exclude file from jest/coverage Apr 24, 2019
storybook ♻️ Add storywrapper to storybook to add space around components Apr 3, 2019
test Merge pull request #1880 from LiskHQ/1846-implement-login-trezor-model Apr 18, 2019
.babelrc
.eslintignore
.eslintrc actions.transactions test use jest Feb 11, 2019
.gitignore Merge branch '1830-create-storybook-structure' of github.com:LiskHQ/l… Apr 3, 2019
.npmrc added .npmrc file with save-exact set to true Oct 26, 2017
.nvmrc Bump node version to 8.14.0 Nov 29, 2018
.snyk fix: .snyk & package.json to reduce vulnerabilities Nov 7, 2018
Jenkinsfile
LICENSE Adding LICENSE Mar 29, 2017
README.md 🏠 Change the custom electron app port to url Jan 15, 2019
bump_version.sh 🌱 Check version string format in bump_version script May 3, 2018
jest.config.js ♻️ Update hwWallet middelware file, exclude file from jest/coverage Apr 24, 2019
package.json Merge branch 'development' into 1846-implement-login-trezor-model Apr 18, 2019

README.md

Lisk Hub

Build Status Coverage Status License: GPL v3 Join the chat at https://gitter.im/LiskHQ/lisk Dependencies Status devDependencies Status

For Contributors

Please see CONTRIBUTING.md for more information.

Development

git clone https://github.com/LiskHQ/lisk-hub.git
cd lisk-hub
npm install
npm run dev

Open http://localhost:8080

For ease of development, you can set the following query string to see network options in login page:

http://localhost:8080/#/?showNetwork=true

If you are actively developing in a specific route, and want to be autologged in everytime you reload the page, please add the following to localStorage:

localStorage.setItem('liskCoreUrl', 'http://localhost:4000') // desired node to log in into
localStorage.setItem('loginKey', 'wagon stock borrow episode laundry kitten salute link globe zero feed marble') // desired account passphrase

Build

npm run build

Electron

Start

Start the Electron client. Before staring you need to make sure the application is built. If you need to build the entire application, run

npm run build

as mentioned before. And if you want to solely build electron app, run

npm run build-electron

Then, in order to launch electron, you can run

npm run start

Then, in order to launch version with hardware wallet, you can run

npm run dev-hardware-wallet

In order to launch electron that gets live updates from already running webpack-dev-server on port 8080, you can run

LISK_HUB_URL="http://localhost:8080" npm run start

Windows

Build package for Windows (on Windows in Git BASH).

npm run pack:win

macOS

Build package for macOS (on macOs)

npm run pack 

Linux

Build package for Linux (on Linux).

npm run pack 

Run unit tests

Single run

npm run test

Run each time a file changes

npm run test-live

Run end-to-end tests

In order to run e2e tests you need to install lisk-core

Setup core

Setup a lisk test node as described in https://github.com/LiskHQ/lisk#tests

Run lisk test node with pm2 on localhost:4000

Run

Start the development version of lisk-hub:

npm run dev

Apply blockchain snapshot

./test/e2e-test-setup.sh ~/git/lisk/

(replace ~/git/lisk/ with your path to lisk core)

Run e2e tests

npm run cypress:run

Launch React Storybook

To launch storybook sandbox with components run

npm run storybook

and navigate to

http://localhost:6006/

Contributors

See contributors section.

License

Copyright © 2016-2018 Lisk Foundation

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

You can’t perform that action at this time.